42 lines
735 B
Python
42 lines
735 B
Python
|
|
"""
|
||
|
|
vde.core — Core geometry types and operations.
|
||
|
|
|
||
|
|
Re-exports from the native _vde.core submodule:
|
||
|
|
Point2D, Point3D, Vector3D, AABB3D, Polygon2D
|
||
|
|
distance, convex_hull_2d, convex_hull_3d
|
||
|
|
translate, rotate, rotate_x, rotate_y, rotate_z, scale
|
||
|
|
"""
|
||
|
|
from vde._vde.core import (
|
||
|
|
Point2D,
|
||
|
|
Point3D,
|
||
|
|
Vector3D,
|
||
|
|
AABB3D,
|
||
|
|
Polygon2D,
|
||
|
|
distance,
|
||
|
|
convex_hull_2d,
|
||
|
|
convex_hull_3d,
|
||
|
|
translate,
|
||
|
|
rotate,
|
||
|
|
rotate_x,
|
||
|
|
rotate_y,
|
||
|
|
rotate_z,
|
||
|
|
scale,
|
||
|
|
)
|
||
|
|
|
||
|
|
__all__ = [
|
||
|
|
"Point2D",
|
||
|
|
"Point3D",
|
||
|
|
"Vector3D",
|
||
|
|
"AABB3D",
|
||
|
|
"Polygon2D",
|
||
|
|
"distance",
|
||
|
|
"convex_hull_2d",
|
||
|
|
"convex_hull_3d",
|
||
|
|
"translate",
|
||
|
|
"rotate",
|
||
|
|
"rotate_x",
|
||
|
|
"rotate_y",
|
||
|
|
"rotate_z",
|
||
|
|
"scale",
|
||
|
|
]
|