|
Infinity Engine v0.6.20
C++ API Documentation
|
Classes | |
| class | Spline2D |
| Two-dimensional spline curve for procedural path and shape generation. More... | |
| class | Spline3D |
| Three-dimensional spline curve for procedural 3D path generation. More... | |
| class | Spline4D |
| Four-dimensional spline curve for extended parameter space interpolation. More... | |
| class | SplineImplBase |
| struct | Transform |
| Complete 3D spatial transformation combining position, rotation, and scale. More... | |
| struct | Volume |
| Axis-aligned bounding box (AABB) representing a rectangular 3D region. More... | |
Typedefs | |
| using | Point2D = Core::Value< Math::Vector2 > |
| Two-dimensional point in space. | |
| using | Point = Core::Value< Math::Vector3 > |
| Three-dimensional point in space. | |
Functions | |
| INFINITY_API_TEMPLATE std::ostream & | operator<< (std::ostream &out, const Transform &t) |
| Stream output operator for Transform. | |
| INFINITY_API_TEMPLATE std::istream & | operator>> (std::istream &in, Transform &t) |
| Stream input operator for Transform. | |
| INFINITY_API_PUBLIC std::ostream & | operator<< (std::ostream &out, const Volume &v) |
| Stream output operator for Volume. | |
| INFINITY_API_PUBLIC std::istream & | operator>> (std::istream &in, Volume &v) |
| Stream input operator for Volume. | |
Variables | |
| enum INFINITY_API_TEMPLATE | SplineKind |
| enum INFINITY_API_TEMPLATE | CatmullRom = 1 |
| Catmull-Rom spline interpolation. | |
| enum INFINITY_API_TEMPLATE | BSpline = 2 |
| B-Spline (Basis spline) interpolation. | |
| enum INFINITY_API_TEMPLATE | Linear |
| Linear interpolation. | |
Three-dimensional point in space.
Point represents a position in 3D space using Vector3 coordinates wrapped in a Value<T> for type system integration. It serves as a semantic alias to distinguish spatial positions from directional vectors, normals, or other uses of Vector3 in procedural generation.
This is the primary type for representing spatial positions throughout the Infinity Engine's procedural generation systems, particularly for:
Example usage:
Two-dimensional point in space.
Point2D represents a position in 2D space using Vector2 coordinates wrapped in a Value<T> for type system integration. It serves as a semantic alias to distinguish spatial positions from directional vectors or other uses of Vector2 in procedural generation.
Common use cases:
Example usage:
|
inline |
|
inline |
|
inline |
|
inline |
| enum INFINITY_API_TEMPLATE Infinity::Types::Spatial::BSpline = 2 |
B-Spline (Basis spline) interpolation.
Approximating spline that provides local control - moving a control point only affects a local region of the curve. Does not necessarily pass through control points. Offers excellent smoothness and stability for shape design and surface modeling.
| enum INFINITY_API_TEMPLATE Infinity::Types::Spatial::CatmullRom = 1 |
Catmull-Rom spline interpolation.
Interpolating spline that passes through all control points. Provides smooth curves with automatic tangent calculation based on neighboring points. Excellent for keyframe animation and paths that must hit specific positions.
| enum INFINITY_API_TEMPLATE Infinity::Types::Spatial::Linear |
Linear interpolation.
Simple straight-line segments between control points. No smoothing - produces piecewise linear paths. Useful for polygonal paths and when sharp corners are desired.
|
strong |