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

1b17f719 4ccf 3306 3ed8 5d501948e004

haplokuon edited this page May 6, 2023 · 1 revision

Mesh(IEnumerable<Vector3>, IEnumerable<Int32[]>, IEnumerable<MeshEdge>) Constructor

netDxf 3.0.0 Library

Initializes a new instance of the Mesh class.

Definition

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

C#

public Mesh(
	IEnumerable<Vector3> vertexes,
	IEnumerable<int[]> faces,
	IEnumerable<MeshEdge> edges
)

VB

Public Sub New ( 
	vertexes As IEnumerable(Of Vector3),
	faces As IEnumerable(Of Integer()),
	edges As IEnumerable(Of MeshEdge)
)

C++

public:
Mesh(
	IEnumerable<Vector3>^ vertexes, 
	IEnumerable<array<int>^>^ faces, 
	IEnumerable<MeshEdge^>^ edges
)

F#

new : 
        vertexes : IEnumerable<Vector3> * 
        faces : IEnumerable<int[]> * 
        edges : IEnumerable<MeshEdge> -> Mesh

Parameters

  IEnumerable(Vector3)
Mesh vertex list.
  IEnumerable(Int32[])
Mesh faces list.
  IEnumerable(MeshEdge)
Mesh edges list, this parameter is only really useful when it is required to assign creases values to edges.

See Also

Reference

Mesh Class
Mesh Overload
netDxf.Entities Namespace

Clone this wiki locally