Click or drag to resize

MathHelperTransform Method (IEnumerableVector2, Double, CoordinateSystem, CoordinateSystem)

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

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

Parameters

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