Share

DocumentUnitsMatrix2d.SetToAlignCoordinateSystems Method

Sets this matrix to be the matrix that maps from the 'from' coordinate system to the 'to' coordinate system.

Namespace:  Autodesk.iLogic.Types
Assembly:  Autodesk.iLogic.Types (in Autodesk.iLogic.Types.dll) Version: 29.0

Syntax

VB

Public Sub SetToAlignCoordinateSystems ( 
	fromOrigin As DocumentUnitsPoint2d,
	fromXAxis As DocumentUnitsVector2d,
	fromYAxis As DocumentUnitsVector2d,
	toOrigin As DocumentUnitsPoint2d,
	toXAxis As DocumentUnitsVector2d,
	toYAxis As DocumentUnitsVector2d
)

C#

public void SetToAlignCoordinateSystems(
	DocumentUnitsPoint2d fromOrigin,
	DocumentUnitsVector2d fromXAxis,
	DocumentUnitsVector2d fromYAxis,
	DocumentUnitsPoint2d toOrigin,
	DocumentUnitsVector2d toXAxis,
	DocumentUnitsVector2d toYAxis
)

Parameters

fromOrigin
Type: Autodesk.iLogic.Types.DocumentUnitsPoint2d
Input Point object that defines the origin to map the coordinate system from.
fromXAxis
Type: Autodesk.iLogic.Types.DocumentUnitsVector2d
Input Vector object that defines the X-axis to map the coordinate system from.
fromYAxis
Type: Autodesk.iLogic.Types.DocumentUnitsVector2d
Input Vector object that defines the Y-axis to map the coordinate system from.
toOrigin
Type: Autodesk.iLogic.Types.DocumentUnitsPoint2d
Input Point object that defines the origin to map the coordinate system to.
toXAxis
Type: Autodesk.iLogic.Types.DocumentUnitsVector2d
Input Vector object that defines the X-axis to map the coordinate system to.
toYAxis
Type: Autodesk.iLogic.Types.DocumentUnitsVector2d
Input Vector object that defines the Y-axis to map the coordinate system to.

See Also

Reference

Was this information helpful?