C++
GE_DLLEXPIMPORT Adesk::Boolean getNormalPoint( const AcGePoint3d& pnt, AcGePointOnCurve3d& pntOnCrv, const AcGeTol& tol = AcGeContext::gTol ) const;
Description
Finds the point on the input curve whose normal passes through the input point. The returned point lies on a plane that also contains the input point and is perpendicular to the curve tangent at that point. The returned point is therefore at a local minimum or a local maximum from the input point.
The curve does not need to be planar. If the curve is planar, the input point does not need to lie in the plane of the curve.
On input, the second parameter is assumed to contain the parameter value of an initial guess. If there is more than one normal point on the curve, the returned point will be the one whose parameter value is closest to the input parameter value.
Parameters
Parameters | Description |
---|---|
pnt | Input any 3D point |
pntOnCrv | Output point on this curve whose normal passes through the input point |
tol | Input tolerance |