Constructor DxfHatchLoop
- Namespace
- GeometryHelper.Dxf
- Assembly
- GeometryHelper.dll
DxfHatchLoop(DxfHatchLoopTypes, GeoPolygonArc3)
Initializes a loop of a polyline, as AutoCAD's HatchLoop of the type Polyline:
its vertices with their bulges, in the world, closed.
public DxfHatchLoop(DxfHatchLoopTypes loopType, GeoPolygonArc3 polyline)
Parameters
loopTypeDxfHatchLoopTypesWhat the loop is; Polyline is added to it.
polylineGeoPolygonArc3The loop.
Exceptions
- ArgumentNullException
Thrown when the loop is null.
DxfHatchLoop(DxfHatchLoopTypes, GeoPolylineArc3)
Initializes a loop of a polyline that may be open, as AutoCAD's HatchLoop of the type
Polyline: closed where its last vertex is on its first, within
Default, and written open otherwise, as AutoCAD keeps one it cannot close.
public DxfHatchLoop(DxfHatchLoopTypes loopType, GeoPolylineArc3 polyline)
Parameters
loopTypeDxfHatchLoopTypesWhat the loop is; Polyline is added to it.
polylineGeoPolylineArc3The chain.
Exceptions
- ArgumentNullException
Thrown when the chain is null.
DxfHatchLoop(DxfHatchLoopTypes, IEnumerable<object>)
Initializes a loop of edges, as AutoCAD's HatchLoop with its Curves: in the world, one after another,
each a GeoLine3, GeoArc3, GeoCircle3, GeoEllipse3,
GeoSpline3 or GeoEdge3; a GeoPolylineArc3 or GeoPolygonArc3
among them gives its segments.
public DxfHatchLoop(DxfHatchLoopTypes loopType, IEnumerable<object> curves)
Parameters
loopTypeDxfHatchLoopTypesWhat the loop is; Polyline is taken out of it.
curvesIEnumerable<object>The edges, at least one.
Exceptions
- ArgumentNullException
Thrown when the edges are null, or one of them is.
- ArgumentException
Thrown when there is no edge, or an edge is a shape a loop of a HATCH has none of.