Package toxi.geom
package toxi.geom
-
ClassDescriptionAxis-aligned bounding box with basic intersection features for Ray, AABB and Sphere classes.An immutable origin + axis in 3D-Space.Helper class for the spline3d classes in this package.Standard multi-segment bezier curve implementation with optional automatic handle alignment between segments.Standard multi-segment bezier curve implementation with optional automatic handle alignment between segments.This class overrides
Ellipse
to define a 2D circle and provides several utility methods for it, including factory methods to construct circles from points.This class handles Circle-Ray2D intersections by implementing theIntersector2D
interface.A geometric definition of a cone (and cylinder as a special case) with support for mesh creation/representation.A more generic version of the Sutherland-Hodgeman algorithm to limit 2D polygons to convex clipping regions.This class defines a 2D ellipse and provides several utility methods for it.A concrete implementation of the abstractGridTesselator
using a grid in global coordinate space for generating additional points within a polygon.A double precision, row major, general and dynamically-resizable, two-dimensional matrix class.This is an implementation of thePolygonTesselator
interface and abstract parent class for tesselating 2D polygons using a grid of additional points created within the polygon.A double precision, general, dynamically-resizable, one-dimensional vector class.Generic interface for ray intersection with 2D geometryGeneric interface for ray intersection with 3D geometryA concrete implementation of the abstractGridTesselator
using a grid in polygon-local coordinate space for generating additional points within a polygon.A double precision floating point 3 by 3 matrix.A single precision floating point 4 by 4 matrix.Implements a simple row-major 4x4 matrix class, all matrix operations are applied to new instances.Indicates that an operation cannot be completed properly because of a mismatch in the sizes of object attributes.This interface is the core part of the visitor pattern application forPointOctree
s.This class defines an origin and set of axis vectors for a 3D cartesian coordinate system.Class to describe and work with infinite generic 3D planes.Classifier constant forPlane.classifyPoint(ReadonlyVec3D, float)
Implements a spatial subdivision tree to work efficiently with large numbers of 3D particles.Implements a spatial subdivision tree to work efficiently with large numbers of 2D particles.Container type for convex polygons.Defines an interface for clipping 2D polygons.This interface is the core part of the visitor pattern application forPointQuadtree
s.Quaternion implementation with SLERP based on http://is.gd/2n9sA simple 2D ray datatypeA simple 3D ray datatypeReadonly, immutable interface wrapper for Vec2D instances.Readonly, immutable interface wrapper for Vec3D instances.Readonly, immutable interface wrapper for Vec3D instances.Generic interface for ray reflection with 3D geometryInterface description of common operations supported by 2D geometry types.Interface description of common operations supported by 3D geometry types.Indicates that inverse of a matrix can not be computed.SpatialBins<T>SpatialIndex<T>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.htmThis 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.htmA version of the Sutherland-Hodgeman algorithm to clip 2D polygons optimized for rectangular clipping regions.Comprehensive 2D vector class with additional basic intersection and collision detection features.Comprehensive 3D vector class with additional basic intersection and collision detection features.