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
)
Public Shared Function Transform (
points As IEnumerable(Of Vector2),
rotation As Double,
from As CoordinateSystem,
to As CoordinateSystem
) As IList(Of Vector2)
public:
static IList<Vector2>^ Transform(
IEnumerable<Vector2>^ points,
double rotation,
CoordinateSystem from,
CoordinateSystem to
)
static member Transform :
points : IEnumerable<Vector2> *
rotation : float *
from : CoordinateSystem *
to : CoordinateSystem -> IList<Vector2>
STATIC METHOD Transform(
points AS IEnumerable<Vector2>,
rotation AS REAL8,
from AS CoordinateSystem,
to AS CoordinateSystem
) AS IList<Vector2>
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:
IListVector2Transformed point list.
See Also