bool sgCContour::IsPlane(SG_VECTOR* planeNorm, double* planeD) const

Description:

Returns true if the contour is flat and false otherwise.

Arguments:

planeNorm - if not NULL and the contour is flat, has the value of the normal to the contour plane, ignored otherwise.

planeD - if not NULL and the contour is flat, has the value of the free coefficient in the plane equation, ignored otherwise.

Returned value:

Returns true if the contour is flat and false otherwise. The arguments have the values of the normal to the contour plane and of the free coefficient in the plane equation (if the arguments are not NULL).