GetClosestPointTo Method (IMathLine)

GetClosestPointTo Method (IMathLine) | Send Feedback
See Also

ClosestPoint[out]
  Point on the mathematical line that is closest to the specified Point

Point[out]
  Point

Gets the point on the mathematical line that is closest to the specified point.

# Syntax

Visual Basic |
--- | ---
    Function GetClosestPointTo( _
       ByVal Point As MathPoint _
    ) As MathPoint

C# |
--- | ---
    MathPoint GetClosestPointTo(
       MathPoint Point
    )

JavaScript |
--- | ---
    GetClosestPointTo(
       Point : dsMathPoint
    ) : Number

COM native C++ |
--- | ---
    HRESULT GetClosestPointTo(
       IMathPoint* Point,
       IMathPoint** ClosestPoint
    )

C++ |
--- | ---
    DSRESULT GetClosestPointTo(
       dsMathPoint* Point,
       dsMathPoint** ClosestPoint
    )

#### Parameters

Point[out]
  Point
ClosestPoint[out] or Return Value
  Point on the mathematical line that is closest to the specified Point

# See Also

####

IMathLine Interface
IMathLine Members
IMathLine::GetClosestPointToCircArc Method ()
IMathLine::GetClosestPointToEllipArc Method ()
IMathLine::GetClosestPointToLinearObject Method ()
IMathLine::EndPoint Property ()
IMathLine::StartPoint Property ()

# Availability

DraftSight V1R5.0