Files
create/src/Mod/CAM/App/VoronoiVertexPy.pyi
Ian 'z0r0' Abreu f8fe935932 fixing imports
2025-07-20 09:04:27 -04:00

43 lines
923 B
Python

from typing import Any, Final
from Base.BaseClass import BaseClass
from Base.Metadata import constmethod, export
@export(
Father="BaseClassPy",
Name="VoronoiVertexPy",
PythonName="Path.Voronoi.Vertex",
Twin="VoronoiVertex",
TwinPointer="VoronoiVertex",
Include="Mod/CAM/App/VoronoiVertex.h",
Namespace="Path",
FatherInclude="Base/BaseClassPy.h",
FatherNamespace="Base",
Constructor=True,
RichCompare=True,
Delete=True,
)
class VoronoiVertexPy(BaseClass):
"""
Vertex of a Voronoi diagram
"""
@constmethod
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"""