GetCoordinates Method (IMathVector)

GetCoordinates Method (IMathVector) | Send Feedback
See Also Example

X[out]
  x coordinate

Y[out]
  y coordinate

Z[out]
  z coordinate

Gets the x, y, and z coordinates of this vector.

# Syntax

Visual Basic |
--- | ---
    Sub GetCoordinates( _
       ByRef X As System.Double, _
       ByRef Y As System.Double, _
       ByRef Z As System.Double _
    )

C# |
--- | ---
    void GetCoordinates(
       out System.double X,
       out System.double Y,
       out System.double Z
    )

JavaScript |
--- | ---
    GetCoordinates(
    ) : {
       X : Number,
       Y : Number,
       Z : Number
    }

COM native C++ |
--- | ---
    HRESULT GetCoordinates(
       DOUBLE* X,
       DOUBLE* Y,
       DOUBLE* Z
    )

C++ |
--- | ---
    DSRESULT GetCoordinates(
       double* X,
       double* Y,
       double* Z
    )

#### Parameters

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

# Example

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)

# See Also

####

IMathVector Interface
IMathVector Members
IMathVector::SetCoordinates Method

# Availability

DraftSight V1R1.4