PyCenterlinePoint

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

Bases: object

Python representation of a centerline point.

Combines a contour point with its local normal vector.

contour_point

Position of the centerline point in 3D space.

Type:

PyContourPoint

normal

Normal vector (nx, ny, nz) 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,
...     normal=(0.0, 1.0, 0.0)
... )