Share

projClosestPointTo Method

Overload List

Method Description
AcGeCurve3d::projClosestPointTo (AcGeCurve3d&, AcGeVector3d&, AcGePoint3d&, 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. The return value of this function is the closest point on this curve and the closest point on the input curve is returned in the pntOnOtherCrv parameter. 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).
AcGeCurve3d::projClosestPointTo (AcGePoint3d&, AcGeVector3d&, AcGeTol&) Returns 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).

Was this information helpful?