MiscFunctions..::..Get2DProjectionPoints Method (IList<(Of <(<'Vertex>)>)>, array<Double>[]()[][], array<Double,2>[,](,)[,][,]%, Boolean)

Returns the positions (array of 3D arrays) of the vertices as that they would be represented in the x-y plane (although the z-values will be non-zero). This does not destructively alter the vertices.

Namespace:  TVGL
Assembly:  TessellationAndVoxelizationGeometryLibraryUniversal (in TessellationAndVoxelizationGeometryLibraryUniversal.dll)

Syntax


public static Point[] Get2DProjectionPoints(
	IList<Vertex> vertices,
	double[] direction,
	out double[,] backTransform,
	bool mergeDuplicateReferences
)
Public Shared Function Get2DProjectionPoints ( _
	vertices As IList(Of Vertex), _
	direction As Double(), _
	<OutAttribute> ByRef backTransform As Double(,), _
	mergeDuplicateReferences As Boolean _
) As Point()
public:
static array<Point^>^ Get2DProjectionPoints(
	IList<Vertex^>^ vertices, 
	array<double^>^ direction, 
	[OutAttribute] array<double^,2>^% backTransform, 
	bool^ mergeDuplicateReferences
)

Parameters

vertices
Type: IList<(Of <(<'Vertex>)>)>
The vertices.
direction
Type: array<Double>[]()[][]
The direction.
backTransform
Type: array<Double,2>[,](,)[,][,]%
The back transform.
mergeDuplicateReferences
Type: Boolean
The merge duplicate references.

Return Value

Point2D[].