SE_shape_as_point |
Returns a shape of type point, given a shape of any type.
LONG SE_shape_as_point (const SE_SHAPE src_shape, SE_SHAPE tgt_shape);
src_shape | A handle to an active shape object to convert to a multipoint shape |
tgt_shape | A handle to an active multipoint shape |
Given a shape of any type, returns it as a shape of type point. If the resulting shape fails any of the verification rules for requested shape type, an error is returned and the tgt_shape is a nil shape.
SE_SUCCESS
SE_INVALID_SHAPE
SE_INVALID_SHAPE_OBJECT
SE_OUT_OF_CLMEM
SE_READ_ONLY_SHAPE
• If you pass a shape returned from SE_stable_search or SE_stable_get_shape to ‘tgt_shape’, the SE_READ_ONLY_SHAPE error is returned. See ‘Shape table functions’ for more information.
• Ignores any CAD data in the source shape, and removes any CAD data in the target shape.