Go to the source code of this file.
Converts from an SUDrawingElementRef to an SUPolyline3dRef. This is essentially a downcast operation so the given element must be convertible to an SUPolyline3dRef.
- Parameters
-
[in] | drawing_elem | The drawing element object. |
- Returns
- The converted SUPolyline3dRef if the downcast operation succeeds. If not, the returned reference will be invalid.
Converts from an SUEntityRef to an SUPolyline3dRef. This is essentially a downcast operation so the given entity must be convertible to an SUPolyline3dRef.
- Parameters
-
[in] | entity | The given entity reference. |
- Returns
- The converted SUPolyline3dRef if the downcast operation succeeds. If not, the returned reference will be invalid.
SU_RESULT SUPolyline3dGetNumPoints |
( |
SUPolyline3dRef |
line, |
|
|
size_t * |
count |
|
) |
| |
Retrieves the number of points contained by a polyline3d.
- Parameters
-
[in] | line | The polyline3d object. |
[out] | count | The number of points available. |
- Returns
-
Retrieves the points in the polyline3d object.
- Parameters
-
[in] | line | The polyline3d object. |
[in] | len | The maximum number of points to retrieve. |
[out] | points | The points retrieved. |
[out] | count | The number of points retrieved. |
- Returns
-
Converts from an SUPolyline3dRef to an SUDrawingElementRef. This is essentially an upcast operation.
- Parameters
-
[in] | line | The polyline3d object. |
- Returns
- The converted SUEntityRef if line is a valid object. If not, the returned reference will be invalid.
Converts from an SUPolyline3dRef to an SUEntityRef. This is essentially an upcast operation.
- Parameters
-
[in] | line | The polyline3d object. |
- Returns
- The converted SUEntityRef if line is a valid object. If not, the returned reference will be invalid.