Expand description
Two-dimensional geometry traits and orientation helpers. Two-dimensional shape traits and orientation helpers.
Re-exports§
pub use line2d::Line2D;pub use free_vector2d::FreeVector2D;pub use mesh2d::Mesh2D;pub use plane2d::Plane2D;pub use coordinate_vector2d::CoordinateVector2D;pub use polygon_face2d::PolygonFace2D;pub use triangle2d::Triangle2D;pub use unit_vector2d::UnitVector2D;
Modules§
- coordinate_
vector2d - Concrete two-dimensional coordinate-vector implementation. Concrete two-dimensional coordinate-vector type for the public geometry API.
- free_
vector2d - Concrete two-dimensional free-vector implementation. Concrete two-dimensional free-vector type for the public geometry API.
- line2d
- Concrete two-dimensional line implementation. Concrete two-dimensional line type.
- mesh2d
- Concrete two-dimensional mesh implementation. Concrete mesh type built from two-dimensional polygon faces.
- plane2d
- Concrete two-dimensional plane implementation. Concrete planar mirror/reference line abstraction for two-dimensional geometry.
- polygon_
face2d - Concrete two-dimensional polygon face implementation. Concrete polygon face type built from two-dimensional points.
- triangle2d
- Concrete two-dimensional triangle implementation. Concrete triangle type built from two-dimensional points.
- unit_
vector2d - Concrete two-dimensional unit vector implementation. Concrete two-dimensional unit vector type.
Enums§
- Orientation2D
- Relative winding/orientation classification for planar geometry.
Traits§
- HasOrientation
- Exposes the planar orientation of a primitive.
- IsCircle
- A circle primitive with a center and radius-derived measures.
- IsPolygon
- A polygon primitive defined by an ordered point table.
- IsRectangle
- A rectangle specialization of
IsPolygon. - IsTriangle
- A triangle primitive backed by a point table and treated as a polygon specialization.