HatchGeometry

class pyslm.geometry.HatchGeometry(mid=0, bid=0, coords=None)

Bases: pyslm.geometry.geometry.LayerGeometry

HatchGeometry represents a LayerGeometry consisting 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, unlike ContourGeometry. Typically, the scan vectors are used for infilling large internal regions and are arranged parallel at a set distance from each other.

Methods Summary

numHatches()

Number of hatches within this LayerGeometry

type()

Returns which type the layerGeometry is in the derived class.

Methods Documentation

numHatches()

Number of hatches within this LayerGeometry

Return type:

int

type()

Returns which type the layerGeometry is in the derived class.