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

Description:

Returns true if the spline is flat and false otherwise.

Arguments:

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

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

Returned value:

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

See also: