Curve

spatialware_type: spatialware_curve

Features with this value represent smoothly curving lines defined by a list of points with optional start-tangent and end-tangent parameters to give more control over the shape of the line. The geometry on these features specify the list of points. Curve features have the following special attributes associated with them.

Attribute Name

Contents

spatialware_rotation

The rotation of the feature.

spatialware_start_tangent

The start-tangent of the curve.

spatialware_end_tangent

The end-tangent of the curve.

spatialware_centroid_x

The feature’s centroid X location.

spatialware_centroid_y

The feature’s centroid Y location.

spatialware_centroid_z

The feature’s centroid Z location.

spatialware_is_closed

YES if the feature is closed; otherwise NO.

spatialware_curve_type

A curve can be one of the four possible types as listed below. Corresponding values for each possible type are:

1 – ST_PolylineType

2 – ST_CircularArcType

3 – ST_PiecewiseBezierType

4 – HG_CurveType

spatialware_curve_direction

Direction of the curve. Corresponding values for each possible type are:

0 – reversed

1 – forward

2 – none

spatialware_curve_tangent.
tangent_type

Curve tangent type. Corresponding values for each possible type are:

0 – HG_TangentNone

1 – HG_TangentStart

2 – HG_TangentEnd

3 – HG_TangentStartEnd

spatialware_curve_tangent.
start.x

spatialware_curve_tangent.
start.y

spatialware_curve_tangent.
start.z

Coordinate of start tangent

spatialware_curve_tangent.
end.x

spatialware_curve_tangent.
end.y

spatialware_curve_tangent.
end.z

Coordinate of end tangent

Features of this type are only used by the writer for reasons of convenience. When read, they come out as stroked linear features tagged with spatialware_type of spatialware_line.