- class neso_fame.mesh.StraightLine(LazilyOffsetable)
A straight line that connects two points.
It is a
NormalisedCurve
.Public members¶
-
subdivision : int =
0
-
num_divisions : int =
1
Constructors¶
-
StraightLine(north: Coord, south: Coord, subdivision: int =
0
, ...) Initialize self. See help(type(self)) for accurate signature.
Special methods¶
- __repr__()
Return repr(self).
- __hash__()
Return hash(self).
Methods¶
- subdivide(num_divisions: int) Iterator[StraightLine]
Split this line into equal-length segments.
Properties¶
-
subdivision : int =