TrailEdge

class compas_cem.elements.TrailEdge(u, v, length, plane=None)[source]

Bases: compas_cem.elements.edge.Edge

A trail edge.

Notes

If a plane is defined, it will override the absolute length of the trail edge. However, the sign of the length (e.g. the combinatorial state) is preserved.

TODO: addexplicit combinatorial state to the signature of the constructor.

Methods

ToString()

Show object representation as string in Rhino/Grasshopper.

from_line(line, **kwargs)

Create an edge from a line described by two xyz coordinates.

from_rhino_line(rhino_line, **kwargs)

Create an edge from a rhino line.