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
pointer1GeoPoint3The first corner, in the world.
pointer2GeoPoint3The second corner.
pointer3GeoPoint3The third corner.
value1boolWhether edge 0 is drawn.
value2boolWhether edge 1 is drawn.
value3boolWhether edge 2 is drawn.
value4boolWhether 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
pointer1GeoPoint3The first corner, in the world.
pointer2GeoPoint3The second corner.
pointer3GeoPoint3The third corner.
pointer4GeoPoint3The fourth corner.
value1boolWhether edge 0 is drawn.
value2boolWhether edge 1 is drawn.
value3boolWhether edge 2 is drawn.
value4boolWhether edge 3 is drawn.
Exceptions
- ArgumentException
Thrown when a coordinate is not a finite number.