PyCenterlinePoint

class multimodars.PyCenterlinePoint(contour_point, tangent, branch_id=0)

Bases: object

Python representation of a centerline point.

Combines a contour point with its local tangent vector.

contour_point

Position of the centerline point in 3D space.

Type:

PyContourPoint

tangent

Tangent vector (tx, ty, tz) at this centerline position.

Type:

tuple of float

branch_id

Branch identifier. 0 = main vessel; 1+ = side branches ordered by descending length.

Type:

int

Examples

>>> cl_point = PyCenterlinePoint(
...     contour_point=point,
...     tangent=(0.0, 1.0, 0.0)
... )
radius