CreatePoint Method (IMathUtility)

CreatePoint Method (IMathUtility) | Send Feedback
See Also Example

MathPoint[out]
  IMathPoint

X
  x coordinate

Y
  y coordinate

Z
  z coordinate

Creates a mathematical point using the specified coordinates.

# Syntax

Visual Basic |
--- | ---
    Function CreatePoint( _
       ByVal X As System.Double, _
       ByVal Y As System.Double, _
       ByVal Z As System.Double _
    ) As MathPoint

C# |
--- | ---
    MathPoint CreatePoint(
       System.double X,
       System.double Y,
       System.double Z
    )

JavaScript |
--- | ---
    CreatePoint(
       X : Number,
       Y : Number,
       Z : Number
    ) : Number

COM native C++ |
--- | ---
    HRESULT CreatePoint(
       DOUBLE X,
       DOUBLE Y,
       DOUBLE Z,
       IMathPoint** MathPoint
    )

C++ |
--- | ---
    DSRESULT CreatePoint(
       double X,
       double Y,
       double Z,
       dsMathPoint** MathPoint
    )

#### Parameters

X
  x coordinate
Y
  y coordinate
Z
  z coordinate
MathPoint[out] or Return Value
  IMathPoint

# Example

Get Distance Between Two Math Points (VB.NET)
Get Distance Between Two Math Points (C#)
Get Distance Between Two Math Points (JavaScript)
Rotate, Scale, Project, and Mirror a Line Entity (JavaScript)
Rotate, Scale, Project, and Mirror a Line Entity (VB.NET)
Rotate, Scale, Project, and Mirror a Line Entity (C#)
Rotate, Scale, Project, and Mirror a Line Entity (VBA)
Get Distance Between Two Math Points (VBA)

# See Also

####

IMathUtility Interface
IMathUtility Members

# Availability

DraftSight V1R1.4