Share

acgiIsValidClipBoundary

C++

bool acgiIsValidClipBoundary(
    const AcGePoint2dArray& pts
);

File

acgi.h

Description

This function checks to see if the clip boundary described by pts is degenerate. A valid boundary requires atleast three points. This function does not test for the valid number of points. It checks to see that the boundary is not self-intersecting or collinear.

Returns true if the boundary represented by pts is valid, otherwise returns false.

Parameters

Parameters Description
pts Input boundary to test

Was this information helpful?