Table of Contents

Class DxfFaceRecord

Namespace
GeometryHelper.Dxf
Assembly
GeometryHelper.dll

A VERTEX of a DxfPolyFaceMesh that is a face of it (flag 128 of its group 70 alone), as AutoCAD's FaceRecord: the numbers of its three or four corners among the mesh's points, from 1, in groups 71 to 74.

public sealed class DxfFaceRecord : DxfVertex
Inheritance
DxfFaceRecord
Inherited Members

Remarks

A corner's number is negative where the edge that starts at it is hidden: the face 1, 2, -3, 4 hides its edge from the third corner to the fourth. A number of nought is no corner, as the fourth of a triangle. new DxfFaceRecord(1, 2, 3, 0) makes a triangle in code, to be added to a mesh by AppendFaceRecord(DxfFaceRecord).

Constructors

DxfFaceRecord()

Initializes a face of no corners, as AutoCAD's new FaceRecord(), in no mesh.

DxfFaceRecord(short, short, short, short)

Initializes a face of the points of its numbers, as AutoCAD's new FaceRecord(vtx0, vtx1, vtx2, vtx3), in no mesh until it is appended to one.

Methods

GetVertexAt(short)

Gets the number of a corner among the mesh's points (group 71 + index), from 1, as AutoCAD's GetVertexAt: its size, whether its edge is drawn or not; nought where the face has no such corner.

IsEdgeVisibleAt(short)

Gets whether the edge that starts at a corner is drawn, as AutoCAD's IsEdgeVisibleAt: its number is not below nought.

MakeEdgeInvisibleAt(short)

Hides the edge that starts at a corner, as AutoCAD's MakeEdgeInvisibleAt: its number made below nought.

MakeEdgeVisibleAt(short)

Draws the edge that starts at a corner, as AutoCAD's MakeEdgeVisibleAt: its number made above nought.

SetVertexAt(short, short)

Sets the number of a corner among the mesh's points, as AutoCAD's SetVertexAt: whether its edge is drawn is kept.