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

d0105937 59af 42cc 157a 48b8bbe5b64b

haplokuon edited this page May 6, 2023 · 1 revision

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

netDxf 3.0.0 Library

Transform a 3d point list from world coordinates to object coordinates.

Definition

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

C#

public static List<Vector2> Transform(
	IEnumerable<Vector3> points,
	Vector3 zAxis,
	out double elevation
)

VB

Public Shared Function Transform ( 
	points As IEnumerable(Of Vector3),
	zAxis As Vector3,
	<OutAttribute> ByRef elevation As Double
) As List(Of Vector2)

C++

public:
static List<Vector2>^ Transform(
	IEnumerable<Vector3>^ points, 
	Vector3 zAxis, 
	[OutAttribute] double% elevation
)

F#

static member Transform : 
        points : IEnumerable<Vector3> * 
        zAxis : Vector3 * 
        elevation : float byref -> List<Vector2> 

Parameters

  IEnumerable(Vector3)
Points to transform.
  Vector3
Object normal vector.
  Double
Average Z axis value of the transformed points.

Return Value

List(Vector2)
Transformed points.

See Also

Reference

MathHelper Class
Transform Overload
netDxf Namespace

Clone this wiki locally