Visual Basic | |
---|---|
Function Distance( _ ByVal Object1 As System.Object, _ ByVal Object2 As System.Object, _ ByRef Point1 As MathPoint, _ ByRef Point2 As MathPoint _ ) As System.Double |
C# | |
---|---|
System.double Distance( System.object Object1, System.object Object2, out MathPoint Point1, out MathPoint Point2 ) |
JavaScript | |
---|---|
Distance( Object1 : Object, Object2 : Object ) : { Point1 : dsMathPoint, Point2 : dsMathPoint, Result : Number } |
COM native C++ | |
---|---|
HRESULT Distance( IDispatch* Object1, IDispatch* Object2, IMathPoint** Point1, IMathPoint** Point2, DOUBLE* Result ) |
C++ | |
---|---|
DSRESULT Distance( dsObject* Object1, dsObject* Object2, dsMathPoint** Point1, dsMathPoint** Point2, double* Result ) |
Parameters
- Object1
- Math object (see Remarks)
- Object2
- Math object (see Remarks)
- Point1[out]
- IMathPoint on Object1 used to measure the distance
- Point2[out]
- IMathPoint on Object2 used to measure the distance
- Result[out] or Return Value
- Distance between the specified objects
Get Distance Between Two Math Points (C#)
Get Distance Between Two Math Points (VB.NET)
Get Distance Between Two Math Points (JavaScript)
Get Distance Between Two Math Points (VBA)
Get Distance Between Two Math Points (VB.NET)
Get Distance Between Two Math Points (JavaScript)
Get Distance Between Two Math Points (VBA)
The possible Object1-Object2 distance types:
- IMathPoint - IMathPoint
- IMathLine - IMathPoint
- IMathLine - IMathLine
- IMathLine - IMathCircArc
- IMathLine - IMathEllipArc
- IMathCircArc - IMathPoint
- IMathCircArc - IMathLine
- IMathCircArc - IMathCircArc
- IMathCircArc - IMathEllipArc
- IMathEllipArc - IMathPoint
- IMathEllipArc - IMathLine
- IMathEllipArc - IMathCircArc
- IMathEllipArc - IMathEllipArc
- IMathPlane - IMathPoint
DraftSight V1R1.4