Expand description
Modules§
Structs§
- BSpline
Curve - Represent a 2d b-spline curve
- Ball
- A Ball in 3D space
- Bezier
Curve - Represent a 2d bezier curve
- Circle
- A circle defined by center and radius.
- Circle3D
- A circle in 3D space defined by center and radius.
- Cuboid
- A Cuboid is a
- Ellipse
- An ellipse defined by center and axes.
- Ellipse3D
- A ellipse in 3D space defined by center and radius.
- Ellipsoid
- Line
- A lines segment of finite length, determined by a starting points and an ending points.
- Line3D
- A lines segment of finite length in 3D space, determined by a starting points and an ending points
- Parallelogram
- A parallelogram is a quadrilateral with two pairs of parallel sides.
- Place
Holder Edge Iterator - A placeholder iterator for missing trait bound
- Place
Holder Node Iterator - A placeholder iterator for missing trait bound
- Point
- A 2D points.
- Point3D
- Point4D
- Point
Set - Polygon
- Polygon3D
- Polyline
- Rectangle
- A non-rotated rectangle, used to represent AABB collision boxes.
- Regular
Polygon - Shape
Error - Square
- A square is a special case of a rectangle_2d, where the width and height are equal.
- Triangle
- A triangles is a polygon with three edges and three vertices. It is one of the basic shapes in geometry.
- Triangle
Index - Clockwise means the front side, and counterclockwise means the back side. When rendering, only the front side is rendered by default, and the back side is invisible.
- Vector
- represents an infinitely long lines segment
- Vector3D
Enums§
Traits§
- Euclidean
Distance - Float
- Generic trait for floating point numbers
- Itertools
- An
Iterator
blanket implementation that provides extra adaptors and methods. - Num
- The base trait for numeric types, covering
0
and1
values, comparisons, basic numeric operations, and string conversion. - One
- Defines a multiplicative identity element for
Self
. - Real
- A trait for real number types that do not necessarily have floating-point-specific characteristics such as NaN and infinity.
- Shape2D
- The trait for 2D shapes.
- Signed
- Useful functions for signed numbers (i.e. numbers that can be negative).
- Zero
- Defines an additive identity element for
Self
.