MathHelperTransform Method (Vector2, Double, CoordinateSystem, CoordinateSystem)
|
Transforms a point between coordinate systems.
Namespace:
DXFReaderNET
Assembly:
DXFReaderNET (in DXFReaderNET.dll) Version: 20.10.54
Syntax public static Vector2 Transform(
Vector2 point,
double rotation,
CoordinateSystem from,
CoordinateSystem to
)
Public Shared Function Transform (
point As Vector2,
rotation As Double,
from As CoordinateSystem,
to As CoordinateSystem
) As Vector2
public:
static Vector2 Transform(
Vector2 point,
double rotation,
CoordinateSystem from,
CoordinateSystem to
)
static member Transform :
point : Vector2 *
rotation : float *
from : CoordinateSystem *
to : CoordinateSystem -> Vector2
STATIC METHOD Transform(
point AS Vector2,
rotation AS REAL8,
from AS CoordinateSystem,
to AS CoordinateSystem
) AS Vector2
Parameters
- point
- Type: DXFReaderNETVector2
Point to transform. - rotation
- Type: SystemDouble
Rotation angle in radians. - from
- Type: DXFReaderNETCoordinateSystem
Point coordinate system. - to
- Type: DXFReaderNETCoordinateSystem
Coordinate system of the transformed point.
Return Value
Type:
Vector2Transformed point.
See Also