SE_ptable_delete_point

Deletes one or more points from the point table

Usage syntax

LONG SE_ptable_delete_point (SE_PTABLE ptable, SE_POINT *pt, LFLOAT *z, LONG count, ULONG mask);

Parameters
ptable The handle to a point table
pt The pointer to an array of one or more SE_POINT structures
z The pointer to an array of z-values associated with the two-dimensional SE_POINT array; this is a null pointer, or a 0 filled array for 2-D points
count The number of points in the point array and z-array
mask The type mask for the points to delete
Description

The SE_ptable_delete_point function finds all the supplied 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 that of 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