GetClosestPointToLinearObject Method (IMathEllipArc)

GetClosestPointToLinearObject Method (IMathEllipArc) | Send Feedback
See Also

ClosestPoint[out]
  Point on this mathematical elliptical Arc that is closest to LinearObject

LinearObject[out]
  Linear object

PointOnLinearObject[out]
  Point on LinearObject that is closest to this mathematical elliptical Arc

Gets the point on this mathematical elliptical Arc that is closest to the specified linear object, and gets the point on the specified linear object that is closest to this mathematical elliptical Arc.

# Syntax

Visual Basic |
--- | ---
    Function GetClosestPointToLinearObject( _
       ByVal LinearObject As MathLine, _
       ByRef PointOnLinearObject As MathPoint _
    ) As MathPoint

C# |
--- | ---
    MathPoint GetClosestPointToLinearObject(
       MathLine LinearObject,
       out MathPoint PointOnLinearObject
    )

JavaScript |
--- | ---
    GetClosestPointToLinearObject(
       LinearObject : dsMathLine
    ) : {
       PointOnLinearObject : dsMathPoint,
       ClosestPoint : Number
    }

COM native C++ |
--- | ---
    HRESULT GetClosestPointToLinearObject(
       IMathLine* LinearObject,
       IMathPoint** PointOnLinearObject,
       IMathPoint** ClosestPoint
    )

C++ |
--- | ---
    DSRESULT GetClosestPointToLinearObject(
       dsMathLine* LinearObject,
       dsMathPoint** PointOnLinearObject,
       dsMathPoint** ClosestPoint
    )

#### Parameters

LinearObject[out]
  Linear object
PointOnLinearObject[out]
  Point on LinearObject that is closest to this mathematical elliptical Arc
ClosestPoint[out] or Return Value
  Point on this mathematical elliptical Arc that is closest to LinearObject

# See Also

####

IMathEllipArc Interface
IMathEllipArc Members
IMathEllipArc::GetClosestPointTo Method ()
IMathEllipArc::GetClosestPointToCircArc Method ()
IMathEllipArc::GetClosestPointToEllipArc Method ()
IMathEllipArc::GetClosestPointToPlane Method ()
IMathEllipArc::GetEndPoint Method ()
IMathEllipArc::GetStartPoint Method ()
IMathEllipArc::Center Property ()

# Availability

DraftSight V1R5.0