Click or drag to resize

MathHelperTransform Method (Vector2, Double, CoordinateSystem, CoordinateSystem)

imbVeles Framework: imbSCI | imbACE | imbNLP | imbWEM | imbWBI
Transforms a point between coordinate systems.

Namespace:  netDxf
Assembly:  netDXF.Standard (in netDXF.Standard.dll) Version: 2.1.1
Syntax
C#
public static Vector2 Transform(
	Vector2 point,
	double rotation,
	CoordinateSystem from,
	CoordinateSystem to
)
Request Example View Source

Parameters

point
Type: netDxfVector2
Point to transform.
rotation
Type: SystemDouble
Rotation angle in radians.
from
Type: netDxfCoordinateSystem
Point coordinate system.
to
Type: netDxfCoordinateSystem
Coordinate system of the transformed point.

Return Value

Type: Vector2
Transformed point.
See Also