SE_shape_delete_point

Deletes all occurrences of the specified point in the shape.

Usage syntax

LONG SE_shape_delete_point (SE_SHAPE shape, SE_SDEPOINT *pt);

Parameters
shape A handle to an active shape object
pt Address of an SE_SDEPOINT structure containing the coordinate values of the point to remove
Description

SE_shape_delete_point deletes all occurrences of the specified point from the source shape. If removing the points creates an invalid shape, SE_SHAPE_INTEGRITY_ERROR is returned.

The z- and m-values of the SE_SDEPOINT structures are ignored unless the input shape has a z array and/or a measures array.

Returns

SE_SUCCESS
SE_CAD_EXISTS

SE_COORD_OUT_OF_BOUNDS

SE_FAILURE

SE_INVALID_POINTER

SE_INVALID_SHAPE_OBJECT

SE_OUT_OF_CLMEM

SE_PT_NO_EXIST

SE_READ_ONLY_SHAPE

SE_SHAPE_INTEGRITY_ERROR

Notes

•  If this function fails, the original shape is unchanged.

•  If you pass a shape returned from SE_stable_search or SE_stable_get_shape to ‘shape’, the SE_READ_ONLY_SHAPE error is returned. See ‘Shape table functions’ for more information.

•  If the source shape has a CAD entity, the SE_CAD_EXISTS error is returned.