Constructor DxfSolid
- Namespace
- GeometryHelper.Dxf
- Assembly
- GeometryHelper.dll
DxfSolid()
Initializes a solid whose four corners are at the origin, as AutoCAD's new Solid(), on layer 0 in no file; give it its corners with SetPointAt(short, GeoPoint3).
public DxfSolid()
DxfSolid(GeoPoint3, GeoPoint3, GeoPoint3)
Initializes a triangle, as AutoCAD's new Solid(pointer1, pointer2, pointer3): the third corner written again as the fourth.
public DxfSolid(GeoPoint3 pointer1, GeoPoint3 pointer2, GeoPoint3 pointer3)
Parameters
pointer1GeoPoint3The first corner, in the plane of the normal (0, 0, 1).
pointer2GeoPoint3The second corner.
pointer3GeoPoint3The third corner.
Exceptions
- ArgumentException
Thrown when a coordinate is not a finite number.
DxfSolid(GeoPoint3, GeoPoint3, GeoPoint3, GeoPoint3)
Initializes a solid of four corners, as AutoCAD's new Solid(pointer1, pointer2, pointer3, pointer4), in DXF's
order (the area runs 1, 2, 4, 3 round), on layer 0 in no file until it is added to one.
public DxfSolid(GeoPoint3 pointer1, GeoPoint3 pointer2, GeoPoint3 pointer3, GeoPoint3 pointer4)
Parameters
pointer1GeoPoint3The first corner, in the plane of the normal (0, 0, 1).
pointer2GeoPoint3The second corner.
pointer3GeoPoint3The third corner.
pointer4GeoPoint3The fourth corner.
Exceptions
- ArgumentException
Thrown when a coordinate is not a finite number.