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

3bc86340 4520 2130 5b27 9de132298a53

haplokuon edited this page May 6, 2023 · 1 revision

PolyfaceMeshFace Class

netDxf 3.0.0 Library

Represents a polyface mesh face.

Definition

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

C#

public class PolyfaceMeshFace : ICloneable

VB

Public Class PolyfaceMeshFace
	Implements ICloneable

C++

public ref class PolyfaceMeshFace : ICloneable

F#

type PolyfaceMeshFace = 
    class
        interface ICloneable
    end
Inheritance Object → PolyfaceMeshFace
Implements ICloneable

Remarks

The way the vertex indexes for a polyface mesh are defined follows the DXF documentation. The values of the vertex indexes specify one of the previously defined vertexes by the index in the list plus one. If the index is negative, the edge that begins with that vertex is invisible. For example if the vertex index in the list is 0 the vertex index for the face will be 1, and if the edge between the vertexes 0 and 1 is hidden the vertex index for the face will be -1.
The maximum number of vertexes per face is 4.

Constructors

PolyfaceMeshFace() Initializes a new instance of the PolyfaceMeshFace class.
PolyfaceMeshFace(IEnumerable(Int16)) Initializes a new instance of the PolyfaceMeshFace class.

Properties

Color Gets or sets the face color. Set to null to inherit from its parent polyface mesh.
Layer Gets or sets the face layer. Set to null to inherit from its parent polyface mesh.
VertexIndexes Gets the list of indexes to the vertex list of a polyface mesh that makes up the face.

Methods

Clone Creates a new PolyfaceMeshFace that is a copy of the current instance.
Equals Determines whether the specified object is equal to the current object.
(Inherited from Object)
GetHashCode Serves as the default hash function.
(Inherited from Object)
GetType Gets the Type of the current instance.
(Inherited from Object)
ToString Converts the value of this instance to its equivalent string representation.
(Overrides Object.ToString())

Events

LayerChanged  

See Also

Reference

netDxf.Entities Namespace

Clone this wiki locally