geom2d.plotpath
Debug output support for geometry package.
-
geom2d.plotpath.draw_path(path: Iterable[Sequence[float] | Sequence[Sequence[float]] | P | Line | Arc | Ellipse | CubicBezier], color: str = '#ff0000', width: str | float = '1px', opacity: float = 1, verbose: bool = False) → None
Debug SVG output for paths consisting of segments or points.
-
geom2d.plotpath.draw_segment(seg: Sequence[float] | Sequence[Sequence[float]] | P | Line | Arc | Ellipse | CubicBezier, color: str = '#c00000', width: str | float = '1px', opacity: float = 1, verbose: bool = False) → Sequence[float] | None
Draw a geom object, returns the last segment point.