| # SPDX-License-Identifier: LGPL-2.1-or-later | |
| from typing import Any, Final | |
| from Base.BaseClass import BaseClass | |
| from Base.Metadata import constmethod, export | |
| Include="Mod/CAM/App/VoronoiVertex.h", | |
| Namespace="Path", | |
| Constructor=True, | |
| RichCompare=True, | |
| Delete=True, | |
| ) | |
| class VoronoiVertex(BaseClass): | |
| """ | |
| Vertex of a Voronoi diagram | |
| Author: sliptonic (shopinthewoods@gmail.com) | |
| License: LGPL-2.1-or-later | |
| """ | |
| def toPoint(self) -> Any: | |
| """Returns a Vector - or None if not possible""" | |
| ... | |
| Index: Final[int] | |
| """Internal id of the element.""" | |
| Color: int | |
| """Assigned color of the receiver.""" | |
| X: Final[float] | |
| """X position""" | |
| Y: Final[float] | |
| """Y position""" | |
| IncidentEdge: Final[Any] | |
| """Y position""" | |