Share

getProjClosestPointTo Method

Overload List

Method Description
AcGeCurve3d::getProjClosestPointTo (AcGeCurve3d&, AcGeVector3d&, AcGePointOnCurve3d&, AcGePointOnCurve3d&, AcGeTol&) Finds the points on the two curves which when projected onto a plane whose normal is projectDirection are the closest points on the projected curves. This function is mainly used by graphics where projectDirection is the line of sight. In this case, this function returns the points on the two curves that appear to be the closest points between the two curves (but may not be the actual closest points). This function is the same as projClosestPointTo(const AcGeCurve3d&, ...) but returns the closest points as AcGePointOnCurve3d objects instead of AcGePoint3d objects.
AcGeCurve3d::getProjClosestPointTo (AcGePoint3d&, AcGeVector3d&, AcGePointOnCurve3d&, AcGeTol&) Finds the point on the curve which when projected onto a plane whose normal is projectDirection is the closest point on the projected curve to the input point. This function is mainly used by graphics where projectDirection is the line of sight. In this case, this function returns the point on the curve that appears to be closest to the input point (but may not be the actual closest point). This function is the same as projClosestPointTo(const AcGePoint3d&, ...) but returns the closest point as a AcGePointOnCurve3d object instead of a AcGePoint3d object.

Was this information helpful?