SE_shape_filter_coordinates

Applies a Douglas–Poiker line generalization to a shape.

Usage syntax

LONG SE_shape_filter_coordinates (const SE_SHAPE src_shape, LFLOAT distance, SE_SHAPE tgt_shape);

Parameters
src_shape A handle to an active shape object
distance Points within this distance are removed from the source shape
tgt_shape A handle to an active shape object, returned as the result of filtering the src_shape object using the specified distance
Description

Applies a Douglas–Poiker line generalization to the supplied shape src_shape.

Returns

SE_SUCCESS
SE_FAILURE

SE_INVALID_ENTITY_TYPE

SE_INVALID_POINTER

SE_INVALID_SHAPE

SE_INVALID_SHAPE_OBJECT

SE_OUT_OF_CLMEM

SE_READ_ONLY_SHAPE

Notes

•  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.

•  Ignores any CAD data in the source shape and removes any CAD data in the target shape.