Skip to content
This repository has been archived by the owner on Oct 11, 2023. It is now read-only.

c283bd27 ca3e a8c3 ab6c c385c3f21933

haplokuon edited this page May 6, 2023 · 1 revision

Transform(IEnumerable<Vector3>, Vector3, CoordinateSystem, CoordinateSystem) Method

netDxf 3.0.0 Library

Transforms a point list between coordinate systems.

Definition

Namespace: netDxf
Assembly: netDxf (in netDxf.dll) Version: 3.0.0

C#

public static List<Vector3> Transform(
	IEnumerable<Vector3> points,
	Vector3 zAxis,
	CoordinateSystem from,
	CoordinateSystem to
)

VB

Public Shared Function Transform ( 
	points As IEnumerable(Of Vector3),
	zAxis As Vector3,
	from As CoordinateSystem,
	to As CoordinateSystem
) As List(Of Vector3)

C++

public:
static List<Vector3>^ Transform(
	IEnumerable<Vector3>^ points, 
	Vector3 zAxis, 
	CoordinateSystem from, 
	CoordinateSystem to
)

F#

static member Transform : 
        points : IEnumerable<Vector3> * 
        zAxis : Vector3 * 
        from : CoordinateSystem * 
        to : CoordinateSystem -> List<Vector3> 

Parameters

  IEnumerable(Vector3)
Points to transform.
  Vector3
Object normal vector.
  CoordinateSystem
Points coordinate system.
  CoordinateSystem
Coordinate system of the transformed points.

Return Value

List(Vector3)
Transformed point list.

See Also

Reference

MathHelper Class
Transform Overload
netDxf Namespace

Clone this wiki locally