SE_ptable_delete_shape

Deletes the points in a shape from the point table

Usage syntax

LONG SE_ptable_delete_shape (SE_PTABLE ptable, const SE_SHAPE shape, ULONG mask);

Parameters
ptable The handle to a point table
shape The pointer to an SE_SHAPE structure
mask The type mask for the points to delete
Description

The SE_ptable_delete_shape function finds all the shape’s points in the point table, and deletes them based on the evaluation of the mask.

This function evaluates the mask by performing a logical NOT OR operation on the candidate point mask and supplied mask for each point to delete. If the resulting point mask is zero, the point is deleted from the table; otherwise, it remains in the table with the selected mask bits turned off, indicating that its type is not the same as the supplied mask.

Note: If all the bits in the supplied mask are turned on, the points are deleted from the table, regardless of type.

Returns

SE_SUCCESS
SE_FAILURE

SE_INVALID_POINTER