Table of Contents

Constructor DxfFace

Namespace
GeometryHelper.Dxf
Assembly
GeometryHelper.dll

DxfFace()

Initializes a face whose four corners are at the origin, as AutoCAD's new Face(), on layer 0 in no file; give it its corners with SetVertexAt(short, GeoPoint3).

public DxfFace()

DxfFace(GeoPoint3, GeoPoint3, GeoPoint3, bool, bool, bool, bool)

Initializes a face of three corners, as AutoCAD's new Face(pointer1, pointer2, pointer3, value1, value2, value3, value4): the third corner written again as the fourth.

public DxfFace(GeoPoint3 pointer1, GeoPoint3 pointer2, GeoPoint3 pointer3, bool value1, bool value2, bool value3, bool value4)

Parameters

pointer1 GeoPoint3

The first corner, in the world.

pointer2 GeoPoint3

The second corner.

pointer3 GeoPoint3

The third corner.

value1 bool

Whether edge 0 is drawn.

value2 bool

Whether edge 1 is drawn.

value3 bool

Whether edge 2 is drawn.

value4 bool

Whether edge 3, of no length on a triangle, is drawn.

Exceptions

ArgumentException

Thrown when a coordinate is not a finite number.

DxfFace(GeoPoint3, GeoPoint3, GeoPoint3, GeoPoint3, bool, bool, bool, bool)

Initializes a face of four corners, as AutoCAD's new Face(pointer1, pointer2, pointer3, pointer4, value1, value2, value3, value4), on layer 0 in no file until it is added to one.

public DxfFace(GeoPoint3 pointer1, GeoPoint3 pointer2, GeoPoint3 pointer3, GeoPoint3 pointer4, bool value1, bool value2, bool value3, bool value4)

Parameters

pointer1 GeoPoint3

The first corner, in the world.

pointer2 GeoPoint3

The second corner.

pointer3 GeoPoint3

The third corner.

pointer4 GeoPoint3

The fourth corner.

value1 bool

Whether edge 0 is drawn.

value2 bool

Whether edge 1 is drawn.

value3 bool

Whether edge 2 is drawn.

value4 bool

Whether edge 3 is drawn.

Exceptions

ArgumentException

Thrown when a coordinate is not a finite number.