Click or drag to resize

MathHelperTransform Method (IEnumerableVector2, Double, CoordinateSystem, CoordinateSystem)

Transforms a point list between coordinate systems.

Namespace:  DXFReaderNET
Assembly:  DXFReaderNET (in DXFReaderNET.dll) Version: 20.10.54
Syntax
public static IList<Vector2> Transform(
	IEnumerable<Vector2> points,
	double rotation,
	CoordinateSystem from,
	CoordinateSystem to
)

Parameters

points
Type: System.Collections.GenericIEnumerableVector2
Point list 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: IListVector2
Transformed point list.
See Also