PointLineRelativePosition
Module: digi21.base
Point position relative to a Line, returned by calculate_position_point.
| Value | Meaning |
|---|---|
Edge |
Point on the line boundary |
Outside |
Point outside |
Inside |
Point inside |
Example
from digi21.base import PointLineRelativePosition
if linea.calculate_position_point((5, 5, 0)) == PointLineRelativePosition.Inside:
print("dentro")