Share

acgiIsValidClipBoundary

C++

bool acgiIsValidClipBoundary(
    const AcGePoint2dArray& pts
);

File

acgi.h

Description

Checks to see if the clip boundary described by pts is degenerate. A valid boundary requires at least 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.

Parameters

Parameters Description
pts Input boundary to test

Returns

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

Was this information helpful?