Package toxi.geom


Interface Summary
Intersector2D Generic interface for ray intersection with 2D geometry
Intersector3D Generic interface for ray intersection with 3D geometry
PolygonClipper2D Defines an interface for clipping 2D polygons.
ReadonlyVec2D Readonly, immutable interface wrapper for Vec2D instances.
ReadonlyVec3D Readonly, immutable interface wrapper for Vec3D instances.
Reflector3D Generic interface for ray reflection with 3D geometry
Shape2D Interface description of common operations supported by 2D geometry types.
Shape3D Interface description of common operations supported by 3D geometry types.
 

Class Summary
AABB Axis-aligned bounding box with basic intersection features for Ray, AABB and Sphere classes.
AxisAlignedCylinder  
BernsteinPolynomial Helper class for the spline3d classes in this package.
Circle This class overrides Ellipse to define a 2D circle and provides several utility methods for it, including factory methods to construct circles from points.
CircleIntersector This class handles Circle-Ray2D intersections by implementing the Intersector2D interface.
Cone A geometric definition of a cone (and cylinder as a special case) with support for mesh creation/representation.
Ellipse This class defines a 2D ellipse and provides several utility methods for it.
IsectData2D  
IsectData3D  
Line2D  
Line2D.LineIntersection  
Line3D  
Line3D.LineIntersection  
Matrix4x4 Implements a simple row-major 4x4 matrix class, all matrix operations are applied to new instances.
Plane Class to describe and work with infinite generic 3D planes.
PointCloud  
PointOctree Implements a spatial subdivision tree to work efficiently with large numbers of 3D particles.
PointQuadtree Implements a spatial subdivision tree to work efficiently with large numbers of 2D particles.
Polygon2D Container type for convex polygons.
Quaternion Quaternion implementation with SLERP based on http://is.gd/2n9s
Ray2D A simple 2D ray datatype
Ray3D A simple 3D ray datatype
Ray3DIntersector  
Rect  
Sphere  
SphereIntersectorReflector  
Spline2D This is a generic 3D B-Spline class for curves of arbitrary length, control handles and patches are created and joined automatically as described here: ibiblio.org/e-notes/ Splines/Bint.htm
Spline3D This is a generic 3D B-Spline class for curves of arbitrary length, control handles and patches are created and joined automatically as described here: ibiblio.org/e-notes/ Splines/Bint.htm
SutherlandHodgemanClipper A simplified, rectangle-only version of the Sutherland-Hodgeman polygon clipping algorithm to clip 2D polygons.
Triangle2D  
Triangle3D  
TriangleIntersector  
Vec2D Comprehensive 2D vector class with additional basic intersection and collision detection features.
Vec3D Comprehensive 3D vector class with additional basic intersection and collision detection features.
XAxisCylinder  
YAxisCylinder  
ZAxisCylinder  
 

Enum Summary
Line2D.LineIntersection.Type  
Line3D.LineIntersection.Type  
Plane.Classifier Classifier constant for Plane.classifyPoint(ReadonlyVec3D, float)
Vec2D.Axis  
Vec3D.Axis