AlignActiveCustomCoordinateSystemXYPlane Method (ICustomCoordinateSystemManager)

AlignActiveCustomCoordinateSystemXYPlane Method (ICustomCoordinateSystemManager) | Send Feedback
See Also

Origin
  Custom coordinate system's origin

XAxisThroughPoint
  Direction point for the x axis of the coordinate system (see Remarks)

XYPlaneThroughPoint
  Point to describe the xy plane of the coordinate system (see Remarks)

Aligns the active coordinate system's xy plane in the specified direction with the specified origin.

# Syntax

Visual Basic |
--- | ---
    Sub AlignActiveCustomCoordinateSystemXYPlane( _
       ByVal Origin As MathPoint, _
       ByVal XAxisThroughPoint As MathPoint, _
       ByVal XYPlaneThroughPoint As MathPoint _
    )

C# |
--- | ---
    void AlignActiveCustomCoordinateSystemXYPlane(
       MathPoint Origin,
       MathPoint XAxisThroughPoint,
       MathPoint XYPlaneThroughPoint
    )

JavaScript |
--- | ---
    AlignActiveCustomCoordinateSystemXYPlane(
       Origin : dsMathPoint,
       XAxisThroughPoint : dsMathPoint,
       XYPlaneThroughPoint : dsMathPoint
    )

COM native C++ |
--- | ---
    HRESULT AlignActiveCustomCoordinateSystemXYPlane(
       IMathPoint* Origin,
       IMathPoint* XAxisThroughPoint,
       IMathPoint* XYPlaneThroughPoint
    )

C++ |
--- | ---
    DSRESULT AlignActiveCustomCoordinateSystemXYPlane(
       dsMathPoint* Origin,
       dsMathPoint* XAxisThroughPoint,
       dsMathPoint* XYPlaneThroughPoint
    )

#### Parameters

Origin
  Custom coordinate system's origin
XAxisThroughPoint
  Direction point for the x axis of the coordinate system (see Remarks)
XYPlaneThroughPoint
  Point to describe the xy plane of the coordinate system (see Remarks)

# Remarks

The point specified for XYPlaneThroughPoint specifies which plane the y axis is in and the direction of the y axis orthogonal to XAxisThroughPoint, resulting in a vector that is orthogonal to the x and y axes.

There are two possible orthogonal vectors for the z axis, depending on the direction of the y axis. Both vectors have the same XAxisThroughPoint; however, both the y and z axis are in different directions, depending on XYPlaneThroughPoint.

# See Also

####

ICustomCoordinateSystemManager Interface
ICustomCoordinateSystemManager Members
ICustomCoordinateSystemManager::AlignActiveCustomCoordinateSystemByEntity Method ()
ICustomCoordinateSystemManager::AlignActiveCustomCoordinateSystemByView Method ()
ICustomCoordinateSystemManager::AlignActiveCustomCoordinateSystemZAxis Method ()

# Availability

DraftSight V1R5.0