Click or drag to resize

PolyfaceMeshFace Class

imbVeles Framework: imbSCI | imbACE | imbNLP | imbWEM | imbWBI
Represents a polyface mesh face.
Inheritance Hierarchy
SystemObject
  netDxfDxfObject
    netDxf.EntitiesPolyfaceMeshFace

Namespace:  netDxf.Entities
Assembly:  netDXF.Standard (in netDXF.Standard.dll) Version: 2.1.1
Syntax
C#
public class PolyfaceMeshFace : DxfObject, 
	ICloneable
Request Example View Source

The PolyfaceMeshFace type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyCodeName
Gets the DXF object name.
(Inherited from DxfObject.)
Public propertyHandle
Gets the handle assigned to the DXF object.
(Inherited from DxfObject.)
Public propertyOwner
Gets the owner of the actual DxfObject.
(Inherited from DxfObject.)
Public propertyVertexIndexes
Gets the list of indexes to the vertex list of a polyface mesh that makes up the face.
Top
Methods
  NameDescription
Public methodClone
Creates a new PolyfaceMeshFace that is a copy of the current instance.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Converts the value of this instance to its equivalent string representation.
(Overrides DxfObjectToString.)
Top
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.
See Also