class neso_fame.mesh.EndShape(LazilyOffsetable)

Represents a polygon in an x3 plane.

It is either the near or far end of a neso_fame.mesh.Prism. It is in the x1-x2 plane and can have three or more curved edges. However, it is always flat.

Public members

edges : tuple[NormalisedCurve, ...]

Shape defining the edge of the polygon

Constructors

EndShape(edges: tuple[NormalisedCurve, ...])

Initialize self. See help(type(self)) for accurate signature.

Special methods

__iter__() Iterator[NormalisedCurve]

Iterate over the edges of the polygon.

__repr__()

Return repr(self).

__eq__(other)

Return self==value.

__hash__()

Return hash(self).

Methods

corners() Coords

Return the points corresponding to the vertices of the polygon.

Properties

property x3_offset : float

Return the offset in the x3 direction.

property is_offset : bool

Indicate whether the object has been offset.


Last update: Nov 07, 2024