This repository has been archived by the owner on Oct 11, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 409
6e5ca892 c02b e485 2603 0185d18f9818
haplokuon edited this page May 6, 2023
·
1 revision
netDxf 3.0.0 Library
Transforms a point list between coordinate systems.
Namespace: netDxf
Assembly: netDxf (in netDxf.dll) Version: 3.0.0
C#
public static List<Vector2> Transform(
IEnumerable<Vector2> points,
double rotation,
CoordinateSystem from,
CoordinateSystem to
)
VB
Public Shared Function Transform (
points As IEnumerable(Of Vector2),
rotation As Double,
from As CoordinateSystem,
to As CoordinateSystem
) As List(Of Vector2)
C++
public:
static List<Vector2>^ Transform(
IEnumerable<Vector2>^ points,
double rotation,
CoordinateSystem from,
CoordinateSystem to
)
F#
static member Transform :
points : IEnumerable<Vector2> *
rotation : float *
from : CoordinateSystem *
to : CoordinateSystem -> List<Vector2>
- IEnumerable(Vector2)
- Point list to transform.
- Double
- Rotation angle in radians.
- CoordinateSystem
- Point coordinate system.
- CoordinateSystem
- Coordinate system of the transformed point.
List(Vector2)
Transformed point list.