HatchGeometry¶
- class pyslm.geometry.HatchGeometry(mid=0, bid=0, coords=None)¶
Bases:
LayerGeometryHatchGeometry represents a
LayerGeometryconsisting of a series coordinates pairs \([(x_0,y_0), (x_1,x_2)]\) representing the start and end points of a scan vectors. This allows the point source to jump between scan vectors, unlikeContourGeometry. Typically, the scan vectors are used for infilling large internal regions and are arranged parallel at a set distance from each other.Methods Summary
Number of hatches within this LayerGeometry
type()Returns which type the
layerGeometryis in the derived class.Methods Documentation
- numHatches()¶
Number of hatches within this LayerGeometry
- Return type:
int
- type()¶
Returns which type the
layerGeometryis in the derived class.