Click or drag to resize

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
)

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: Vector2
Transformed point.
See Also