|
GREM 3.12.0
Game/Rendering Engine Modules for C++
|
Namespaces | |
| namespace | literals |
Classes | |
| struct | BroadphaseID |
| Opaque handle to an entity in a Broadphase. More... | |
| class | Broadphase |
| Acceleration structure for spatial queries in a simulation. More... | |
| struct | CollisionEvent |
| Collision start event between two objects in a Simulation. More... | |
| struct | CollisionEvents |
| List of collision start events between the objects in a Simulation. More... | |
| struct | SeparationEvent |
| Collision end event between two objects in a Simulation. More... | |
| struct | SeparationEvents |
| List of collision end events between the objects in a Simulation. More... | |
| struct | ContactPoint |
| Contact point between two potentially colliding objects in a Simulation. More... | |
| struct | ContactManifold |
| Set of points on the contact surface between two potentially colliding objects. More... | |
| struct | CollisionAlgorithmResult |
| Result of a collision algorithm. More... | |
| struct | CollisionAlgorithmOptions |
| Configuration options for a collision algorithm. More... | |
| class | CollisionAlgorithmImplementation |
| Base interface for a stateful collision algorithm that generates contact points between two potentially colliding objects of specific shape types. More... | |
| class | CollisionAlgorithm |
| Generic box type for any collision algorithm implementation derived from CollisionAlgorithmImplementation<N>. More... | |
| struct | Contact |
| Potential collision between two objects in a Simulation, including a stateful collision algorithm for generating the actual contact points between them. More... | |
| class | Contacts |
| Set of contacts in a Simulation. More... | |
| struct | ShapecastMiss |
| Result of a shapecast miss. More... | |
| struct | ShapecastHit |
| Result of a shapecast hit. More... | |
| struct | ShapecastHitInterior |
| Result of an interor shapecast hit. More... | |
| struct | ShapecastResult |
| Result of a shapecast. More... | |
| class | DebugVisualization |
| Bundle of draw commands for drawing debugging information about a Simulation. More... | |
| struct | Error |
| Exception type for domain-specific errors originating from the grem::physics module. More... | |
| struct | JointConnectedObjects |
| Ordered pair of handles to the objects connected by a joint. More... | |
| struct | JointAttachmentOffsets |
| Local offsets of the attachment frames of the objects connected by a joint. More... | |
| struct | JointAttachmentOrientations |
| Local orientations of the attachment frames of the objects connected by a joint. More... | |
| struct | JointLinearConstraint |
| Linear limits of a joint. More... | |
| struct | JointLinearConstraintImpulses |
| Impulse applied by the linear limits of a joint. More... | |
| struct | JointDistanceConstraint |
| Distance limit of a joint. More... | |
| struct | JointDistanceConstraintImpulses |
| Impulse applied by the distance limit of a joint. More... | |
| struct | JointAngularConstraint |
| Angular limits of a joint. More... | |
| struct | JointAngularConstraintImpulses |
| Impulse applied by the angular limits of a joint. More... | |
| struct | JointConeConstraint3D |
| Cone-shaped angular limit of a joint in a 3-dimensional world. More... | |
| struct | JointConeConstraintImpulses3D |
| Impulse applied by the cone-shaped angular limit of a joint in a 3-dimensional world. More... | |
| struct | JointTwistConstraint3D |
| Angular limit of a joint in a 3-dimensional world around the local Y axes of the connected objects' attachment frames. More... | |
| struct | JointTwistConstraintImpulses3D |
| Impulse applied by the angular limit of a joint in a 3-dimensional world around the local Y axes of the connected objects' attachment frames. More... | |
| struct | JointFlags |
| Set of boolean properties of a joint. More... | |
| struct | JointActiveTag |
| Tag component that is added to joints with active connected objects. More... | |
| struct | GenericJointOptions |
| Configuration options for a generic joint. More... | |
| struct | GenericJointOptions< 2 > |
| struct | GenericJointOptions< 3 > |
| struct | WeldOptions |
| Configuration options for a fully constrained joint. More... | |
| struct | HingeJointOptions |
| Configuration options for a revolute joint. More... | |
| struct | BallJointOptions |
| Configuration options for a spherical joint. More... | |
| struct | PrismaticJointOptions |
| Configuration options for a prismatic joint. More... | |
| struct | CylinderJointOptions |
| Configuration options for a cylindrical joint. More... | |
| struct | FluidDensity |
| Effective fluid density of an object's surroundings. More... | |
| struct | CenterOfBuoyancy |
| World-space offset of the center of buoyancy of an object. More... | |
| struct | Material |
| Properties regarding the dynamics of an object. More... | |
| struct | ObjectFlags |
| Set of boolean properties of an object. More... | |
| struct | ObjectContacts |
| Potential contacts of an object. More... | |
| struct | ObjectActivity |
| Activity information of an object. More... | |
| struct | ObjectActiveTag |
| Tag component that is added to entities with a non-zero-energy ObjectActivity. More... | |
| struct | ObjectBounds |
| Bounds of an object. More... | |
| struct | ObjectOptions |
| Configuration options for an object. More... | |
| struct | Dimension |
| Physical dimension type template. More... | |
| struct | Magnitude |
| Physical magnitude type template. More... | |
| struct | BaseUnit |
| Physical base unit type template. More... | |
| struct | Absolute |
| The canonical unit type corresponding to a given unit with its magnitude made absolute. More... | |
| struct | Zero |
| Abstract physical quantity representing the origin of the global world space reference frame, or the relative value 0 of any unit. More... | |
| struct | ComponentSwizzle |
| Tag type for specifying a specific vector components. More... | |
| struct | Quantity |
| Physical quantity type. More... | |
| struct | Quantity< 1, UnitT > |
| class | ConstComponentProxy |
| Read-only view of a specific component of a physical vector quantity. More... | |
| class | ComponentProxy |
| Reference to a specific component of a physical vector quantity. More... | |
| struct | Quantity< 2, UnitT > |
| struct | Quantity< 3, UnitT > |
| struct | TensorQuantity |
| struct | Direction |
| Normalized unit vector. More... | |
| struct | DecomposeMagnitudeDirectionResult |
| struct | DecomposeMagnitudeAngleResult |
| struct | OrthonormalBasis |
| Basis whose columns are all unit vectors that are orthogonal to each other. More... | |
| struct | Orientation |
| Absolute orientation in world space. More... | |
| struct | Orientation< 2 > |
| Absolute orientation in 2-dimensional space. More... | |
| struct | Orientation< 3 > |
| Absolute orientation in 3-dimensional space. More... | |
| class | LocalTransformation |
| Affine transformation in local space. More... | |
| class | Transformation |
| Affine transformation in world space. More... | |
| class | InverseTransformation |
| Inverse of an affine transformation in world space. More... | |
| class | InverseLocalTransformation |
| Inverse of an affine transformation in local space. More... | |
| struct | LocalInertiaOrientation |
| Local inertia orientation of an object, rotating from inertia major axis space to shape-local space. More... | |
| struct | LocalInertiaOrientation< 2 > |
| struct | LocalInertiaOrientation< 3 > |
| class | CollisionLayer |
| Identifier for a collision layer that a collider may belong to. More... | |
| class | CollisionLayers |
| Set of collision layers that a collider may belong to. More... | |
| struct | CollisionFilter |
| Collision filtering options for a collider. More... | |
| struct | CollisionFilterTestResult |
| Result of a CollisionFilterTest. More... | |
| struct | CollisionFilterTest |
| Test that checks if a pair of colliders should collide. More... | |
| struct | Ray |
| Description of a ray. More... | |
| struct | RayMiss |
| Result of a raycast miss. More... | |
| struct | RayHit |
| Result of a raycast hit. More... | |
| struct | RayHitInterior |
| Result of a raycast interior hit. More... | |
| struct | RaycastResult |
| Result of a raycast. More... | |
| struct | Plane |
| Description of an infinite plane in world space. More... | |
| struct | LineSegment |
| Description of a line segment in world space. More... | |
| struct | Box |
| Description of an axis-aligned box in world space. More... | |
| struct | Sphere |
| Description of a sphere in world space. More... | |
| struct | Triangle |
| Description of a triangle in world space. More... | |
| struct | PointShape |
| Point shape. More... | |
| struct | LineSegmentShape |
| Line segment shape parallel to the local Y axis. More... | |
| struct | InfiniteLineShape |
| Infinite line shape parallel to the local Y axis. More... | |
| struct | InfiniteHalfSpaceShape |
| Infinite half-space shape perpendicular to the local Y axis. More... | |
| struct | InfinitePlaneShape3D |
| Infinite plane shape perpendicular to the local Y axis in 3-dimensional space. More... | |
| struct | BoxShape |
| Box shape. More... | |
| struct | CubeShape |
| Cube shape. More... | |
| struct | EllipsoidShape |
| Ellipsoid shape. More... | |
| struct | SphereShape |
| Sphere shape. More... | |
| struct | CapsuleShape |
| Capsule shape aligned with the local Y axis. More... | |
| struct | TaperedCapsuleShape |
| Tapered capsule shape aligned with the local Y axis. More... | |
| struct | CylinderShape3D |
| Cylinder shape aligned with the local Y axis in 3-dimensional world space. More... | |
| struct | TaperedCylinderShape3D |
| Conical frustum shape aligned with the local Y axis in 3-dimensional space. More... | |
| class | ConvexPolytopeShape |
| Convex polytope shape. More... | |
| class | TriangleMeshShape |
| Triangle mesh shape. More... | |
| struct | Shape |
| Generic shape. More... | |
| struct | LocallyTransformedShape |
| Wrapper of another shape with a local transformation applied to it. More... | |
| struct | SubCollider |
| Sub-collider of a compound collider shape. More... | |
| class | CompoundColliderShape |
| Shape that combines multiple colliders. More... | |
| struct | Shape< 2 > |
| Shape in 2-dimensional space. More... | |
| struct | Shape< 3 > |
| Shape in 3-dimensional space. More... | |
| struct | Collider |
| Generic collider. More... | |
| class | ShapeView |
| View of a generic shape. More... | |
| class | ConvexShapeView |
| View of a generic convex shape. More... | |
| class | ConvexPolytopeShapeView |
| View of a generic convex polytope shape. More... | |
| struct | ColliderView |
| View of a generic collider. More... | |
| struct | SimulationOptions |
| Configuration options for a Simulation. More... | |
| struct | ScheduleStepOptions |
| Options for scheduling a step of a Simulation. More... | |
| struct | Simulation |
| Discrete-time simulation of physical interactions between objects and joints. More... | |
Concepts | |
| concept | dimension |
| Concept that checks if a type is a valid physical dimension type. | |
| concept | magnitude |
| Concept that checks if a type is a valid physical magnitude type. | |
| concept | unit |
| Concept that checks if a type is a valid physical unit type. | |
| concept | shape |
| Concept that checks if a type is a valid shape type. | |
| concept | shape_2d |
| Concept that checks if a type is a valid 2-dimensional shape type. | |
| concept | shape_3d |
| Concept that checks if a type is a valid 3-dimensional shape type. | |
| concept | convex_shape |
| Concept that checks if a type is a valid convex shape type. | |
| concept | convex_shape_2d |
| Concept that checks if a type is a valid 2-dimensional convex shape type. | |
| concept | convex_shape_3d |
| Concept that checks if a type is a valid 3-dimensional convex shape type. | |
| concept | convex_polytope_shape |
| Concept that checks if a type is a valid convex polytope shape type. | |
| concept | convex_polytope_shape_2d |
| Concept that checks if a type is a valid 2-dimensional convex polytope shape type. | |
| concept | convex_polytope_shape_3d |
| Concept that checks if a type is a valid 3-dimensional convex polytope shape type. | |
Typedefs | |
| using | Broadphase2D = Broadphase<2> |
| Acceleration structure for spatial queries in a 2-dimensional simulation. | |
| using | Broadphase3D = Broadphase<3> |
| Acceleration structure for spatial queries in a 3-dimensional simulation. | |
| using | CollisionEvent2D = CollisionEvent<2> |
| Collision start event between two objects in a 2-dimensional Simulation. | |
| using | CollisionEvent3D = CollisionEvent<3> |
| Collision start event between two objects in a 3-dimensional Simulation. | |
| using | CollisionEvents2D = CollisionEvents<2> |
| List of collision start events between the objects in a 2-dimensional Simulation. | |
| using | CollisionEvents3D = CollisionEvents<3> |
| List of collision start events between the objects in a 3-dimensional Simulation. | |
| using | SeparationEvent2D = SeparationEvent<2> |
| Collision end event between two objects in a 2-dimensional Simulation. | |
| using | SeparationEvent3D = SeparationEvent<3> |
| Collision end event between two objects in a 3-dimensional Simulation. | |
| using | SeparationEvents2D = SeparationEvents<2> |
| List of collision end events between the objects in a 2-dimensional Simulation. | |
| using | SeparationEvents3D = SeparationEvents<3> |
| List of collision end events between the objects in a 3-dimensional Simulation. | |
| using | ContactPoint2D = ContactPoint<2> |
| Contact point between two potentially colliding objects in a 2-dimensional Simulation. | |
| using | ContactPoint3D = ContactPoint<3> |
| Contact point between two potentially colliding objects in a 3-dimensional Simulation. | |
| using | ContactManifold2D = ContactManifold<2> |
| Set of points on the contact surface between two potentially colliding 2-dimensional objects. | |
| using | ContactManifold3D = ContactManifold<3> |
| Set of points on the contact surface between two potentially colliding 3-dimensional objects. | |
| using | CollisionAlgorithmResult2D = CollisionAlgorithmResult<2> |
| Result of a 2-dimensional collision algorithm. | |
| using | CollisionAlgorithmResult3D = CollisionAlgorithmResult<3> |
| Result of a 3-dimensional collision algorithm. | |
| using | CollisionAlgorithmOptions2D = CollisionAlgorithmOptions<2> |
| Configuration options for a 2-dimensional collision algorithm. | |
| using | CollisionAlgorithmOptions3D = CollisionAlgorithmOptions<3> |
| Configuration options for a 3-dimensional collision algorithm. | |
| using | CollisionAlgorithmImplementation2D = CollisionAlgorithmImplementation<2> |
| Base interface for a stateful collision algorithm that generates contact points between two potentially colliding 2-dimensional objects of specific shape types. | |
| using | CollisionAlgorithmImplementation3D = CollisionAlgorithmImplementation<3> |
| Base interface for a stateful collision algorithm that generates contact points between two potentially colliding 3-dimensional objects of specific shape types. | |
| using | CollisionAlgorithm2D = CollisionAlgorithm<2> |
| Generic box type for any collision algorithm implementation derived from CollisionAlgorithmImplementation2D. | |
| using | CollisionAlgorithm3D = CollisionAlgorithm<3> |
| Generic box type for any collision algorithm implementation derived from CollisionAlgorithmImplementation3D. | |
| using | Contact2D = Contact<2> |
| Potential collision between two objects in a 2-dimensional Simulation, including a stateful collision algorithm for generating the actual contact points between them. | |
| using | Contact3D = Contact<3> |
| Potential collision between two objects in a 3-dimensional Simulation, including a stateful collision algorithm for generating the actual contact points between them. | |
| using | Contacts2D = Contacts<2> |
| Set of contacts in a 2-dimensional Simulation. | |
| using | Contacts3D = Contacts<3> |
| Set of contacts in a 3-dimensional Simulation. | |
| using | ShapecastHit2D = ShapecastHit<2> |
| Result of a shapecast hit in 2-dimensional space. | |
| using | ShapecastHit3D = ShapecastHit<3> |
| Result of a shapecast hit in 3-dimensional space. | |
| using | ShapecastHitInterior2D = ShapecastHitInterior<2> |
| Result of an interior shapecast hit in 2-dimensional space. | |
| using | ShapecastHitInterior3D = ShapecastHitInterior<3> |
| Result of an interior shapecast hit in 3-dimensional space. | |
| using | ShapecastResult2D = ShapecastResult<2> |
| Result of a shapecast in 2-dimensional space. | |
| using | ShapecastResult3D = ShapecastResult<3> |
| Result of a shapecast in 3-dimensional space. | |
| using | DebugVisualization2D = DebugVisualization<2> |
| Bundle of draw commands for drawing debugging information about a 2-dimensional Simulation. | |
| using | DebugVisualization3D = DebugVisualization<3> |
| Bundle of draw commands for drawing debugging information about a 3-dimensional Simulation. | |
| using | EntityID = execution::EntityID |
| Opaque handle to a specific entity in a Simulation's EntityRegistry. | |
| using | JointAttachmentOffsets2D = JointAttachmentOffsets<2> |
| Local offsets of the attachment frames of the objects connected by a joint in a 2-dimensional world. | |
| using | JointAttachmentOffsets3D = JointAttachmentOffsets<3> |
| Local offsets of the attachment frames of the objects connected by a joint in a 3-dimensional world. | |
| using | JointAttachmentOrientations2D = JointAttachmentOrientations<2> |
| Local orientations of the attachment frames of the objects connected by a joint in a 2-dimensional world. | |
| using | JointAttachmentOrientations3D = JointAttachmentOrientations<3> |
| Local orientations of the attachment frames of the objects connected by a joint in a 3-dimensional world. | |
| using | JointLinearConstraint2D = JointLinearConstraint<2> |
| Linear limits of a joint in a 2-dimensional world. | |
| using | JointLinearConstraint3D = JointLinearConstraint<3> |
| Linear limits of a joint in a 3-dimensional world. | |
| using | JointLinearConstraintImpulses2D = JointLinearConstraintImpulses<2> |
| Impulse applied by the linear limits of a joint in a 2-dimensional world. | |
| using | JointLinearConstraintImpulses3D = JointLinearConstraintImpulses<3> |
| Impulse applied by the linear limits of a joint in a 3-dimensional world. | |
| using | JointDistanceConstraint2D = JointDistanceConstraint<2> |
| Distance limit of a joint in a 2-dimensional world. | |
| using | JointDistanceConstraint3D = JointDistanceConstraint<3> |
| Distance limit of a joint in a 3-dimensional world. | |
| using | JointDistanceConstraintImpulses2D = JointDistanceConstraintImpulses<2> |
| Impulse applied by the distance limit of a joint in a 2-dimensional world. | |
| using | JointDistanceConstraintImpulses3D = JointDistanceConstraintImpulses<3> |
| Impulse applied by the distance limit of a joint in a 3-dimensional world. | |
| using | JointAngularConstraint2D = JointAngularConstraint<2> |
| Angular limits of a joint in a 2-dimensional world. | |
| using | JointAngularConstraint3D = JointAngularConstraint<3> |
| Angular limits of a joint in a 3-dimensional world. | |
| using | JointAngularConstraintImpulses2D = JointAngularConstraintImpulses<2> |
| Impulse applied by the angular limits of a joint in a 2-dimensional world. | |
| using | JointAngularConstraintImpulses3D = JointAngularConstraintImpulses<3> |
| Impulse applied by the angular limits of a joint in a 3-dimensional world. | |
| using | JointFlags2D = JointFlags<2> |
| Set of boolean properties of a joint in a 2-dimensional world. | |
| using | JointFlags3D = JointFlags<3> |
| Set of boolean properties of a joint in a 3-dimensional world. | |
| using | GenericJointOptions2D = GenericJointOptions<2> |
| Configuration options for a generic joint in a 2-dimensional world. | |
| using | GenericJointOptions3D = GenericJointOptions<3> |
| Configuration options for a generic joint in a 3-dimensional world. | |
| using | WeldOptions2D = WeldOptions<2> |
| Configuration options for a fully constrained joint in a 2-dimensional world. | |
| using | WeldOptions3D = WeldOptions<3> |
| Configuration options for a fully constrained joint in a 3-dimensional world. | |
| using | HingeJointOptions2D = HingeJointOptions<2> |
| Configuration options for a revolute joint in a 2-dimensional world. | |
| using | HingeJointOptions3D = HingeJointOptions<3> |
| Configuration options for a revolute joint in a 3-dimensional world. | |
| using | BallJointOptions2D = BallJointOptions<2> |
| Configuration options for a spherical joint in a 2-dimensional world. | |
| using | BallJointOptions3D = BallJointOptions<3> |
| Configuration options for a spherical joint in a 3-dimensional world. | |
| using | PrismaticJointOptions2D = PrismaticJointOptions<2> |
| Configuration options for a prismatic joint in a 2-dimensional world. | |
| using | PrismaticJointOptions3D = PrismaticJointOptions<3> |
| Configuration options for a prismatic joint in a 3-dimensional world. | |
| using | CylinderJointOptions2D = CylinderJointOptions<2> |
| Configuration options for a cylindrical joint in a 2-dimensional world. | |
| using | CylinderJointOptions3D = CylinderJointOptions<3> |
| Configuration options for a cylindrical joint in a 3-dimensional world. | |
| using | CenterOfBuoyancy2D = CenterOfBuoyancy<2> |
| World-space offset of the center of buoyancy of an object in a 2-dimensional world. | |
| using | CenterOfBuoyancy3D = CenterOfBuoyancy<3> |
| World-space offset of the center of buoyancy of an object in a 3-dimensional world. | |
| using | ObjectContacts2D = ObjectContacts<2> |
| Potential contacts of a 2-dimensional object. | |
| using | ObjectContacts3D = ObjectContacts<3> |
| Potential contacts of a 3-dimensional object. | |
| using | ObjectBounds2D = ObjectBounds<2> |
| Bounds of a 2-dimensional object. | |
| using | ObjectBounds3D = ObjectBounds<3> |
| Bounds of a 3-dimensional object. | |
| using | ObjectOptions2D = ObjectOptions<2> |
| Configuration options for an object in a 2-dimensional world. | |
| using | ObjectOptions3D = ObjectOptions<3> |
| Configuration options for an object in a 3-dimensional world. | |
| template<unit UnitT> | |
| using | canonical_unit_t = typename canonical_unit<UnitT>::type |
| Canonical unit type of a given unit. | |
| template<unit UnitT> | |
| using | in_base_units_t = typename in_base_units<UnitT>::type |
| Corresponding instantiation of the BaseUnit type template of a given unit type. | |
| template<typename UnitT1, typename... UnitTs> | |
| using | BaseSum = BaseUnit<(UnitT1::DIMENSION + ... + UnitTs::DIMENSION), (UnitT1::MAGNITUDE + ... + UnitTs::MAGNITUDE)> |
| The base unit type resulting from adding a set of quantities of the given units. | |
| template<typename UnitT1, typename... UnitTs> | |
| using | Sum = canonical_unit_t<BaseSum<UnitT1, UnitTs...>> |
| The canonical unit type resulting from adding a set of quantities of the given units. | |
| template<typename UnitT1, typename UnitT2> | |
| using | BaseDifference = BaseUnit<(UnitT1::DIMENSION - UnitT2::DIMENSION), (UnitT1::MAGNITUDE - UnitT2::MAGNITUDE)> |
| The base unit type resulting from subtracting two quantities of the given units. | |
| template<typename UnitT1, typename UnitT2> | |
| using | Difference = canonical_unit_t<BaseDifference<UnitT1, UnitT2>> |
| The canonical unit type resulting from subtracting two quantities of the given units. | |
| template<typename UnitT1, typename... UnitTs> | |
| using | BaseProduct = BaseUnit<(UnitT1::DIMENSION * ... * UnitTs::DIMENSION), (UnitT1::MAGNITUDE * ... * UnitTs::MAGNITUDE)> |
| The base unit type resulting from multiplying a set of quantities of the given units. | |
| template<typename UnitT1, typename... UnitTs> | |
| using | Product = canonical_unit_t<BaseProduct<UnitT1, UnitTs...>> |
| The canonical unit type resulting from multiplying a set of quantities of the given units. | |
| template<typename UnitT1, typename UnitT2> | |
| using | BaseQuotient = BaseUnit<(UnitT1::DIMENSION / UnitT2::DIMENSION), (UnitT1::MAGNITUDE / UnitT2::MAGNITUDE)> |
| The base unit type resulting from dividing two quantities of the given units. | |
| template<typename UnitT1, typename UnitT2> | |
| using | Quotient = canonical_unit_t<BaseQuotient<UnitT1, UnitT2>> |
| The canonical unit type resulting from dividing two quantities of the given units. | |
| template<typename UnitT, long double Multiple> | |
| using | BaseMultipleOf = BaseUnit<UnitT::DIMENSION, UnitT::MAGNITUDE * Magnitude<Multiple>{}> |
| The base unit type corresponding to a given unit with its magnitude scaled by a given multiplier. | |
| template<typename UnitT, long double Multiple> | |
| using | MultipleOf = canonical_unit_t<BaseMultipleOf<UnitT, Multiple>> |
| The canonical unit type corresponding to a given unit with its magnitude scaled by a given multiplier. | |
| template<typename UnitT> | |
| using | BaseRelative = BaseUnit<UnitT::DIMENSION, Magnitude<UnitT::MagnitudeType::VALUE, false>{}> |
| The base unit type corresponding to a given unit with its magnitude made relative. | |
| template<typename UnitT> | |
| using | Relative = canonical_unit_t<BaseRelative<UnitT>> |
| The canonical unit type corresponding to a given unit with its magnitude made relative. | |
| template<typename UnitT> | |
| using | BaseAbsolute = BaseUnit<UnitT::DIMENSION, Magnitude<UnitT::MagnitudeType::VALUE, true>{}> |
| The base unit type corresponding to a given unit with its magnitude made absolute. | |
| template<typename UnitT> | |
| using | BaseSqrt = BaseUnit<sqrt(UnitT::DIMENSION), sqrt(UnitT::MAGNITUDE)> |
| The base unit type resulting from taking the square root of a quantity of the given unit. | |
| template<typename UnitT> | |
| using | Sqrt = canonical_unit_t<BaseSqrt<UnitT>> |
| The canonical unit type resulting from taking the square root of a quantity of the given unit. | |
| template<typename UnitT> | |
| using | BaseReciprocal = BaseUnit<DIMENSIONLESS / UnitT::DIMENSION, Magnitude<1.0l / UnitT::MagnitudeType::VALUE, UnitT::MagnitudeType::IS_ABSOLUTE>{}> |
| The base unit type resulting from taking the multiplicative inverse of a quantity of the given unit. | |
| template<typename UnitT> | |
| using | Reciprocal = canonical_unit_t<BaseReciprocal<UnitT>> |
| The canonical unit type resulting from taking the multiplicative inverse of a quantity of the given unit. | |
| template<typename UnitT> | |
| using | BaseSquare = BaseProduct<UnitT, UnitT> |
| The base unit type resulting from squaring a quantity of the given unit. | |
| template<typename UnitT> | |
| using | Square = canonical_unit_t<BaseSquare<UnitT>> |
| The canonical unit type resulting from squaring a quantity of the given unit. | |
| template<typename UnitT> | |
| using | BaseCubic = BaseProduct<UnitT, UnitT, UnitT> |
| The base unit type resulting from taking the cube of a quantity of the given unit. | |
| template<typename UnitT> | |
| using | Cubic = canonical_unit_t<BaseCubic<UnitT>> |
| The canonical unit type resulting from taking the cube of a quantity of the given unit. | |
| template<typename UnitT> | |
| using | BaseKilo = BaseMultipleOf<UnitT, 1000.0l> |
| The base unit type corresponding to a given unit with its magnitude scaled by 1000. | |
| template<typename UnitT> | |
| using | Kilo = canonical_unit_t<BaseKilo<UnitT>> |
| The canonical unit type corresponding to a given unit with its magnitude scaled by 1000. | |
| template<typename UnitT> | |
| using | BaseDeci = BaseMultipleOf<UnitT, 0.1l> |
| The base unit type corresponding to a given unit with its magnitude scaled by 1/10. | |
| template<typename UnitT> | |
| using | Deci = canonical_unit_t<BaseDeci<UnitT>> |
| The canonical unit type corresponding to a given unit with its magnitude scaled by 1/10. | |
| template<typename UnitT> | |
| using | BaseCenti = BaseMultipleOf<UnitT, 0.01l> |
| The base unit type corresponding to a given unit with its magnitude scaled by 1/100. | |
| template<typename UnitT> | |
| using | Centi = canonical_unit_t<BaseCenti<UnitT>> |
| The canonical unit type corresponding to a given unit with its magnitude scaled by 1/100. | |
| template<typename UnitT> | |
| using | BaseMilli = BaseMultipleOf<UnitT, 0.001l> |
| The base unit type corresponding to a given unit with its magnitude scaled by 1/1000. | |
| template<typename UnitT> | |
| using | Milli = canonical_unit_t<BaseMilli<UnitT>> |
| The canonical unit type corresponding to a given unit with its magnitude scaled by 1/1000. | |
| template<Dimension D> | |
| using | BaseSIUnit = BaseUnit<D, Magnitude<1.0l>{}> |
| The base relative SI unit type for a given dimension. | |
| template<Dimension D> | |
| using | SIUnit = canonical_unit_t<BaseSIUnit<D>> |
| The canonical relative SI unit type for a given dimension. | |
| using | Scalar = float |
| Underlying scalar type of physics quantity components. | |
| template<size_t N, typename UnitT> | |
| using | AngularQuantity = std::conditional_t<N == 3, Quantity<3, UnitT>, Quantity<1, UnitT>> |
| Physical quantity type representing an angular quantity in world space, with one component in 2D and three components in 3D. | |
| template<size_t N> | |
| using | Mask = std::conditional_t<N == 1, bool, vec<N, bool>> |
| Boolean quantity. | |
| using | Mask1D = Mask<1> |
| Boolean quantity in 1-dimensional space. Unitless. | |
| using | Mask2D = Mask<2> |
| Boolean quantity in 2-dimensional space. Unitless. | |
| using | Mask3D = Mask<3> |
| Boolean quantity in 3-dimensional space. Unitless. | |
| template<size_t N> | |
| using | AngularMask = std::conditional_t<N == 3, Mask<N>, Mask<1>> |
| Angular boolean quantity. | |
| using | AngularMask2D = AngularMask<2> |
| Angular boolean quantity in 2-dimensional space. Unitless. | |
| using | AngularMask3D = AngularMask<3> |
| Angular boolean quantity in 2-dimensional space. Unitless. | |
| template<size_t N, typename UnitT> | |
| using | AngularTensorQuantity = std::conditional_t<N == 3, TensorQuantity<3, UnitT>, Quantity<1, UnitT>> |
| template<size_t N> | |
| using | Scale = Quantity<N, Unitless> |
| Dimensionless scale. | |
| using | Scale1D = Scale<1> |
| Dimensionless scale in 1-dimensional space. Unitless. | |
| using | Scale2D = Scale<2> |
| Dimensionless scale in 2-dimensional space. Unitless. | |
| using | Scale3D = Scale<3> |
| Dimensionless scale in 3-dimensional space. Unitless. | |
| using | Coefficient = Scale1D |
| Unitless scalar quantity. | |
| template<size_t N> | |
| using | Basis = TensorQuantity<N, Unitless> |
| Basis matrix. | |
| using | Basis2D = Basis<2> |
| Basis matrix in 2-dimensional space. Unitless. | |
| using | Basis3D = Basis<3> |
| Basis matrix in 3-dimensional space. Unitless. | |
| template<size_t N> | |
| using | AngularScale = AngularQuantity<N, Unitless> |
| Angular dimensionless scale. | |
| using | AngularScale2D = AngularScale<2> |
| Angular dimensionless scale in 2-dimensional space. Unitless. | |
| using | AngularScale3D = AngularScale<3> |
| Angular dimensionless scale in 3-dimensional space. Unitless. | |
| using | Angle = Quantity<1, Radians> |
| Angle quantity. | |
| using | AbsoluteAngle = Quantity<1, Absolute<Radians>> |
| Absolute angle in world space. | |
| template<size_t N> | |
| using | AbsoluteAngles = AngularQuantity<N, Absolute<Radians>> |
| Absolute angles in world space. | |
| using | Roll = AbsoluteAngles<2> |
| Absolute angle in 2-dimensional space. | |
| using | PitchYaw = Quantity<2, Absolute<Radians>> |
| Absolute angles in 3-dimensional space without roll. | |
| using | PitchYawRoll = AbsoluteAngles<3> |
| Absolute angles in 3-dimensional space. | |
| using | RollRotation = Angle |
| Relative rotation of roll. | |
| using | PitchYawRotations = Quantity<2, Radians> |
| Relative rotations of pitch and yaw. | |
| using | PitchYawRollRotations = Quantity<3, Radians> |
| Relative rotations of pitch, yaw and roll. | |
| template<size_t N> | |
| using | Rotation = AngularQuantity<N, Radians> |
| Relative rotation quantity. | |
| using | Rotation2D = Rotation<2> |
| Relative rotation in 2-dimensional space. Unit: Radians. | |
| using | Rotation3D = Rotation<3> |
| Relative rotation in 3-dimensional space. Unit: Radians. | |
| using | Direction2D = Direction<2> |
| Normalized unit vector in 2-dimensional space. Unitless. | |
| using | Direction3D = Direction<3> |
| Normalized unit vector in 3-dimensional space. Unitless. | |
| using | OrthonormalBasis2D = OrthonormalBasis<2> |
| Basis in 2-dimensional space whose columns are all unit vectors that are orthogonal to each other. Unitless. | |
| using | OrthonormalBasis3D = OrthonormalBasis<3> |
| Basis in 3-dimensional space whose columns are all unit vectors that are orthogonal to each other. Unitless. | |
| using | Orientation2D = Orientation<2> |
| Absolute orientation in 2-dimensional space. Unit: Radians. | |
| using | Orientation3D = Orientation<3> |
| Absolute orientation in 3-dimensional space. Unit: Radians. | |
| template<size_t N> | |
| using | Length = Quantity<N, Meters> |
| Relative distance/length offset quantity. | |
| using | Length1D = Length<1> |
| Relative distance/length offset in 1-dimensional space. Unit: Meters. | |
| using | Length2D = Length<2> |
| Relative distance/length offset in 2-dimensional space. Unit: Meters. | |
| using | Length3D = Length<3> |
| Relative distance/length offset in 3-dimensional space. Unit: Meters. | |
| template<size_t N> | |
| using | LengthTensor = TensorQuantity<N, Meters> |
| Tensor of length quantities. | |
| using | LengthTensor2D = LengthTensor<2> |
| Tensor of length quantities in 2-dimensional space. Unit: Meters. | |
| using | LengthTensor3D = LengthTensor<3> |
| Tensor of length quantities in 3-dimensional space. Unit: Meters. | |
| template<size_t N> | |
| using | Position = Quantity<N, Absolute<Meters>> |
| Absolute position in world space. | |
| using | Position1D = Position<1> |
| Absolute position in 1-dimensional space. Unit: Meters. | |
| using | Position2D = Position<2> |
| Absolute position in 2-dimensional space. Unit: Meters. | |
| using | Position3D = Position<3> |
| Absolute position in 3-dimensional space. Unit: Meters. | |
| using | Distance = Length1D |
| Scalar length quantity. | |
| using | SquaredLength = Quantity<1, SquareMeters> |
| Scalar squared length quantity. | |
| using | SquaredDistance = SquaredLength |
| Scalar squared length quantity. | |
| using | LocalTransformation2D = LocalTransformation<2> |
| Affine transformation in 2-dimensional local space. | |
| using | LocalTransformation3D = LocalTransformation<3> |
| Affine transformation in 3-dimensional local space. | |
| using | Transformation2D = Transformation<2> |
| Affine transformation in 2-dimensional space. | |
| using | Transformation3D = Transformation<3> |
| Affine transformation in 3-dimensional space. | |
| using | InverseLocalTransformation2D = InverseLocalTransformation<2> |
| Inverse of an affine transformation in 2-dimensional local space. | |
| using | InverseLocalTransformation3D = InverseLocalTransformation<3> |
| Inverse of an affine transformation in 3-dimensional local space. | |
| using | InverseTransformation2D = InverseTransformation<2> |
| Inverse of an affine transformation in 2-dimensional space. | |
| using | InverseTransformation3D = InverseTransformation<3> |
| Inverse of an affine transformation in 3-dimensional space. | |
| using | Mass = Quantity<1, Kilograms> |
| Scalar mass quantity. | |
| using | InverseMass = Quantity<1, PerKilogram> |
| Scalar inverse mass quantity. | |
| using | Time = Quantity<1, Seconds> |
| Scalar relative time duration quantity. | |
| using | Area = Quantity<1, SquareMeters> |
| Scalar area quantity. | |
| using | SquaredArea = Quantity<1, Square<SquareMeters>> |
| Scalar squared area quantity. | |
| using | Volume = Quantity<1, CubicMeters> |
| Scalar volume quantity. | |
| using | SquaredVolume = Quantity<1, Square<CubicMeters>> |
| Scalar squared volume quantity. | |
| using | Density = Quantity<1, KilogramsPerCubicMeter> |
| Scalar density quantity. | |
| template<size_t N> | |
| using | Rate = Quantity<N, Hertz> |
| Frequency quantity. | |
| using | Rate1D = Rate<1> |
| Frequency in 1-dimensional space. Unit: Hertz (AKA per second). | |
| using | Rate2D = Rate<2> |
| Frequency in 2-dimensional space. Unit: Hertz (AKA per second). | |
| using | Rate3D = Rate<3> |
| Frequency in 3-dimensional space. Unit: Hertz (AKA per second). | |
| using | Frequency = Rate1D |
| Scalar frequency quantity. | |
| template<size_t N> | |
| using | AngularFrequency = AngularQuantity<N, Hertz> |
| Angular frequency quantity. | |
| using | AngularFrequency2D = AngularFrequency<2> |
| Angular frequency in 2-dimensional space. Unit: Hertz (AKA per second). | |
| using | AngularFrequency3D = AngularFrequency<3> |
| Angular frequency in 3-dimensional space. Unit: Hertz (AKA per second). | |
| template<size_t N> | |
| using | LinearAbsement = Quantity<N, MeterSeconds> |
| Linear absement quantity. | |
| using | LinearAbsement1D = LinearAbsement<1> |
| Linear absement in 1-dimensional space. Unit: Meter seconds. | |
| using | LinearAbsement2D = LinearAbsement<2> |
| Linear absement in 2-dimensional space. Unit: Meter seconds. | |
| using | LinearAbsement3D = LinearAbsement<3> |
| Linear absement in 3-dimensional space. Unit: Meter seconds. | |
| using | Wavenumber = Quantity<1, PerMeter> |
| Scalar wavenumber quantity. | |
| template<size_t N> | |
| using | LinearVelocity = Quantity<N, MetersPerSecond> |
| Linear velocity quantity. | |
| using | LinearVelocity1D = LinearVelocity<1> |
| Linear velocity in 1-dimensional space. Unit: Meters per second. | |
| using | LinearVelocity2D = LinearVelocity<2> |
| Linear velocity in 2-dimensional space. Unit: Meters per second. | |
| using | LinearVelocity3D = LinearVelocity<3> |
| Linear velocity in 3-dimensional space. Unit: Meters per second. | |
| using | Speed = LinearVelocity1D |
| Scalar linear velocity quantity. | |
| template<size_t N> | |
| using | LinearVelocityTensor = TensorQuantity<N, MetersPerSecond> |
| Tensor of linear velocity quantities. | |
| using | LinearVelocityTensor2D = LinearVelocityTensor<2> |
| Tensor of linear velocity quantities in 2-dimensional space. Unit: Meters per second. | |
| using | LinearVelocityTensor3D = LinearVelocityTensor<3> |
| Tensor of linear velocity quantities in 3-dimensional space. Unit: Meters per second. | |
| using | SquaredSpeed = Quantity<1, Square<MetersPerSecond>> |
| Scalar squared speed quantity. | |
| template<size_t N> | |
| using | LinearAcceleration = Quantity<N, MetersPerSecondSquared> |
| Linear acceleration quantity. | |
| using | LinearAcceleration1D = LinearAcceleration<1> |
| Linear acceleration in 1-dimensional space. Unit: Meters per second squared. | |
| using | LinearAcceleration2D = LinearAcceleration<2> |
| Linear acceleration in 2-dimensional space. Unit: Meters per second squared. | |
| using | LinearAcceleration3D = LinearAcceleration<3> |
| Linear acceleration in 3-dimensional space. Unit: Meters per second squared. | |
| using | Acceleration = LinearAcceleration1D |
| Linear acceleration quantity. Unit: Meters per second squared. | |
| using | SquaredAcceleration = Quantity<1, Square<MetersPerSecondSquared>> |
| Scalar squared acceleration quantity. | |
| template<size_t N> | |
| using | LinearAccelerationTensor = TensorQuantity<N, MetersPerSecondSquared> |
| Tensor of linear acceleration quantities. | |
| using | LinearAccelerationTensor2D = LinearAccelerationTensor<2> |
| Tensor of linear acceleration quantities in 2-dimensional space. Unit: Meters per second squared. | |
| using | LinearAccelerationTensor3D = LinearAccelerationTensor<3> |
| Tensor of linear acceleration quantities in 3-dimensional space. Unit: Meters per second squared. | |
| template<size_t N> | |
| using | Force = Quantity<N, Newton> |
| Force quantity. | |
| using | Force1D = Force<1> |
| Force in 1-dimensional space. Unit: Newton (AKA kilogram meters per second squared). | |
| using | Force2D = Force<2> |
| Force in 2-dimensional space. Unit: Newton (AKA kilogram meters per second squared). | |
| using | Force3D = Force<3> |
| Force in 3-dimensional space. Unit: Newton (AKA kilogram meters per second squared). | |
| template<size_t N> | |
| using | ForceTensor = TensorQuantity<N, Newton> |
| Tensor of force quantities. | |
| using | ForceTensor2D = ForceTensor<2> |
| Tensor of force quantities in 2-dimensional space. Unit: Newton (AKA kilogram meters per second squared). | |
| using | ForceTensor3D = ForceTensor<3> |
| Tensor of force quantities in 3-dimensional space. Unit: Newton (AKA kilogram meters per second squared). | |
| template<size_t N> | |
| using | Torque = AngularQuantity<N, NewtonMeters> |
| Torque quantity. | |
| using | Torque2D = Torque<2> |
| Torque in 2-dimensional space. Unit: Newton meters (AKA kilogram square meters per second squared). | |
| using | Torque3D = Torque<3> |
| Torque in 3-dimensional space. Unit: Newton meters (AKA kilogram square meters per second squared). | |
| template<size_t N> | |
| using | TorqueTensor = TensorQuantity<N, NewtonMeters> |
| Tensor of torque quantities. | |
| using | TorqueTensor2D = TorqueTensor<2> |
| Tensor of torque quantities in 2-dimensional space. Unit: Newton meters (AKA kilogram square meters per second squared). | |
| using | TorqueTensor3D = TorqueTensor<3> |
| Tensor of torque quantities in 3-dimensional space. Unit: Newton meters (AKA kilogram square meters per second squared). | |
| template<size_t N> | |
| using | LinearImpulse = Quantity<N, NewtonSeconds> |
| Linear impulse quantity. | |
| using | LinearImpulse1D = LinearImpulse<1> |
| Linear impulse in 1-dimensional space. Unit: Newton seconds (AKA kilogram meters per second). | |
| using | LinearImpulse2D = LinearImpulse<2> |
| Linear impulse in 2-dimensional space. Unit: Newton seconds (AKA kilogram meters per second). | |
| using | LinearImpulse3D = LinearImpulse<3> |
| Linear impulse in 3-dimensional space. Unit: Newton seconds (AKA kilogram meters per second). | |
| using | Impulse = LinearImpulse1D |
| Scalar linear impulse quantity. | |
| template<size_t N> | |
| using | LinearImpulseTensor = TensorQuantity<N, NewtonSeconds> |
| Tensor of linear impulse quantities. | |
| using | LinearImpulseTensor2D = LinearImpulseTensor<2> |
| Tensor of linear impulse quantities in 2-dimensional space. Unit: Newton seconds (AKA kilogram meters per second). | |
| using | LinearImpulseTensor3D = LinearImpulseTensor<3> |
| Tensor of linear impulse quantities in 3-dimensional space. Unit: Newton seconds (AKA kilogram meters per second). | |
| template<size_t N> | |
| using | LinearMomentum = Quantity<N, KilogramMetersPerSecond> |
| Linear momentum quantity. | |
| using | LinearMomentum1D = LinearMomentum<1> |
| Linear momentum in 1-dimensional space. Unit: Kilogram meters per second. | |
| using | LinearMomentum2D = LinearMomentum<2> |
| Linear momentum in 2-dimensional space. Unit: Kilogram meters per second. | |
| using | LinearMomentum3D = LinearMomentum<3> |
| Linear momentum in 3-dimensional space. Unit: Kilogram meters per second. | |
| using | Momentum = LinearMomentum1D |
| Scalar linear momentum quantity. | |
| template<size_t N> | |
| using | LinearMomentumTensor = TensorQuantity<N, KilogramMetersPerSecond> |
| Tensor of linear momentum quantities. | |
| using | LinearMomentumTensor2D = LinearMomentumTensor<2> |
| Tensor of linear momentum quantities in 2-dimensional space. Unit: Kilogram meters per second. | |
| using | LinearMomentumTensor3D = LinearMomentumTensor<3> |
| Tensor of linear momentum quantities in 3-dimensional space. Unit: Kilogram meters per second. | |
| template<size_t N> | |
| using | MomentOfInertia = AngularQuantity<N, KilogramSquareMeters> |
| Moment of inertia quantity. | |
| using | MomentOfInertia2D = MomentOfInertia<2> |
| Moment of inertia in 2-dimensional space. Unit: Kilogram square meters. | |
| using | MomentOfInertia3D = MomentOfInertia<3> |
| Moment of inertia in 3-dimensional space. Unit: Kilogram square meters. | |
| template<size_t N> | |
| using | MomentOfInertiaTensor = AngularTensorQuantity<N, KilogramSquareMeters> |
| Tensor of moment of inertia quantities. | |
| using | MomentOfInertiaTensor2D = MomentOfInertiaTensor<2> |
| Tensor of moment of inertia quantities in 2-dimensional space. Unit: Kilogram square meters. | |
| using | MomentOfInertiaTensor3D = MomentOfInertiaTensor<3> |
| Tensor of moment of inertia quantities in 3-dimensional space. Unit: Kilogram square meters. | |
| template<size_t N> | |
| using | InverseMomentOfInertia = AngularQuantity<N, PerKilogramSquareMeter> |
| Inverse moment of inertia quantity. | |
| using | InverseMomentOfInertia2D = InverseMomentOfInertia<2> |
| Inverse moment of inertia in 2-dimensional space. Unit: Kilogram square meters. | |
| using | InverseMomentOfInertia3D = InverseMomentOfInertia<3> |
| Inverse moment of inertia in 3-dimensional space. Unit: Kilogram square meters. | |
| template<size_t N> | |
| using | InverseMomentOfInertiaTensor = AngularTensorQuantity<N, PerKilogramSquareMeter> |
| Tensor of inverse moment of inertia quantities. | |
| using | InverseMomentOfInertiaTensor2D = InverseMomentOfInertiaTensor<2> |
| Tensor of inverse moment of inertia quantities in 2-dimensional space. Unit: Per kilogram square meter. | |
| using | InverseMomentOfInertiaTensor3D = InverseMomentOfInertiaTensor<3> |
| Tensor of inverse moment of inertia quantities in 3-dimensional space. Unit: Per kilogram square meter. | |
| template<size_t N> | |
| using | PrincipalMomentsOfInertia = AngularQuantity<N, KilogramSquareMeters> |
| Principal moments of inertia in inertia major axis space. | |
| using | PrincipalMomentsOfInertia2D = PrincipalMomentsOfInertia<2> |
| Principal moments of inertia in 2-dimensional inertia major axis space. Unit: kilogram square meters. | |
| using | PrincipalMomentsOfInertia3D = PrincipalMomentsOfInertia<3> |
| Principal moments of inertia in 3-dimensional inertia major axis space. Unit: kilogram square meters. | |
| using | LocalInertiaOrientation2D = LocalInertiaOrientation<2> |
| Local inertia orientation of an object in 2-dimensional space. Unit: Radians. | |
| using | LocalInertiaOrientation3D = LocalInertiaOrientation<3> |
| Local inertia orientation of an object in 3-dimensional space. Unit: Radians. | |
| template<size_t N> | |
| using | InversePrincipalMomentsOfInertia = AngularQuantity<N, Reciprocal<KilogramSquareMeters>> |
| Inverse principal moments of inertia in inertia major axis space. | |
| using | InversePrincipalMomentsOfInertia2D |
| Inverse principal moments of inertia in 2-dimensional inertia major axis space. Unit: Per kilogram square meter. | |
| using | InversePrincipalMomentsOfInertia3D |
| Inverse principal moments of inertia in 3-dimensional inertia major axis space. Unit: Per kilogram square meter. | |
| template<size_t N> | |
| using | MomentArm = AngularQuantity<N, Meters> |
| Moment arm quantity. | |
| using | MomentArm2D = MomentArm<2> |
| Moment arm in 2-dimensional space. Unit: Meters. | |
| using | MomentArm3D = MomentArm<3> |
| Moment arm in 3-dimensional space. Unit: Meters. | |
| template<size_t N> | |
| using | MomentArmTensor = TensorQuantity<N, Meters> |
| Tensor of moment arm quantities. | |
| using | MomentArmTensor2D = MomentArmTensor<2> |
| Tensor of moment arm quantities in 2-dimensional space. Unit: Meters. | |
| using | MomentArmTensor3D = MomentArmTensor<3> |
| Tensor of moment arm quantities in 3-dimensional space. Unit: Meters. | |
| template<size_t N> | |
| using | AngularAbsement = AngularQuantity<N, RadianSeconds> |
| Angular absement quantity. | |
| using | AngularAbsement2D = AngularAbsement<2> |
| Angular absement in 2-dimensional space. Unit: Radian seconds. | |
| using | AngularAbsement3D = AngularAbsement<3> |
| Angular absement in 3-dimensional space. Unit: Radian seconds. | |
| template<size_t N> | |
| using | AngularVelocity = AngularQuantity<N, RadiansPerSecond> |
| Angular velocity quantity. | |
| using | AngularVelocity2D = AngularVelocity<2> |
| Angular velocity in 2-dimensional space. Unit: Radians per second. | |
| using | AngularVelocity3D = AngularVelocity<3> |
| Angular velocity in 3-dimensional space. Unit: Radians per second. | |
| using | AngularSpeed = Quantity<1, RadiansPerSecond> |
| Scalar angular speed quantity. | |
| template<size_t N> | |
| using | AngularVelocityTensor = AngularTensorQuantity<N, RadiansPerSecond> |
| Tensor of angular velocity quantities. | |
| using | AngularVelocityTensor2D = AngularVelocityTensor<2> |
| Tensor of angular velocity quantities in 2-dimensional space. Unit: Radians per second. | |
| using | AngularVelocityTensor3D = AngularVelocityTensor<3> |
| Tensor of angular velocity quantities in 3-dimensional space. Unit: Radians per second. | |
| using | SquaredAngularSpeed = Quantity<1, Square<RadiansPerSecond>> |
| Scalar squared angular speed quantity. | |
| using | RollRate = AngularSpeed |
| Time derivative of roll. | |
| using | PitchYawRates = Quantity<2, RadiansPerSecond> |
| Time derivatives of pitch and yaw. | |
| using | PitchYawRollRates = Quantity<3, RadiansPerSecond> |
| Time derivatives of pitch, yaw and roll. | |
| template<size_t N> | |
| using | AngularAcceleration = AngularQuantity<N, RadiansPerSecondSquared> |
| Angular acceleration quantity. | |
| using | AngularAcceleration2D = AngularAcceleration<2> |
| Angular acceleration in 2-dimensional space. Unit: Radians per second squared. | |
| using | AngularAcceleration3D = AngularAcceleration<3> |
| Angular acceleration in 3-dimensional space. Unit: Radians per second squared. | |
| template<size_t N> | |
| using | AngularAccelerationTensor = AngularTensorQuantity<N, RadiansPerSecondSquared> |
| Tensor of angular acceleration quantities. | |
| using | AngularAccelerationTensor2D = AngularAccelerationTensor<2> |
| Tensor of angular acceleration quantities in 2-dimensional space. Unit: Radians per second squared. | |
| using | AngularAccelerationTensor3D = AngularAccelerationTensor<3> |
| Tensor of angular acceleration quantities in 3-dimensional space. Unit: Radians per second squared. | |
| template<size_t N> | |
| using | AngularImpulse = AngularQuantity<N, NewtonMeterSeconds> |
| Angular impulse quantity. | |
| using | AngularImpulse2D = AngularImpulse<2> |
| Angular impulse in 2-dimensional space. Unit: Newton meter seconds. | |
| using | AngularImpulse3D = AngularImpulse<3> |
| Angular impulse in 3-dimensional space. Unit: Newton meter seconds. | |
| template<size_t N> | |
| using | AngularImpulseTensor = AngularTensorQuantity<N, NewtonMeterSeconds> |
| Tensor of angular impulse quantities. | |
| using | AngularImpulseTensor2D |
| Tensor of angular impulse quantities in 2-dimensional space. Unit: Newton meter seconds (AKA kilogram square meters per second). | |
| using | AngularImpulseTensor3D |
| Tensor of angular impulse quantities in 3-dimensional space. Unit: Newton meter seconds (AKA kilogram square meters per second). | |
| template<size_t N> | |
| using | AngularMomentum = AngularQuantity<N, KilogramSquareMetersPerSecond> |
| Angular momentum quantity. | |
| using | AngularMomentum2D = AngularMomentum<2> |
| Angular momentum in 2-dimensional space. Unit: kilogram square meters per second. | |
| using | AngularMomentum3D = AngularMomentum<3> |
| Angular momentum in 3-dimensional space. Unit: kilogram square meters per second. | |
| template<size_t N> | |
| using | AngularMomentumTensor = AngularTensorQuantity<N, KilogramSquareMetersPerSecond> |
| Tensor of angular momentum quantities. | |
| using | AngularMomentumTensor2D = AngularMomentumTensor<2> |
| Tensor of angular momentum quantities in 2-dimensional space. Unit: Kilogram square meters per second. | |
| using | AngularMomentumTensor3D = AngularMomentumTensor<3> |
| Tensor of angular momentum quantities in 3-dimensional space. Unit: Kilogram square meters per second. | |
| using | LinearViscousDamping = Quantity<1, NewtonSecondsPerMeter> |
| Scalar linear viscous damping quantity. | |
| using | AngularViscousDamping = Quantity<1, NewtonMeterSecondsPerRadian> |
| Scalar angular viscous damping quantity. | |
| using | MassFlowRate = Quantity<1, KilogramsPerSecond> |
| Scalar mass flow rate quantity. | |
| using | VolumetricFlowRate = Quantity<1, CubicMetersPerSecond> |
| Scalar volumetric flow rate quantity. | |
| using | Work = Quantity<1, Joules> |
| Scalar mechanical work quantity. | |
| using | Power = Quantity<1, Watts> |
| Scalar mechanical power quantity. | |
| using | Energy = Quantity<1, Joules> |
| Scalar energy quantity. | |
| using | Stiffness = Quantity<1, NewtonPerMeter> |
| Stiffness quantity. | |
| using | Compliance = Quantity<1, MetersPerNewton> |
| Compliance quantity. | |
| using | Ray2D = Ray<2> |
| Description of a ray in 2-dimensional space. | |
| using | Ray3D = Ray<3> |
| Description of a ray in 3-dimensional space. | |
| using | RayHit2D = RayHit<2> |
| Result of a raycast hit in 2-dimensional space. | |
| using | RayHit3D = RayHit<3> |
| Result of a raycast hit in 3-dimensional space. | |
| using | RayHitInterior2D = RayHitInterior<2> |
| Result of a raycast interior hit in 2-dimensional space. | |
| using | RayHitInterior3D = RayHitInterior<3> |
| Result of a raycast interior hit in 3-dimensional space. | |
| using | RaycastResult2D = RaycastResult<2> |
| Result of a raycast in 2-dimensional space. | |
| using | RaycastResult3D = RaycastResult<3> |
| Result of a raycast in 3-dimensional space. | |
| using | Plane2D = Plane<2> |
| Description of an infinite plane in 2-dimensional space. | |
| using | Plane3D = Plane<3> |
| Description of an infinite plane in 3-dimensional space. | |
| using | LineSegment2D = LineSegment<2> |
| Description of a line segment in 2-dimensional space. | |
| using | LineSegment3D = LineSegment<3> |
| Description of a line segment in 3-dimensional space. | |
| using | Box2D = Box<2> |
| Description of an axis-aligned box in 2-dimensional space. | |
| using | Box3D = Box<3> |
| Description of an axis-aligned box in 3-dimensional space. | |
| using | Sphere2D = Sphere<2> |
| Description of a sphere in 2-dimensional space. | |
| using | Sphere3D = Sphere<3> |
| Description of a sphere in 3-dimensional space. | |
| using | Circle = Sphere2D |
| Description of a circle in 2-dimensional space. | |
| using | Triangle2D = Triangle<2> |
| Description of a triangle in 2-dimensional space. | |
| using | Triangle3D = Triangle<3> |
| Description of a triangle in 3-dimensional space. | |
| using | PointShape2D = PointShape<2> |
| Point shape in 2-dimensional space. | |
| using | PointShape3D = PointShape<3> |
| Point shape in 3-dimensional space. | |
| using | LineSegmentShape2D = LineSegmentShape<2> |
| Line segment shape parallel to the local Y axis in 2-dimensional space. | |
| using | LineSegmentShape3D = LineSegmentShape<3> |
| Line segment shape parallel to the local Y axis in 3-dimensional space. | |
| using | InfiniteLineShape2D = InfiniteLineShape<2> |
| Infinite line shape parallel to the local Y axis in 2-dimensional space. | |
| using | InfiniteLineShape3D = InfiniteLineShape<3> |
| Infinite line shape parallel to the local Y axis in 3-dimensional space. | |
| using | InfiniteHalfSpaceShape2D = InfiniteHalfSpaceShape<2> |
| Infinite half-space shape perpendicular to the local Y axis in 2-dimensional space. | |
| using | InfiniteHalfSpaceShape3D = InfiniteHalfSpaceShape<3> |
| Infinite half-space shape perpendicular to the local Y axis in 3-dimensional space. | |
| using | BoxShape2D = BoxShape<2> |
| Box shape in 2-dimensional space. | |
| using | BoxShape3D = BoxShape<3> |
| Box shape in 3-dimensional space. | |
| using | RectangleShape2D = BoxShape2D |
| Rectangle shape in 2-dimensional space. | |
| using | CubeShape2D = CubeShape<2> |
| Cube shape in 2-dimensional space. | |
| using | CubeShape3D = CubeShape<3> |
| Cube shape in 3-dimensional space. | |
| using | SquareShape2D = CubeShape2D |
| Square shape in 2-dimensional space. | |
| using | EllipsoidShape2D = EllipsoidShape<2> |
| Ellipsoid shape in 2-dimensional space. | |
| using | EllipsoidShape3D = EllipsoidShape<3> |
| Ellipsoid shape in 3-dimensional space. | |
| using | EllipseShape2D = EllipsoidShape2D |
| Ellipse shape in 2-dimensional space. | |
| using | SphereShape2D = SphereShape<2> |
| Sphere shape in 2-dimensional space. | |
| using | SphereShape3D = SphereShape<3> |
| Sphere shape in 3-dimensional space. | |
| using | CircleShape2D = SphereShape2D |
| Circle shape in 2-dimensional space. | |
| using | CapsuleShape2D = CapsuleShape<2> |
| Capsule shape aligned with the local Y axis in 2-dimensional space. | |
| using | CapsuleShape3D = CapsuleShape<3> |
| Capsule shape aligned with the local Y axis in 3-dimensional space. | |
| using | StadiumShape2D = CapsuleShape2D |
| Stadium shape in 2-dimensional space. | |
| using | TaperedCapsuleShape2D = TaperedCapsuleShape<2> |
| Tapered capsule shape aligned with the local Y axis in 2-dimensional space. | |
| using | TaperedCapsuleShape3D = TaperedCapsuleShape<3> |
| Tapered capsule shape aligned with the local Y axis in 3-dimensional space. | |
| using | ConvexPolytopeShape2D = ConvexPolytopeShape<2> |
| Convex polytope shape in 2-dimensional space. | |
| using | ConvexPolytopeShape3D = ConvexPolytopeShape<3> |
| Convex polytope shape in 3-dimensional space. | |
| using | TriangleMeshShape2D = TriangleMeshShape<2> |
| Triangle mesh shape in 2-dimensional space. | |
| using | TriangleMeshShape3D = TriangleMeshShape<3> |
| Triangle mesh shape in 3-dimensional space. | |
| using | LocallyTransformedShape2D = LocallyTransformedShape<2> |
| Wrapper of another shape with a local transformation applied to it in 2-dimensional space. | |
| using | LocallyTransformedShape3D = LocallyTransformedShape<3> |
| Wrapper of another shape with a local transformation applied to it in 3-dimensional space. | |
| using | SubCollider2D = SubCollider<2> |
| Sub-collider of a compound collider shape in 2-dimensional space. | |
| using | SubCollider3D = SubCollider<3> |
| Sub-collider of a compound collider shape in 3-dimensional space. | |
| using | CompoundColliderShape2D = CompoundColliderShape<2> |
| Shape that combines multiple colliders in 2-dimensional space. | |
| using | CompoundColliderShape3D = CompoundColliderShape<3> |
| Shape that combines multiple colliders in 3-dimensional space. | |
| using | Shape2D = Shape<2> |
| Generic shape in 2-dimensional space. | |
| using | Shape3D = Shape<3> |
| Generic shape in 3-dimensional space. | |
| using | Collider2D = Collider<2> |
| Generic collider in 2-dimensional space. | |
| using | Collider3D = Collider<3> |
| Generic collider in 3-dimensional space. | |
| using | ShapeView2D = ShapeView<2> |
| View of a generic shape in 2-dimensional space. | |
| using | ShapeView3D = ShapeView<3> |
| View of a generic shape in 3-dimensional space. | |
| using | ConvexShapeView2D = ConvexShapeView<2> |
| View of a generic convex shape in 2-dimensional space. | |
| using | ConvexShapeView3D = ConvexShapeView<3> |
| View of a generic convex shape in 3-dimensional space. | |
| using | ConvexPolytopeShapeView2D = ConvexPolytopeShapeView<2> |
| View of a generic convex polytope shape in 2-dimensional space. | |
| using | ConvexPolytopeShapeView3D = ConvexPolytopeShapeView<3> |
| View of a generic convex polytope shape in 3-dimensional space. | |
| using | ColliderView2D = ColliderView<2> |
| View of a generic collider in 2-dimensional space. | |
| using | ColliderView3D = ColliderView<3> |
| View of a generic collider in 3-dimensional space. | |
| using | SimulationOptions2D = SimulationOptions<2> |
| Configuration options for a 2-dimensional Simulation. | |
| using | SimulationOptions3D = SimulationOptions<3> |
| Configuration options for a 3-dimensional Simulation. | |
| template<size_t N> | |
| using | EntityRegistry |
| Entity registry used by a Simulation. | |
| using | EntityRegistry2D = EntityRegistry<2> |
| Entity registry used by a 2-dimensional Simulation. | |
| using | EntityRegistry3D = EntityRegistry<3> |
| Entity registry used by a 3-dimensional Simulation. | |
| template<size_t N> | |
| using | ResourceRegistry |
| Resource registry used by a Simulation. | |
| using | ResourceRegistry2D = ResourceRegistry<2> |
| Resource registry used by a 2-dimensional Simulation. | |
| using | ResourceRegistry3D = ResourceRegistry<3> |
| Resource registry used by a 3-dimensional Simulation. | |
| template<size_t N> | |
| using | EntityBuilder = execution::EntityBuilder<EntityRegistry<N>> |
| Entity builder used by a Simulation. | |
| using | EntityBuilder2D = EntityBuilder<2> |
| Entity builder used by a 2-dimensional Simulation. | |
| using | EntityBuilder3D = EntityBuilder<3> |
| Entity builder used by a 3-dimensional Simulation. | |
| template<size_t N> | |
| using | Scheduler = execution::Scheduler<EntityRegistry<N>, ResourceRegistry<N>> |
| Scheduler used by a Simulation. | |
| using | Scheduler2D = Scheduler<2> |
| Scheduler used by a 2-dimensional Simulation. | |
| using | Scheduler3D = Scheduler<3> |
| Scheduler used by a 3-dimensional Simulation. | |
| template<size_t N> | |
| using | Schedule = execution::Schedule<EntityRegistry<N>, ResourceRegistry<N>> |
| Schedule used by a Simulation. | |
| using | Schedule2D = Schedule<2> |
| Schedule used by a 2-dimensional Simulation. | |
| using | Schedule3D = Schedule<3> |
| Schedule used by a 3-dimensional Simulation. | |
| using | ScheduleStepOptions2D = ScheduleStepOptions<2> |
| Options for scheduling a step of a 2-dimensional Simulation. | |
| using | ScheduleStepOptions3D = ScheduleStepOptions<3> |
| Options for scheduling a step of a 3-dimensional Simulation. | |
| using | Simulation2D = Simulation<2> |
| Discrete-time simulation of physical interactions between objects and joints in 2-dimensional space. | |
| using | Simulation3D = Simulation<3> |
| Discrete-time simulation of physical interactions between objects and joints in 3-dimensional space. | |
Enumerations | |
| enum class | ContactFeatureType : uint8_t { GENERIC_CONVEX_SURFACE , CONVEX_POLYTOPE_FACE , CONVEX_POLYTOPE_EDGE , TRIANGLE_MESH_FACE , TRIANGLE_MESH_EDGE } |
| Type of a potentially colliding feature in a contact between two objects. More... | |
Functions | |
| CollisionFilterTestResult | containsPoint (const Position2D &pointA, CollisionFilter filterA, ColliderView2D colliderB, const Transformation2D &transformationB, CollisionFilterTest filterTest={}) |
| Check if a collider contains a given point. | |
| CollisionFilterTestResult | containsPoint (const Position3D &pointA, CollisionFilter filterA, ColliderView3D colliderB, const Transformation3D &transformationB, CollisionFilterTest filterTest={}) |
| Check if a collider contains a given point. | |
| Pair< RaycastResult2D, CollisionFilterTestResult > | raycast (const Ray2D &rayA, CollisionFilter filterA, ColliderView2D colliderB, const Transformation2D &transformationB, CollisionFilterTest filterTest={}) |
| Find the first collision of a ray with a collider. | |
| Pair< RaycastResult3D, CollisionFilterTestResult > | raycast (const Ray3D &rayA, CollisionFilter filterA, ColliderView3D colliderB, const Transformation3D &transformationB, CollisionFilterTest filterTest={}) |
| Find the first collision of a ray with a collider. | |
| Pair< ShapecastResult2D, CollisionFilterTestResult > | shapecast (ConvexShapeView2D convexShapeA, CollisionFilter filterA, const Transformation2D &transformationA, ColliderView2D colliderB, const Transformation2D &transformationB, Direction2D direction, Distance maxDistance, const CollisionAlgorithmOptions2D &options, CollisionFilterTest filterTest={}) |
| Find the first collision between a convex shape a collider when the convex shape is cast from a given starting transformation towards a given direction. | |
| Pair< ShapecastResult3D, CollisionFilterTestResult > | shapecast (ConvexShapeView3D convexShapeA, CollisionFilter filterA, const Transformation3D &transformationA, ColliderView3D colliderB, const Transformation3D &transformationB, Direction3D direction, Distance maxDistance, const CollisionAlgorithmOptions3D &options, CollisionFilterTest filterTest={}) |
| Find the first collision between a convex shape a collider when the convex shape is cast from a given starting transformation towards a given direction. | |
| Coefficient | calculateCombinedStaticFriction (Coefficient staticFrictionA, Coefficient staticFrictionB, Material::FrictionCombine frictionCombineA, Material::FrictionCombine frictionCombineB) |
| Combine the static friction of two objects based on their friction combination modes. | |
| Coefficient | calculateCombinedKineticFriction (Coefficient kineticFrictionA, Coefficient kineticFrictionB, Material::FrictionCombine frictionCombineA, Material::FrictionCombine frictionCombineB) |
| Combine the kinetic friction of two objects based on their friction combination modes. | |
| Coefficient | calculateCombinedRollingResistance (Coefficient rollingResistanceA, Coefficient rollingResistanceB, Material::FrictionCombine frictionCombineA, Material::FrictionCombine frictionCombineB) |
| Combine the rolling resistance of two objects based on their friction combination modes. | |
| Coefficient | calculateCombinedRestitution (Coefficient restitutionA, Coefficient restitutionB, Material::RestitutionCombine restitutionCombineA, Material::RestitutionCombine restitutionCombineB) |
| Combine the restitution of two objects based on their restitution combination modes. | |
| InverseMass | calculateInverseMass (Mass mass) |
| Calculate the inverse mass of a given mass, while accounting for 0 and infinity. | |
| Mass | calculateMass (InverseMass inverseMass) |
| Calculate the mass of a given inverse mass, while accounting for 0 and infinity. | |
| InverseMomentOfInertia2D | calculateInverseMomentOfInertia (MomentOfInertia2D momentOfInertia) |
| Calculate the inverse moment of inertia of a given moment of inertia, while accounting for 0 and infinity. | |
| InverseMomentOfInertia3D | calculateInverseMomentOfInertia (MomentOfInertia3D momentOfInertia) |
| Calculate the inverse moment of inertia of a given moment of inertia, while accounting for 0 and infinity. | |
| MomentOfInertia2D | calculateMomentOfInertia (InverseMomentOfInertia2D inverseMomentOfInertia) |
| Calculate the moment of inertia of a given inverse moment of inertia, while accounting for 0 and infinity. | |
| MomentOfInertia3D | calculateMomentOfInertia (InverseMomentOfInertia3D inverseMomentOfInertia) |
| Calculate the moment of inertia of a given inverse moment of inertia, while accounting for 0 and infinity. | |
| template<size_t N> | |
| PrincipalMomentsOfInertia< N > | calculatePrincipalMomentsOfInertia (const Shape< N > &shape, Mass mass) |
| Calculate the principal moments of inertia of an object given its shape and mass. | |
| MomentOfInertiaTensor2D | calculateMomentOfInertiaTensor (PrincipalMomentsOfInertia2D principalMomentsOfInertia, LocalInertiaOrientation2D localInertiaOrientation, Orientation2D orientation) |
| Calculate the world-space moment of inertia tensor of an object given its principal moments of inertia, the local orientation of the inertia frame, and the world-space orientation of the object. | |
| MomentOfInertiaTensor3D | calculateMomentOfInertiaTensor (PrincipalMomentsOfInertia3D principalMomentsOfInertia, LocalInertiaOrientation3D localInertiaOrientation, Orientation3D orientation) |
| Calculate the world-space moment of inertia tensor of an object given its principal moments of inertia, the local orientation of the inertia frame, and the world-space orientation of the object. | |
| InverseMomentOfInertiaTensor2D | calculateInverseMomentOfInertiaTensor (InversePrincipalMomentsOfInertia2D inversePrincipalMomentsOfInertia, LocalInertiaOrientation2D localInertiaOrientation, Orientation2D orientation) |
| Calculate the world-space inverse moment of inertia tensor of an object given its inverse principal moments of inertia, the local orientation of the inertia frame, and the world-space orientation of the object. | |
| InverseMomentOfInertiaTensor3D | calculateInverseMomentOfInertiaTensor (InversePrincipalMomentsOfInertia3D inversePrincipalMomentsOfInertia, LocalInertiaOrientation3D localInertiaOrientation, Orientation3D orientation) |
| Calculate the world-space inverse moment of inertia tensor of an object given its inverse principal moments of inertia, the local orientation of the inertia frame, and the world-space orientation of the object. | |
| template<size_t N> | |
| Mass | calculateCombinedEffectiveMassAlongAxis (InverseMass inverseMassA, InverseMass inverseMassB, const InverseMomentOfInertiaTensor< N > &inverseMomentOfInertiaTensorA, const InverseMomentOfInertiaTensor< N > &inverseMomentOfInertiaTensorB, Length< N > offsetA, Length< N > offsetB, Direction< N > axis) |
| Calculate the combined effective mass of two points on two different objects along a given axis. | |
| template<size_t N> | |
| Quantity< N, Mass::Unit > | calculateCombinedEffectiveMassesAlongAxes (InverseMass inverseMassA, InverseMass inverseMassB, const InverseMomentOfInertiaTensor< N > &inverseMomentOfInertiaTensorA, const InverseMomentOfInertiaTensor< N > &inverseMomentOfInertiaTensorB, Length< N > offsetA, Length< N > offsetB, OrthonormalBasis< N > axes) |
| Calculate the combined effective mass of two points on two different objects along each axis of a given orthonormal basis. | |
| MomentOfInertia2D | calculateCombinedEffectiveMomentOfInertiaAroundAxis (const InverseMomentOfInertiaTensor3D &inverseMomentOfInertiaTensorA, const InverseMomentOfInertiaTensor3D &inverseMomentOfInertiaTensorB, Direction3D axis) |
| Calculate the combined effective moment of inertia of two objects around a given axis. | |
| template<size_t N> | |
| MomentOfInertiaTensor< N > | calculateCombinedEffectiveMomentOfInertiaTensor (const InverseMomentOfInertiaTensor< N > &inverseMomentOfInertiaTensorA, const InverseMomentOfInertiaTensor< N > &inverseMomentOfInertiaTensorB) |
| Calculate the combined effective moment of inertia tensor of two objects. | |
| template<size_t N> | |
| LinearVelocity< N > | calculatePointVelocity (LinearVelocity< N > linearVelocity, AngularVelocity< N > angularVelocity, Length< N > offset) |
| Calculate the linear velocity of a point on an object with linear and angular velocity. | |
| template<size_t N> | |
| void | applyImpulse (LinearVelocity< N > &linearVelocity, AngularVelocity< N > &angularVelocity, InverseMass inverseMass, const InverseMomentOfInertiaTensor< N > &inverseMomentOfInertiaTensor, LinearImpulse< N > impulse, Length< N > offset) |
| Apply a world-space impulse to an object's velocity. | |
| template<size_t N> | |
| void | applyCorrectionImpulse (ObjectActivity &activity, LinearVelocity< N > &linearVelocity, AngularVelocity< N > &angularVelocity, InverseMass inverseMass, const InverseMomentOfInertiaTensor< N > &inverseMomentOfInertiaTensor, LinearImpulse< N > impulse, Length< N > offset) |
| Apply a world-space impulse to an object's velocity, making it active and marking it as corrected, unless the object is not correctable. | |
| template<size_t N> | |
| void | applyLinearImpulse (LinearVelocity< N > &linearVelocity, InverseMass inverseMass, LinearImpulse< N > linearImpulse) |
| Apply a world-space linear impulse to an object's velocity at its center of mass. | |
| template<size_t N> | |
| void | applyLinearCorrectionImpulse (ObjectActivity &activity, LinearVelocity< N > &linearVelocity, InverseMass inverseMass, LinearImpulse< N > linearImpulse) |
| Apply a world-space linear impulse to an object's velocity at its center of mass, making it active and marking it as corrected, unless the object is not correctable. | |
| template<size_t N> | |
| void | applyAngularImpulse (AngularVelocity< N > &angularVelocity, const InverseMomentOfInertiaTensor< N > &inverseMomentOfInertiaTensor, AngularImpulse< N > angularImpulse) |
| Apply a world-space angular impulse to an object's velocity at its center of mass. | |
| template<size_t N> | |
| void | applyAngularCorrectionImpulse (ObjectActivity &activity, AngularVelocity< N > &angularVelocity, const InverseMomentOfInertiaTensor< N > &inverseMomentOfInertiaTensor, AngularImpulse< N > angularImpulse) |
| Apply a world-space angular impulse to an object's velocity at its center of mass, making it active and marking it as corrected, unless the object is not correctable. | |
| template<unit UnitT1, unit UnitT2> | |
| consteval bool | operator== (UnitT1 a, UnitT2 b) |
| Compare two physical units for equality. | |
| template<unit UnitT> requires (!UnitT::MagnitudeType::IS_ABSOLUTE) | |
| consteval auto | operator+ (const UnitT &a) |
| Get the unit resulting from taking the additive identity of a quantity of a unit. | |
| template<unit UnitT> requires (!UnitT::MagnitudeType::IS_ABSOLUTE) | |
| consteval auto | operator- (const UnitT &a) |
| Get the unit resulting from taking the additive inverse of a quantity of a unit. | |
| template<unit UnitT> requires (!UnitT::MagnitudeType::IS_ABSOLUTE) | |
| consteval auto | operator+ (const UnitT &a, const UnitT &b) |
| Get the unit resulting from adding two quantities of the same unit. | |
| template<unit UnitT> requires (!UnitT::MagnitudeType::IS_ABSOLUTE) | |
| consteval auto | operator- (const UnitT &a, const UnitT &b) |
| Get the unit resulting from subtracting two quantities of the same unit. | |
| template<unit UnitT1, unit UnitlessT2> requires (UnitlessT2::DIMENSION == DIMENSIONLESS && UnitlessT2::MagnitudeType::VALUE == 1.0l && !UnitlessT2::MagnitudeType::IS_ABSOLUTE) | |
| consteval auto | operator* (const UnitT1 &a, const UnitlessT2 &b) |
| Get the unit resulting from multiplying a unit by a dimensionless unit with a magnitude of 1. | |
| template<unit UnitlessT1, unit UnitT2> requires (UnitlessT1::DIMENSION == DIMENSIONLESS && UnitlessT1::MagnitudeType::VALUE == 1.0l && !UnitlessT1::MagnitudeType::IS_ABSOLUTE) | |
| consteval auto | operator* (const UnitlessT1 &a, const UnitT2 &b) |
| Get the unit resulting from multiplying a dimensionless unit with a magnitude of 1 with another unit. | |
| template<unit UnitT1, unit UnitlessT2> requires (UnitlessT2::DIMENSION == DIMENSIONLESS && UnitlessT2::MagnitudeType::VALUE == 1.0l && !UnitlessT2::MagnitudeType::IS_ABSOLUTE) | |
| consteval auto | operator/ (const UnitT1 &a, const UnitlessT2 &b) |
| Get the unit resulting from dividing a unit by a dimensionless unit with a magnitude of 1. | |
| template<long double Multiple, unit UnitT> | |
| consteval auto | multipleOf (UnitT a) |
| Get the canonical unit corresponding to a given unit with its magnitude scaled by a given multiplier. | |
| template<unit UnitT> | |
| consteval auto | relative (UnitT a) |
| Get the canonical unit corresponding to a given unit with its magnitude made relative. | |
| template<unit UnitT> | |
| consteval auto | absolute (UnitT a) |
| Get the canonical unit corresponding to a given unit with its magnitude made absolute. | |
| template<unit UnitT> | |
| consteval auto | sqrt (UnitT a) |
| Get the canonical unit resulting from taking the square root of a quantity of a given unit. | |
| template<unit UnitT> | |
| consteval auto | per (UnitT a) |
| Get the canonical unit resulting from taking the multiplicative inverse of a quantity of a given unit. | |
| template<unit UnitT> | |
| consteval auto | square (UnitT a) |
| Get the canonical unit resulting from squaring a quantity of a given unit. | |
| template<unit UnitT> | |
| consteval auto | cubic (UnitT a) |
| Get the canonical unit resulting from taking the cube of a quantity of a given unit. | |
| template<unit UnitT> | |
| consteval auto | kilo (UnitT a) |
| Get the canonical unit corresponding to a given unit with its magnitude scaled by 1000. | |
| template<unit UnitT> | |
| consteval auto | deci (UnitT a) |
| Get the canonical unit corresponding to a given unit with its magnitude scaled by 1/10. | |
| template<unit UnitT> | |
| consteval auto | centi (UnitT a) |
| Get the canonical unit corresponding to a given unit with its magnitude scaled by 1/100. | |
| template<unit UnitT> | |
| consteval auto | milli (UnitT a) |
| Get the canonical unit corresponding to a given unit with its magnitude scaled by 1/1000. | |
| template<size_t N, typename UnitT, unit OtherUnitT> | |
| GREM_ALWAYS_INLINE constexpr auto GREM_VECTORCALL | operator* (Quantity< N, UnitT > value, OtherUnitT) |
| template<unit OtherUnitT> | |
| GREM_ALWAYS_INLINE constexpr auto GREM_VECTORCALL | operator* (detail::quantity_convertible auto value, OtherUnitT unit) |
| template<unit OtherUnitT, size_t N, typename UnitT> | |
| GREM_ALWAYS_INLINE constexpr auto GREM_VECTORCALL | operator* (OtherUnitT, Quantity< N, UnitT > value) |
| template<unit OtherUnitT> | |
| GREM_ALWAYS_INLINE constexpr auto GREM_VECTORCALL | operator* (OtherUnitT unit, detail::quantity_convertible auto value) |
| template<size_t N, typename UnitT, unit OtherUnitT> | |
| GREM_ALWAYS_INLINE constexpr auto GREM_VECTORCALL | operator/ (Quantity< N, UnitT > value, OtherUnitT) |
| template<unit OtherUnitT> | |
| GREM_ALWAYS_INLINE constexpr auto GREM_VECTORCALL | operator/ (detail::quantity_convertible auto value, OtherUnitT unit) |
| template<unit OtherUnitT, size_t N, typename UnitT> | |
| GREM_ALWAYS_INLINE constexpr auto GREM_VECTORCALL | operator/ (OtherUnitT, Quantity< N, UnitT > value) |
| template<unit OtherUnitT> | |
| GREM_ALWAYS_INLINE constexpr auto GREM_VECTORCALL | operator/ (OtherUnitT unit, detail::quantity_convertible auto value) |
| template<detail::quantity_unary_operand A> | |
| GREM_ALWAYS_INLINE constexpr auto GREM_VECTORCALL | operator+ (A a) |
| template<detail::quantity_unary_operand A> | |
| GREM_ALWAYS_INLINE constexpr auto GREM_VECTORCALL | operator- (A a) |
| template<detail::quantity_binary_operand_a A, detail::quantity_binary_operand_b< A > B> | |
| GREM_ALWAYS_INLINE constexpr auto GREM_VECTORCALL | operator+ (A a, B b) |
| template<size_t N, typename UnitT> | |
| GREM_ALWAYS_INLINE constexpr Quantity< N, UnitT > &GREM_VECTORCALL | operator+= (Quantity< N, UnitT > &a, detail::quantity_convertible auto b) |
| template<detail::quantity_binary_operand_a A, detail::quantity_binary_operand_b< A > B> | |
| GREM_ALWAYS_INLINE constexpr auto GREM_VECTORCALL | operator- (A a, B b) |
| template<size_t N, typename UnitT> | |
| GREM_ALWAYS_INLINE constexpr Quantity< N, UnitT > &GREM_VECTORCALL | operator-= (Quantity< N, UnitT > &a, detail::quantity_convertible auto b) |
| template<detail::quantity_binary_operand_a A, detail::quantity_binary_operand_b< A > B> | |
| GREM_ALWAYS_INLINE constexpr auto GREM_VECTORCALL | operator* (A a, B b) |
| template<size_t N, typename UnitT> | |
| GREM_ALWAYS_INLINE constexpr Quantity< N, UnitT > &GREM_VECTORCALL | operator*= (Quantity< N, UnitT > &a, detail::quantity_convertible auto b) |
| template<detail::quantity_binary_operand_a A, detail::quantity_binary_operand_b< A > B> | |
| GREM_ALWAYS_INLINE constexpr auto GREM_VECTORCALL | operator/ (A a, B b) |
| template<size_t N, typename UnitT> | |
| GREM_ALWAYS_INLINE constexpr Quantity< N, UnitT > &GREM_VECTORCALL | operator/= (Quantity< N, UnitT > &a, detail::quantity_convertible auto b) |
| template<size_t N1, typename UnitT1, size_t N2, typename UnitT2> | |
| GREM_ALWAYS_INLINE constexpr auto GREM_VECTORCALL | min (Quantity< N1, UnitT1 > a, Quantity< N2, UnitT2 > b) |
| template<size_t N1, typename UnitT1, size_t N2, typename UnitT2> | |
| GREM_ALWAYS_INLINE constexpr auto GREM_VECTORCALL | max (Quantity< N1, UnitT1 > a, Quantity< N2, UnitT2 > b) |
| template<size_t N1, typename UnitT1, size_t N2, typename UnitT2, size_t N3, typename UnitT3> | |
| GREM_ALWAYS_INLINE constexpr auto GREM_VECTORCALL | clamp (Quantity< N1, UnitT1 > a, Quantity< N2, UnitT2 > b, Quantity< N3, UnitT3 > c) |
| template<detail::quantity_unary_operand A> | |
| GREM_ALWAYS_INLINE constexpr auto GREM_VECTORCALL | sum (A a) |
| template<detail::quantity_unary_operand A> | |
| GREM_ALWAYS_INLINE constexpr auto GREM_VECTORCALL | product (A a) |
| template<detail::quantity_unary_operand A> | |
| GREM_ALWAYS_INLINE constexpr auto GREM_VECTORCALL | minComponent (A a) |
| template<detail::quantity_unary_operand A> | |
| GREM_ALWAYS_INLINE constexpr auto GREM_VECTORCALL | maxComponent (A a) |
| template<detail::quantity_unary_operand A> | |
| GREM_ALWAYS_INLINE auto GREM_VECTORCALL | isfinite (A a) |
| template<detail::quantity_unary_operand A> | |
| GREM_ALWAYS_INLINE auto GREM_VECTORCALL | isinf (A a) |
| template<detail::quantity_unary_operand A> | |
| GREM_ALWAYS_INLINE auto GREM_VECTORCALL | isnan (A a) |
| template<detail::quantity_unary_operand A> | |
| GREM_ALWAYS_INLINE auto GREM_VECTORCALL | signbit (A a) |
| template<detail::quantity_unary_operand A> | |
| GREM_ALWAYS_INLINE constexpr auto GREM_VECTORCALL | sign (A a) |
| template<detail::quantity_unary_operand A> | |
| GREM_ALWAYS_INLINE auto GREM_VECTORCALL | exp (A a) |
| template<detail::quantity_unary_operand A> | |
| GREM_ALWAYS_INLINE auto GREM_VECTORCALL | exp2 (A a) |
| template<detail::quantity_binary_operand_a A, detail::quantity_binary_operand_b< A > B> | |
| GREM_ALWAYS_INLINE auto GREM_VECTORCALL | pow (A a, B b) |
| template<detail::quantity_binary_operand_a A, detail::quantity_binary_operand_b< A > B> | |
| GREM_ALWAYS_INLINE auto GREM_VECTORCALL | fmod (A a, B b) |
| template<detail::quantity_binary_operand_a A, detail::quantity_binary_operand_b< A > B> | |
| GREM_ALWAYS_INLINE auto GREM_VECTORCALL | wrap (A a, B b) |
| template<detail::quantity_unary_operand A> | |
| GREM_ALWAYS_INLINE auto GREM_VECTORCALL | abs (A a) |
| template<detail::quantity_binary_operand_a A, detail::quantity_binary_operand_b< A > B> | |
| GREM_ALWAYS_INLINE constexpr auto GREM_VECTORCALL | dot (A a, B b) |
| template<detail::quantity_binary_operand_a A, detail::quantity_binary_operand_b< A > B> | |
| GREM_ALWAYS_INLINE constexpr auto GREM_VECTORCALL | cross (A a, B b) |
| template<detail::quantity_unary_operand A> | |
| GREM_ALWAYS_INLINE constexpr auto GREM_VECTORCALL | sqrt (A a) |
| template<detail::quantity_unary_operand A> | |
| GREM_ALWAYS_INLINE constexpr auto GREM_VECTORCALL | inversesqrt (A a) |
| template<detail::quantity_unary_operand A> | |
| GREM_ALWAYS_INLINE constexpr auto GREM_VECTORCALL | length2 (A a) |
| template<detail::quantity_unary_operand A> | |
| GREM_ALWAYS_INLINE constexpr auto GREM_VECTORCALL | length (A a) |
| template<detail::quantity_binary_operand_a A, detail::quantity_binary_operand_b< A > B> | |
| GREM_ALWAYS_INLINE constexpr auto GREM_VECTORCALL | distance (A a, B b) |
| template<detail::quantity_binary_operand_a A, detail::quantity_binary_operand_b< A > B> | |
| GREM_ALWAYS_INLINE constexpr auto GREM_VECTORCALL | distance2 (A a, B b) |
| template<detail::quantity_unary_operand A> | |
| GREM_ALWAYS_INLINE constexpr auto GREM_VECTORCALL | getAngle (A a) |
| template<detail::quantity_unary_operand A> | |
| GREM_ALWAYS_INLINE constexpr auto GREM_VECTORCALL | tryGetAngle (A a) |
| template<detail::quantity_unary_operand A> | |
| GREM_ALWAYS_INLINE constexpr auto GREM_VECTORCALL | cos (A a) |
| template<detail::quantity_unary_operand A> | |
| GREM_ALWAYS_INLINE constexpr auto GREM_VECTORCALL | sin (A a) |
| template<detail::quantity_unary_operand A> | |
| GREM_ALWAYS_INLINE constexpr auto GREM_VECTORCALL | tan (A a) |
| template<detail::quantity_unary_operand A> | |
| GREM_ALWAYS_INLINE constexpr auto GREM_VECTORCALL | acos (A a) |
| template<detail::quantity_unary_operand A> | |
| GREM_ALWAYS_INLINE constexpr auto GREM_VECTORCALL | asin (A a) |
| template<detail::quantity_unary_operand A> | |
| GREM_ALWAYS_INLINE constexpr auto GREM_VECTORCALL | atan (A a) |
| template<detail::quantity_binary_operand_a A, detail::quantity_binary_operand_b< A > B> | |
| GREM_ALWAYS_INLINE constexpr auto GREM_VECTORCALL | atan2 (A a, B b) |
| template<detail::quantity_binary_operand_a A, detail::quantity_binary_operand_b< A > B> | |
| GREM_ALWAYS_INLINE constexpr auto GREM_VECTORCALL | tryDivide (A a, B b) |
| template<detail::quantity_binary_operand_a A, detail::quantity_binary_operand_b< A > B> | |
| GREM_ALWAYS_INLINE constexpr auto GREM_VECTORCALL | reflect (A a, B normal) |
| template<detail::quantity_ternary_operand_a A, detail::quantity_ternary_operand_b< A > B, detail::quantity_ternary_operand_c< A, B > C> | |
| GREM_ALWAYS_INLINE constexpr auto GREM_VECTORCALL | lerp (A a, B b, C alpha) |
| template<detail::quantity_ternary_operand_a A, detail::quantity_ternary_operand_b< A > B, detail::quantity_ternary_operand_c< A, B > C> | |
| GREM_ALWAYS_INLINE constexpr auto GREM_VECTORCALL | unlerp (A value, B minValue, C maxValue) |
| template<detail::quantity_ternary_operand_a A, detail::quantity_ternary_operand_b< A > B, detail::quantity_ternary_operand_c< A, B > C> | |
| GREM_ALWAYS_INLINE constexpr auto GREM_VECTORCALL | mix (A a, B b, C alpha) |
| template<detail::quantity_binary_operand_a A, detail::quantity_binary_operand_b< A > B> | |
| GREM_ALWAYS_INLINE constexpr auto GREM_VECTORCALL | step (A edge, B value) |
| template<detail::quantity_binary_operand_a A, detail::quantity_binary_operand_b< A > B> | |
| GREM_ALWAYS_INLINE constexpr auto GREM_VECTORCALL | select (auto condition, A ifTrue, B ifFalse) |
| template<detail::quantity_ternary_operand_a A, detail::quantity_ternary_operand_b< A > B, detail::quantity_ternary_operand_c< A, B > C> | |
| GREM_ALWAYS_INLINE constexpr auto GREM_VECTORCALL | moveTowards (A value, B targetValue, C amount) |
| template<detail::quantity_binary_operand_a A, detail::quantity_binary_operand_b< A > B, typename Frequency, typename Duration> | |
| GREM_ALWAYS_INLINE constexpr auto GREM_VECTORCALL | expDecay (A value, B targetValue, Frequency decayRate, Duration deltaTime) |
| template<detail::quantity_unary_operand A, typename Frequency, typename Duration> | |
| GREM_ALWAYS_INLINE constexpr auto GREM_VECTORCALL | expDecay (A value, Frequency decayRate, Duration deltaTime) |
| template<detail::quantity_binary_operand_a A, detail::quantity_binary_operand_b< A > B> | |
| GREM_ALWAYS_INLINE constexpr auto GREM_VECTORCALL | midpoint (A a, B b) |
| template<detail::quantity_unary_operand A> | |
| GREM_ALWAYS_INLINE constexpr auto GREM_VECTORCALL | round (A a) |
| template<detail::quantity_unary_operand A> | |
| GREM_ALWAYS_INLINE constexpr auto GREM_VECTORCALL | floor (A a) |
| template<detail::quantity_unary_operand A> | |
| GREM_ALWAYS_INLINE constexpr auto GREM_VECTORCALL | ceil (A a) |
| template<detail::quantity_binary_operand_a A, detail::quantity_binary_operand_b< A > B> | |
| GREM_ALWAYS_INLINE constexpr auto GREM_VECTORCALL | equal (A a, B b) |
| template<detail::quantity_unary_operand A> | |
| GREM_ALWAYS_INLINE constexpr auto GREM_VECTORCALL | equal (A a, Zero) |
| template<detail::quantity_unary_operand B> | |
| GREM_ALWAYS_INLINE constexpr auto GREM_VECTORCALL | equal (Zero, B b) |
| template<detail::quantity_binary_operand_a A, detail::quantity_binary_operand_b< A > B> | |
| GREM_ALWAYS_INLINE constexpr auto GREM_VECTORCALL | notEqual (A a, B b) |
| template<detail::quantity_unary_operand A> | |
| GREM_ALWAYS_INLINE constexpr auto GREM_VECTORCALL | notEqual (A a, Zero) |
| template<detail::quantity_unary_operand B> | |
| GREM_ALWAYS_INLINE constexpr auto GREM_VECTORCALL | notEqual (Zero, B b) |
| template<detail::quantity_binary_operand_a A, detail::quantity_binary_operand_b< A > B> | |
| GREM_ALWAYS_INLINE constexpr auto GREM_VECTORCALL | lessThan (A a, B b) |
| template<detail::quantity_unary_operand A> | |
| GREM_ALWAYS_INLINE constexpr auto GREM_VECTORCALL | lessThan (A a, Zero) |
| template<detail::quantity_unary_operand B> | |
| GREM_ALWAYS_INLINE constexpr auto GREM_VECTORCALL | lessThan (Zero, B b) |
| template<detail::quantity_binary_operand_a A, detail::quantity_binary_operand_b< A > B> | |
| GREM_ALWAYS_INLINE constexpr auto GREM_VECTORCALL | lessThanEqual (A a, B b) |
| template<detail::quantity_unary_operand A> | |
| GREM_ALWAYS_INLINE constexpr auto GREM_VECTORCALL | lessThanEqual (A a, Zero) |
| template<detail::quantity_unary_operand B> | |
| GREM_ALWAYS_INLINE constexpr auto GREM_VECTORCALL | lessThanEqual (Zero, B b) |
| template<detail::quantity_binary_operand_a A, detail::quantity_binary_operand_b< A > B> | |
| GREM_ALWAYS_INLINE constexpr auto GREM_VECTORCALL | greaterThan (A a, B b) |
| template<detail::quantity_unary_operand A> | |
| GREM_ALWAYS_INLINE constexpr auto GREM_VECTORCALL | greaterThan (A a, Zero) |
| template<detail::quantity_unary_operand B> | |
| GREM_ALWAYS_INLINE constexpr auto GREM_VECTORCALL | greaterThan (Zero, B b) |
| template<detail::quantity_binary_operand_a A, detail::quantity_binary_operand_b< A > B> | |
| GREM_ALWAYS_INLINE constexpr auto GREM_VECTORCALL | greaterThanEqual (A a, B b) |
| template<detail::quantity_unary_operand A> | |
| GREM_ALWAYS_INLINE constexpr auto GREM_VECTORCALL | greaterThanEqual (A a, Zero) |
| template<detail::quantity_unary_operand B> | |
| GREM_ALWAYS_INLINE constexpr auto GREM_VECTORCALL | greaterThanEqual (Zero, B b) |
| template<detail::quantity_binary_operand_a A, detail::quantity_binary_operand_b< A > B> | |
| GREM_ALWAYS_INLINE constexpr auto GREM_VECTORCALL | clampLength (A value, B maxLength) |
| template<size_t N, typename UnitT> | |
| GREM_ALWAYS_INLINE constexpr auto | inverse (Quantity< N, UnitT > a) |
| template<size_t N, typename UnitT> | |
| GREM_ALWAYS_INLINE constexpr auto | inverse (const TensorQuantity< N, UnitT > &a) |
| template<size_t N, typename UnitT> | |
| GREM_ALWAYS_INLINE constexpr auto | transpose (const TensorQuantity< N, UnitT > &a) |
| template<size_t N, typename UnitT> | |
| GREM_ALWAYS_INLINE constexpr auto | inverseTranspose (const TensorQuantity< N, UnitT > &a) |
| template<size_t N, typename UnitT1, typename UnitT2> | |
| GREM_ALWAYS_INLINE auto | operator+ (const TensorQuantity< N, UnitT1 > &a, const TensorQuantity< N, UnitT2 > &b) |
| template<size_t N, typename UnitT1, typename UnitT2> | |
| GREM_ALWAYS_INLINE auto | operator- (const TensorQuantity< N, UnitT1 > &a, const TensorQuantity< N, UnitT2 > &b) |
| template<size_t N, typename UnitT1, typename UnitT2> | |
| GREM_ALWAYS_INLINE auto | operator* (const TensorQuantity< N, UnitT1 > &a, const TensorQuantity< N, UnitT2 > &b) |
| template<size_t N1, typename UnitT1, detail::quantity_convertible B> | |
| GREM_ALWAYS_INLINE auto | operator* (const TensorQuantity< N1, UnitT1 > &a, B b) |
| template<size_t N2, typename UnitT2, detail::quantity_convertible A> | |
| GREM_ALWAYS_INLINE auto | operator* (A a, const TensorQuantity< N2, UnitT2 > &b) |
| template<size_t N, typename UnitT1, typename UnitT2> | |
| GREM_ALWAYS_INLINE auto | dot (const TensorQuantity< N, UnitT1 > &a, const TensorQuantity< N, UnitT2 > &b) |
| template<detail::quantity_convertible A, size_t N2, typename UnitT2> | |
| GREM_ALWAYS_INLINE auto | cross (A a, const TensorQuantity< N2, UnitT2 > &b) |
| template<size_t N, typename UnitT> | |
| decltype(auto) | getNormalComponent (Quantity< N, UnitT > &v) |
| template<size_t N, typename UnitT> | |
| decltype(auto) | getNormalComponent (const Quantity< N, UnitT > &v) |
| template<size_t N, typename UnitT> | |
| auto | getTangentialComponent (const Quantity< N, UnitT > &v) |
| template<detail::quantity_unary_operand A> | |
| GREM_ALWAYS_INLINE constexpr auto GREM_VECTORCALL | flipSignIf (A a, bool b) |
| template<size_t N> | |
| GREM_ALWAYS_INLINE constexpr auto GREM_VECTORCALL | flipSignIf (Direction< N > a, bool b) |
| template<detail::quantity_binary_operand_a A, detail::quantity_binary_operand_b< A > B> | |
| GREM_ALWAYS_INLINE auto GREM_VECTORCALL | copysign (A a, B b) |
| template<size_t N, detail::quantity_binary_operand_b< Direction< N > > B> | |
| GREM_ALWAYS_INLINE constexpr auto GREM_VECTORCALL | copysign (Direction< N > a, B b) |
| template<detail::quantity_unary_operand A> | |
| GREM_ALWAYS_INLINE constexpr auto GREM_VECTORCALL | normalize (A a) |
| template<size_t N> | |
| GREM_ALWAYS_INLINE constexpr auto GREM_VECTORCALL | normalize (Direction< N > a) |
| template<detail::quantity_unary_operand A> | |
| GREM_ALWAYS_INLINE constexpr auto GREM_VECTORCALL | tryNormalize (A a) |
| template<size_t N> | |
| GREM_ALWAYS_INLINE constexpr auto GREM_VECTORCALL | tryNormalize (Direction< N > a) |
| template<detail::quantity_unary_operand A> | |
| GREM_ALWAYS_INLINE constexpr auto | rotate90DegreesCounterclockwise (A a) |
| GREM_ALWAYS_INLINE constexpr auto | rotate90DegreesCounterclockwise (Direction2D a) |
| template<detail::quantity_unary_operand A> | |
| GREM_ALWAYS_INLINE constexpr auto | rotate90DegreesClockwise (A a) |
| GREM_ALWAYS_INLINE constexpr auto | rotate90DegreesClockwise (Direction2D a) |
| template<detail::quantity_unary_operand A> | |
| GREM_ALWAYS_INLINE constexpr auto | flipX (A a) |
| template<size_t N> | |
| GREM_ALWAYS_INLINE constexpr auto | flipX (Direction< N > a) |
| template<detail::quantity_unary_operand A> | |
| GREM_ALWAYS_INLINE constexpr auto | flipY (A a) |
| template<size_t N> requires (N >= 2) | |
| GREM_ALWAYS_INLINE constexpr auto | flipY (Direction< N > a) |
| template<detail::quantity_unary_operand A> | |
| GREM_ALWAYS_INLINE constexpr auto | flipZ (A a) |
| template<size_t N> requires (N >= 3) | |
| GREM_ALWAYS_INLINE constexpr auto | flipZ (Direction< N > a) |
| template<detail::quantity_unary_operand A> | |
| GREM_ALWAYS_INLINE constexpr auto | decomposeMagnitudeDirection (A a) |
| template<detail::quantity_unary_operand A> | |
| GREM_ALWAYS_INLINE constexpr auto | tryDecomposeMagnitudeDirection (A a) |
| template<detail::quantity_unary_operand A> | |
| GREM_ALWAYS_INLINE constexpr auto | decomposeMagnitudeAngle (A a) |
| template<detail::quantity_unary_operand A> | |
| GREM_ALWAYS_INLINE constexpr auto | tryDecomposeMagnitudeAngle (A a) |
| template<size_t N> | |
| GREM_ALWAYS_INLINE constexpr auto | transpose (const OrthonormalBasis< N > &a) |
| template<size_t N> | |
| GREM_ALWAYS_INLINE constexpr auto | inverse (const OrthonormalBasis< N > &a) |
| template<size_t N> | |
| GREM_ALWAYS_INLINE constexpr auto | inverseTranspose (const OrthonormalBasis< N > &a) |
| GREM_ALWAYS_INLINE bool GREM_VECTORCALL | isfinite (Orientation2D a) |
| GREM_ALWAYS_INLINE bvec4 GREM_VECTORCALL | isfinite (Orientation3D a) |
| GREM_ALWAYS_INLINE bool GREM_VECTORCALL | isinf (Orientation2D a) |
| GREM_ALWAYS_INLINE bvec4 GREM_VECTORCALL | isinf (Orientation3D a) |
| GREM_ALWAYS_INLINE bool GREM_VECTORCALL | isnan (Orientation2D a) |
| GREM_ALWAYS_INLINE bvec4 GREM_VECTORCALL | isnan (Orientation3D a) |
| GREM_ALWAYS_INLINE Orientation2D GREM_VECTORCALL | inverse (Orientation2D a) |
| GREM_ALWAYS_INLINE Orientation3D GREM_VECTORCALL | inverse (Orientation3D a) |
| GREM_ALWAYS_INLINE Orientation2D GREM_VECTORCALL | operator+ (Orientation2D a, Rotation2D b) |
| GREM_ALWAYS_INLINE Orientation2D GREM_VECTORCALL | operator+ (Orientation2D a, Scale1D b) |
| GREM_ALWAYS_INLINE Orientation3D GREM_VECTORCALL | operator+ (Orientation3D a, Rotation3D b) |
| GREM_ALWAYS_INLINE Orientation3D GREM_VECTORCALL | operator+ (Orientation3D a, Scale3D b) |
| template<size_t N> | |
| GREM_ALWAYS_INLINE Orientation< N > & | operator+= (Orientation< N > &a, Rotation< N > b) |
| GREM_ALWAYS_INLINE Rotation2D GREM_VECTORCALL | operator- (Orientation2D a, Orientation2D b) |
| GREM_ALWAYS_INLINE Rotation3D GREM_VECTORCALL | operator- (Orientation3D a, Orientation3D b) |
| GREM_ALWAYS_INLINE Orientation2D GREM_VECTORCALL | operator- (Orientation2D a, Rotation2D b) |
| GREM_ALWAYS_INLINE Orientation3D GREM_VECTORCALL | operator- (Orientation3D a, Rotation3D b) |
| template<size_t N> | |
| GREM_ALWAYS_INLINE Orientation< N > & | operator-= (Orientation< N > &a, Rotation< N > b) |
| GREM_ALWAYS_INLINE Orientation2D GREM_VECTORCALL | operator* (Orientation2D a, Orientation2D b) |
| GREM_ALWAYS_INLINE Orientation3D GREM_VECTORCALL | operator* (Orientation3D a, Orientation3D b) |
| GREM_ALWAYS_INLINE Orientation3D GREM_VECTORCALL | slerp (Orientation3D a, Orientation3D b, Coefficient alpha) |
| GREM_ALWAYS_INLINE Orientation3D GREM_VECTORCALL | slerp (Orientation3D a, Orientation3D b, Scalar alpha) |
| GREM_ALWAYS_INLINE Orientation2D GREM_VECTORCALL | mix (Orientation2D a, Orientation2D b, Coefficient alpha) |
| GREM_ALWAYS_INLINE Orientation2D GREM_VECTORCALL | mix (Orientation2D a, Orientation2D b, Scalar alpha) |
| GREM_ALWAYS_INLINE Orientation3D GREM_VECTORCALL | mix (Orientation3D a, Orientation3D b, Coefficient alpha) |
| GREM_ALWAYS_INLINE Orientation3D GREM_VECTORCALL | mix (Orientation3D a, Orientation3D b, Scalar alpha) |
| template<size_t N, typename UnitT> | |
| GREM_ALWAYS_INLINE Basis< N > | scale (Quantity< N, UnitT > s) |
| GREM_ALWAYS_INLINE OrthonormalBasis2D | rotate (RollRotation r) |
| GREM_ALWAYS_INLINE OrthonormalBasis3D | rotate (PitchYawRotations r) |
| GREM_ALWAYS_INLINE OrthonormalBasis3D | rotate (PitchYawRollRotations r) |
| template<size_t N> | |
| GREM_ALWAYS_INLINE OrthonormalBasis< N > | rotate (Orientation< N > r) |
| GREM_ALWAYS_INLINE OrthonormalBasis2D | rotate (Roll angle) |
| GREM_ALWAYS_INLINE OrthonormalBasis3D | rotate (PitchYaw angles) |
| GREM_ALWAYS_INLINE OrthonormalBasis3D | rotate (PitchYawRoll angles) |
| template<size_t N, typename UnitT> | |
| GREM_ALWAYS_INLINE TensorQuantity< N, UnitT > | rotateScale (Orientation< N > r, Quantity< N, UnitT > s) |
| GREM_ALWAYS_INLINE AbsoluteAngle | getAngle (Orientation2D orientation) |
| GREM_ALWAYS_INLINE AbsoluteAngle | getAngle (Orientation3D orientation) |
| GREM_ALWAYS_INLINE Direction3D | getAxis (Orientation3D orientation) |
| GREM_ALWAYS_INLINE AbsoluteAngle | getPitch (Orientation3D orientation) |
| GREM_ALWAYS_INLINE AbsoluteAngle | getYaw (Orientation3D orientation) |
| GREM_ALWAYS_INLINE AbsoluteAngle | getRoll (Orientation2D orientation) |
| GREM_ALWAYS_INLINE AbsoluteAngle | getRoll (Orientation3D orientation) |
| GREM_ALWAYS_INLINE PitchYawRoll | getPitchYawRoll (Orientation3D orientation) |
| GREM_ALWAYS_INLINE Direction2D | convertAnglesToForwardDirection (Roll angles) |
| GREM_ALWAYS_INLINE Direction3D | convertAnglesToForwardDirection (PitchYaw angles) |
| GREM_ALWAYS_INLINE Direction3D | convertAnglesToForwardDirection (PitchYawRoll angles) |
| GREM_ALWAYS_INLINE Roll | convertForwardDirectionToAngles (Direction2D forward) |
| GREM_ALWAYS_INLINE PitchYaw | convertForwardDirectionToAngles (Direction3D forward) |
| Angle | getAngleDifference (AbsoluteAngle a, AbsoluteAngle b) |
| Get the smallest signed angle between two absolute angles. | |
| template<typename UnitT> requires (!UnitT::MagnitudeType::IS_ABSOLUTE) | |
| Angle | getAngleDifferenceAroundAxis (Direction3D axis, Quantity< 3, UnitT > a, Quantity< 3, UnitT > b) |
| Get the smallest signed angle around an axis between two relative vectors. | |
| template<size_t N> | |
| GREM_ALWAYS_INLINE LocalTransformation< N > GREM_VECTORCALL | translateRotateScale (Length< N > localOffset, Orientation< N > localOrientation, Scale< N > localScale) |
| GREM_ALWAYS_INLINE LocalTransformation3D GREM_VECTORCALL | translateRotateScale (Length3D localOffset, qua< float > localOrientation, Scale3D localScale) |
| GREM_ALWAYS_INLINE LocalTransformation3D GREM_VECTORCALL | translateRotateScale (Length3D localOffset, qua< double > localOrientation, Scale3D localScale) |
| template<size_t N> | |
| GREM_ALWAYS_INLINE LocalTransformation< N > GREM_VECTORCALL | translateRotate (Length< N > localOffset, Orientation< N > localOrientation) |
| GREM_ALWAYS_INLINE LocalTransformation3D GREM_VECTORCALL | translateRotate (Length3D localOffset, qua< float > localOrientation) |
| GREM_ALWAYS_INLINE LocalTransformation3D GREM_VECTORCALL | translateRotate (Length3D localOffset, qua< double > localOrientation) |
| template<size_t N> | |
| GREM_ALWAYS_INLINE LocalTransformation< N > GREM_VECTORCALL | translateScale (Length< N > localOffset, Scale< N > localScale) |
| template<size_t N> | |
| GREM_ALWAYS_INLINE LocalTransformation< N > GREM_VECTORCALL | translate (Length< N > localOffset) |
| template<size_t N> | |
| GREM_ALWAYS_INLINE Transformation< N > GREM_VECTORCALL | translateRotateScale (Position< N > position, Orientation< N > orientation, Scale< N > scale) |
| GREM_ALWAYS_INLINE Transformation3D GREM_VECTORCALL | translateRotateScale (Position3D position, qua< float > orientation, Scale3D scale) |
| GREM_ALWAYS_INLINE Transformation3D GREM_VECTORCALL | translateRotateScale (Position3D position, qua< double > orientation, Scale3D scale) |
| template<size_t N> | |
| GREM_ALWAYS_INLINE Transformation< N > GREM_VECTORCALL | translateRotate (Position< N > position, Orientation< N > orientation) |
| GREM_ALWAYS_INLINE Transformation3D GREM_VECTORCALL | translateRotate (Position3D position, qua< float > orientation) |
| GREM_ALWAYS_INLINE Transformation3D GREM_VECTORCALL | translateRotate (Position3D position, qua< double > orientation) |
| template<size_t N> | |
| GREM_ALWAYS_INLINE Transformation< N > GREM_VECTORCALL | translateScale (Position< N > position, Scale< N > scale) |
| template<size_t N> | |
| GREM_ALWAYS_INLINE Transformation< N > GREM_VECTORCALL | translate (Position< N > position) |
| template<size_t N> | |
| GREM_ALWAYS_INLINE InverseLocalTransformation< N > GREM_VECTORCALL | inverseTranslateRotateScale (Length< N > localOffset, Orientation< N > localOrientation, Scale< N > localScale) |
| GREM_ALWAYS_INLINE InverseLocalTransformation< 3 > GREM_VECTORCALL | inverseTranslateRotateScale (Length3D localOffset, qua< float > localOrientation, Scale3D localScale) |
| GREM_ALWAYS_INLINE InverseLocalTransformation< 3 > GREM_VECTORCALL | inverseTranslateRotateScale (Length3D localOffset, qua< double > localOrientation, Scale3D localScale) |
| template<size_t N> | |
| GREM_ALWAYS_INLINE InverseLocalTransformation< N > GREM_VECTORCALL | inverseTranslateRotate (Length< N > localOffset, Orientation< N > localOrientation) |
| GREM_ALWAYS_INLINE InverseLocalTransformation3D GREM_VECTORCALL | inverseTranslateRotate (Length3D localOffset, qua< float > localOrientation) |
| GREM_ALWAYS_INLINE InverseLocalTransformation3D GREM_VECTORCALL | inverseTranslateRotate (Length3D localOffset, qua< double > localOrientation) |
| template<size_t N> | |
| GREM_ALWAYS_INLINE InverseLocalTransformation< N > GREM_VECTORCALL | inverseTranslateScale (Length< N > localOffset, Scale< N > localScale) |
| template<size_t N> | |
| GREM_ALWAYS_INLINE InverseLocalTransformation< N > GREM_VECTORCALL | inverseTranslate (Length< N > localOffset) |
| template<size_t N> | |
| GREM_ALWAYS_INLINE LocalTransformation< N > GREM_VECTORCALL | inverse (InverseLocalTransformation< N > a) |
| template<size_t N> | |
| GREM_ALWAYS_INLINE InverseLocalTransformation< N > GREM_VECTORCALL | inverse (LocalTransformation< N > a) |
| template<size_t N> | |
| GREM_ALWAYS_INLINE InverseTransformation< N > GREM_VECTORCALL | inverseTranslateRotateScale (Position< N > position, Orientation< N > orientation, Scale< N > scale) |
| GREM_ALWAYS_INLINE InverseTransformation< 3 > GREM_VECTORCALL | inverseTranslateRotateScale (Position3D position, qua< float > orientation, Scale3D scale) |
| GREM_ALWAYS_INLINE InverseTransformation< 3 > GREM_VECTORCALL | inverseTranslateRotateScale (Position3D position, qua< double > orientation, Scale3D scale) |
| template<size_t N> | |
| GREM_ALWAYS_INLINE InverseTransformation< N > GREM_VECTORCALL | inverseTranslateRotate (Position< N > position, Orientation< N > orientation) |
| GREM_ALWAYS_INLINE InverseTransformation< 3 > GREM_VECTORCALL | inverseTranslateRotate (Position3D position, qua< float > orientation) |
| GREM_ALWAYS_INLINE InverseTransformation< 3 > GREM_VECTORCALL | inverseTranslateRotate (Position3D position, qua< double > orientation) |
| template<size_t N> | |
| GREM_ALWAYS_INLINE InverseTransformation< N > GREM_VECTORCALL | inverseTranslateScale (Position< N > position, Scale< N > scale) |
| template<size_t N> | |
| GREM_ALWAYS_INLINE InverseTransformation< N > GREM_VECTORCALL | inverseTranslate (Position< N > position) |
| template<size_t N> | |
| GREM_ALWAYS_INLINE Transformation< N > GREM_VECTORCALL | inverse (InverseTransformation< N > a) |
| template<size_t N> | |
| GREM_ALWAYS_INLINE InverseTransformation< N > GREM_VECTORCALL | inverse (Transformation< N > a) |
| GREM_ALWAYS_INLINE LocalTransformation2D GREM_VECTORCALL | operator* (LocalTransformation2D a, LocalTransformation2D b) |
| GREM_ALWAYS_INLINE LocalTransformation3D GREM_VECTORCALL | operator* (LocalTransformation3D a, LocalTransformation3D b) |
| GREM_ALWAYS_INLINE Transformation2D GREM_VECTORCALL | operator* (Transformation2D a, LocalTransformation2D b) |
| GREM_ALWAYS_INLINE Transformation3D GREM_VECTORCALL | operator* (Transformation3D a, LocalTransformation3D b) |
| constexpr CollisionLayers | operator~ (CollisionLayer a) noexcept |
| Get the complement of a collision layer. | |
| constexpr CollisionLayers | operator| (CollisionLayer a, CollisionLayer b) noexcept |
| Get the union of two collision layers. | |
| template<size_t N, typename T> | |
| GREM_ALWAYS_INLINE constexpr Ray< N > | operator* (const grem::Ray< N, T > &ray, typename Ray< N >::Unit) |
| template<size_t N, typename T> | |
| GREM_ALWAYS_INLINE constexpr Ray< N > | operator* (typename Ray< N >::Unit, const grem::Ray< N, T > &ray) |
| GREM_ALWAYS_INLINE constexpr RayMiss | operator* (const grem::RayMiss &miss, typename RayMiss::Unit) |
| GREM_ALWAYS_INLINE constexpr RayMiss | operator* (typename RayMiss::Unit, const grem::RayMiss &miss) |
| template<size_t N, typename T> | |
| GREM_ALWAYS_INLINE constexpr RayHit< N > | operator* (const grem::RayHit< N, T > &hit, typename RayHit< N >::Unit) |
| template<size_t N, typename T> | |
| GREM_ALWAYS_INLINE constexpr RayHit< N > | operator* (typename RayHit< N >::Unit, const grem::RayHit< N, T > &hit) |
| template<size_t N, typename T> | |
| GREM_ALWAYS_INLINE constexpr RayHitInterior< N > | operator* (const grem::RayHitInterior< N, T > &hit, typename RayHitInterior< N >::Unit) |
| template<size_t N, typename T> | |
| GREM_ALWAYS_INLINE constexpr RayHitInterior< N > | operator* (typename RayHitInterior< N >::Unit, const grem::RayHitInterior< N, T > &hit) |
| template<size_t N, typename T> | |
| GREM_ALWAYS_INLINE constexpr RaycastResult< N > | operator* (const grem::RaycastResult< N, T > &raycastResult, typename RaycastResult< N >::Unit) |
| template<size_t N, typename T> | |
| GREM_ALWAYS_INLINE constexpr RaycastResult< N > | operator* (typename RaycastResult< N >::Unit, const grem::RaycastResult< N, T > &raycastResult) |
| template<size_t N, typename T> | |
| GREM_ALWAYS_INLINE constexpr LineSegment< N > | operator* (const grem::LineSegment< N, T > &line, typename LineSegment< N >::Unit) |
| template<size_t N, typename T> | |
| GREM_ALWAYS_INLINE constexpr LineSegment< N > | operator* (typename LineSegment< N >::Unit, const grem::LineSegment< N, T > &line) |
| template<size_t N, typename T> | |
| GREM_ALWAYS_INLINE constexpr Box< N > | operator* (const grem::Box< N, T > &box, typename Box< N >::Unit) |
| template<size_t N, typename T> | |
| GREM_ALWAYS_INLINE constexpr Box< N > | operator* (typename Box< N >::Unit, const grem::Box< N, T > &box) |
| template<size_t N, typename T> | |
| GREM_ALWAYS_INLINE constexpr Sphere< N > | operator* (const grem::Sphere< N, T > &sphere, typename Sphere< N >::Unit) |
| template<size_t N, typename T> | |
| GREM_ALWAYS_INLINE constexpr Sphere< N > | operator* (typename Sphere< N >::Unit, const grem::Sphere< N, T > &sphere) |
| template<size_t N, typename T> | |
| GREM_ALWAYS_INLINE constexpr Triangle< N > | operator* (const grem::Triangle< N, T > &triangle, typename Triangle< N >::Unit) |
| template<size_t N, typename T> | |
| GREM_ALWAYS_INLINE constexpr Triangle< N > | operator* (typename Triangle< N >::Unit, const grem::Triangle< N, T > &triangle) |
| template<size_t N> | |
| Box< N > | getTransformedBoundingBox (const Transformation< N > &transformation, const Box< N > &box) |
| Get the axis-aligned bounding box of an axis-aligned box with a transformation applied to it. | |
| void | forEachVertexIndexInFace (const convex_polytope_shape_2d auto &shape, ConvexPolytopeFaceIndex faceIndex, auto callback) |
| Execute a function for each vertex of a face of a convex polytope shape. | |
| void | forEachVertexIndexInFace (const convex_polytope_shape_3d auto &shape, ConvexPolytopeFaceIndex faceIndex, auto callback) |
| Execute a function for each vertex of a face of a convex polytope shape. | |
| void | forEachFaceIndexAroundVertex (const convex_polytope_shape_2d auto &shape, ConvexPolytopeVertexIndex vertexIndex, auto callback) |
| Execute a function for each face that is adjacent to a vertex of a convex polytope shape. | |
| void | forEachFaceIndexAroundVertex (const convex_polytope_shape_3d auto &shape, ConvexPolytopeVertexIndex vertexIndex, auto callback) |
| Execute a function for each face that is adjacent to a vertex of a convex polytope shape. | |
| void | forEachNeighboringVertexIndex (const convex_polytope_shape_2d auto &shape, ConvexPolytopeVertexIndex vertexIndex, auto callback) |
| Execute a function for each vertex that is directly connected to a specific vertex of a convex polytope shape. | |
| void | forEachNeighboringVertexIndex (const convex_polytope_shape_3d auto &shape, ConvexPolytopeVertexIndex vertexIndex, auto callback) |
| Execute a function for each vertex that is directly connected to a specific vertex of a convex polytope shape. | |
| template<typename Visitor, size_t N> | |
| constexpr decltype(auto) | visit (Visitor &&visitor, ShapeView< N > shape) |
| Call a visitor functor with a reference to the currently active underlying shape of a ShapeView. | |
| template<typename T, typename Low, typename High> requires (requires(T v, Low l) { v < l; } && requires(T v, High h) { h < v; }) | |
| GREM_ALWAYS_INLINE constexpr decltype(auto) | clamp (T &&value, Low &&minValue, High &&maxValue) |
| Clamp a value to a specific interval. | |
| template<typename A, typename B> requires (requires(A x, B y) { x < y; }) | |
| GREM_ALWAYS_INLINE constexpr decltype(auto) | max (A &&a, B &&b) |
| Get the greater of two values, or the first value if they are equivalent. | |
| template<typename A, typename B> requires (requires(A x, B y) { x < y; }) | |
| GREM_ALWAYS_INLINE constexpr decltype(auto) | min (A &&a, B &&b) |
| Get the smaller of two values, or the first value if they are equivalent. | |
| template<typename T> | |
| GREM_ALWAYS_INLINE constexpr T | select (bool condition, T ifTrue, T ifFalse) |
| Choose between two values based on a condition. | |
Variables | |
| constexpr Frequency | DEFAULT_JOINT_LINEAR_LIMIT_STIFFNESS = Scalar{60} * HERTZ |
| Default stiffness value for linear joint limits. | |
| constexpr Coefficient | DEFAULT_JOINT_LINEAR_LIMIT_DAMPING_RATIO = Scalar{2} |
| Default damping value for linear joint limits. | |
| constexpr Frequency | DEFAULT_JOINT_ANGULAR_LIMIT_STIFFNESS = Scalar{60} * HERTZ |
| Default stiffness value for angular joint limits. | |
| constexpr Coefficient | DEFAULT_JOINT_ANGULAR_LIMIT_DAMPING_RATIO = Scalar{2} |
| Default damping value for angular joint limits. | |
| constexpr Dimension< 0, 0, 0 > | DIMENSIONLESS {} |
| Identity dimension. | |
| constexpr Dimension< 1, 0, 0 > | MASS {} |
| M. | |
| constexpr Dimension< 0, 1, 0 > | LENGTH {} |
| L. | |
| constexpr Dimension< 0, 0, 1 > | TIME {} |
| T. | |
| constexpr Dimension | ANGLE = DIMENSIONLESS |
| constexpr Dimension | AREA = LENGTH * LENGTH |
| L^2. | |
| constexpr Dimension | VOLUME = LENGTH * LENGTH * LENGTH |
| L^3. | |
| constexpr Dimension | DENSITY = MASS / VOLUME |
| M L^-3. | |
| constexpr Dimension | FREQUENCY = DIMENSIONLESS / TIME |
| T^-1. | |
| constexpr Dimension | ABSEMENT = LENGTH * TIME |
| L T. | |
| constexpr Dimension | WAVENUMBER = DIMENSIONLESS / LENGTH |
| L^-1. | |
| constexpr Dimension | VELOCITY = LENGTH / TIME |
| L T^-1. | |
| constexpr Dimension | ACCELERATION = VELOCITY / TIME |
| L T^-2. | |
| constexpr Dimension | FORCE = MASS * ACCELERATION |
| M L T^-2. | |
| constexpr Dimension | TORQUE = FORCE * LENGTH |
| M L^2 T^-2. | |
| constexpr Dimension | IMPULSE = FORCE * TIME |
| M L T^-1. | |
| constexpr Dimension | MOMENTUM = MASS * VELOCITY |
| M L T^-1. | |
| constexpr Dimension | MOMENT_OF_INERTIA = MASS * LENGTH * LENGTH |
| M L^2. | |
| constexpr Dimension | ANGULAR_ABSEMENT = ANGLE * TIME |
| T. | |
| constexpr Dimension | ANGULAR_VELOCITY = ANGLE / TIME |
| T^-1. | |
| constexpr Dimension | ANGULAR_ACCELERATION = ANGULAR_VELOCITY / TIME |
| T^-2. | |
| constexpr Dimension | ANGULAR_IMPULSE = TORQUE * TIME |
| M L^2 T^-1. | |
| constexpr Dimension | ANGULAR_MOMENTUM = MOMENT_OF_INERTIA * ANGULAR_VELOCITY |
| M L^2 T^-1. | |
| constexpr Dimension | INTEGRATED_POSITIONAL_IMPULSE = IMPULSE * TIME |
| M L. | |
| constexpr Dimension | INTEGRATED_POSITIONAL_MOMENTUM = MOMENTUM * TIME |
| M L. | |
| constexpr Dimension | INTEGRATED_ROTATIONAL_IMPULSE = ANGULAR_IMPULSE * TIME |
| M L^2. | |
| constexpr Dimension | INTEGRATED_ROTATIONAL_MOMENTUM = ANGULAR_MOMENTUM * TIME |
| M L^2. | |
| constexpr Dimension | MASS_FLOW_RATE = MASS / TIME |
| M T^-1. | |
| constexpr Dimension | VOLUMETRIC_FLOW_RATE = VOLUME / TIME |
| L^3 T^-1. | |
| constexpr Dimension | WORK = FORCE * LENGTH |
| M L^2 T^-2. | |
| constexpr Dimension | POWER = WORK / TIME |
| M L^2 T^-3. | |
| constexpr Dimension | ENERGY = POWER * TIME |
| M L^2 T^-2. | |
| template<Dimension D> | |
| constexpr SIUnit< D > | SI_UNIT {} |
| The canonical relative SI unit for a given dimension. | |
| constexpr ComponentSwizzle< 0 > | X {} |
| Tag specifying the X component at index 0 of a vector. | |
| constexpr ComponentSwizzle< 1 > | Y {} |
| Tag specifying the Y component at index 1 of a vector. | |
| constexpr ComponentSwizzle< 2 > | Z {} |
| Tag specifying the Z component at index 2 of a vector. | |
| template<typename UnitT> | |
| constexpr Quantity< 1, UnitT > | Quantity< 1, UnitT >::MIN {Limits<Scalar>::MIN} |
| template<typename UnitT> | |
| constexpr Quantity< 1, UnitT > | Quantity< 1, UnitT >::MAX {Limits<Scalar>::MAX} |
| template<typename UnitT> | |
| constexpr Quantity< 1, UnitT > | Quantity< 1, UnitT >::SMALLEST_NORMAL {Limits<Scalar>::SMALLEST_NORMAL} |
| template<typename UnitT> | |
| constexpr Quantity< 1, UnitT > | Quantity< 1, UnitT >::SMALLEST_SUBNORMAL {Limits<Scalar>::SMALLEST_SUBNORMAL} |
| template<typename UnitT> | |
| constexpr Quantity< 1, UnitT > | Quantity< 1, UnitT >::MACHINE_EPSILON {Limits<Scalar>::MACHINE_EPSILON} |
| template<typename UnitT> | |
| constexpr Quantity< 1, UnitT > | Quantity< 1, UnitT >::INF {Limits<Scalar>::INF} |
| template<typename UnitT> | |
| constexpr Quantity< 1, UnitT > | Quantity< 1, UnitT >::QUIET_NAN {Limits<Scalar>::QUIET_NAN} |
| template<typename UnitT> | |
| constexpr Quantity< 2, UnitT > | Quantity< 2, UnitT >::MIN {vec<2, Scalar>{Limits<Scalar>::MIN}} |
| template<typename UnitT> | |
| constexpr Quantity< 2, UnitT > | Quantity< 2, UnitT >::MAX {vec<2, Scalar>{Limits<Scalar>::MAX}} |
| template<typename UnitT> | |
| constexpr Quantity< 2, UnitT > | Quantity< 2, UnitT >::SMALLEST_NORMAL {vec<2, Scalar>{Limits<Scalar>::SMALLEST_NORMAL}} |
| template<typename UnitT> | |
| constexpr Quantity< 2, UnitT > | Quantity< 2, UnitT >::SMALLEST_SUBNORMAL {vec<2, Scalar>{Limits<Scalar>::SMALLEST_SUBNORMAL}} |
| template<typename UnitT> | |
| constexpr Quantity< 2, UnitT > | Quantity< 2, UnitT >::MACHINE_EPSILON {vec<2, Scalar>{Limits<Scalar>::MACHINE_EPSILON}} |
| template<typename UnitT> | |
| constexpr Quantity< 2, UnitT > | Quantity< 2, UnitT >::INF {vec<2, Scalar>{Limits<Scalar>::INF}} |
| template<typename UnitT> | |
| constexpr Quantity< 2, UnitT > | Quantity< 2, UnitT >::QUIET_NAN {vec<2, Scalar>{Limits<Scalar>::QUIET_NAN}} |
| template<typename UnitT> | |
| constexpr Quantity< 3, UnitT > | Quantity< 3, UnitT >::MIN {vec<3, Scalar>{Limits<Scalar>::MIN}} |
| template<typename UnitT> | |
| constexpr Quantity< 3, UnitT > | Quantity< 3, UnitT >::MAX {vec<3, Scalar>{Limits<Scalar>::MAX}} |
| template<typename UnitT> | |
| constexpr Quantity< 3, UnitT > | Quantity< 3, UnitT >::SMALLEST_NORMAL {vec<3, Scalar>{Limits<Scalar>::SMALLEST_NORMAL}} |
| template<typename UnitT> | |
| constexpr Quantity< 3, UnitT > | Quantity< 3, UnitT >::SMALLEST_SUBNORMAL {vec<3, Scalar>{Limits<Scalar>::SMALLEST_SUBNORMAL}} |
| template<typename UnitT> | |
| constexpr Quantity< 3, UnitT > | Quantity< 3, UnitT >::MACHINE_EPSILON {vec<3, Scalar>{Limits<Scalar>::MACHINE_EPSILON}} |
| template<typename UnitT> | |
| constexpr Quantity< 3, UnitT > | Quantity< 3, UnitT >::INF {vec<3, Scalar>{Limits<Scalar>::INF}} |
| template<typename UnitT> | |
| constexpr Quantity< 3, UnitT > | Quantity< 3, UnitT >::QUIET_NAN {vec<3, Scalar>{Limits<Scalar>::QUIET_NAN}} |
| constexpr Angle | PI {numbers::pi_v<Scalar>} |
| Pi constant. | |
| template<size_t N> | |
| constexpr OrthonormalBasis< N > | BASIS |
| Identity basis for the given number of dimensions. | |
| template<> | |
| constexpr OrthonormalBasis< 2 > | BASIS< 2 > |
| template<> | |
| constexpr OrthonormalBasis< 3 > | BASIS< 3 > |
| constexpr OrthonormalBasis2D | BASIS_2D = BASIS<2> |
| Identity basis in 2-dimensional space. | |
| constexpr OrthonormalBasis3D | BASIS_3D = BASIS<3> |
| Identity basis in 3-dimensional space. | |
| template<size_t N> | |
| constexpr Direction< N > | X_AXIS |
| The X axis in the space with the given number of dimensions. | |
| template<> | |
| constexpr Direction< 2 > | X_AXIS< 2 > = Direction<2>::reinterpret(vec<2, Scalar>{Scalar{1}, Scalar{0}}) |
| template<> | |
| constexpr Direction< 3 > | X_AXIS< 3 > = Direction<3>::reinterpret(vec<3, Scalar>{Scalar{1}, Scalar{0}, Scalar{0}}) |
| constexpr Direction2D | X_AXIS_2D = X_AXIS<2> |
| The X axis in 2-dimensional space. | |
| constexpr Direction3D | X_AXIS_3D = X_AXIS<3> |
| The X axis in 3-dimensional space. | |
| template<size_t N> | |
| constexpr Direction< N > | Y_AXIS |
| The Y axis in the space with the given number of dimensions. | |
| template<> | |
| constexpr Direction< 2 > | Y_AXIS< 2 > = Direction<2>::reinterpret(vec<2, Scalar>{Scalar{0}, Scalar{1}}) |
| template<> | |
| constexpr Direction< 3 > | Y_AXIS< 3 > = Direction<3>::reinterpret(vec<3, Scalar>{Scalar{0}, Scalar{1}, Scalar{0}}) |
| constexpr Direction2D | Y_AXIS_2D = Y_AXIS<2> |
| The Y axis in 2-dimensional space. | |
| constexpr Direction3D | Y_AXIS_3D = Y_AXIS<3> |
| The Y axis in 3-dimensional space. | |
| template<size_t N> | |
| constexpr Direction< N > | Z_AXIS |
| The Z axis in the space with the given number of dimensions. | |
| template<> | |
| constexpr Direction< 3 > | Z_AXIS< 3 > = Direction<3>::reinterpret(vec<3, Scalar>{Scalar{0}, Scalar{0}, Scalar{1}}) |
| constexpr Direction3D | Z_AXIS_3D = Z_AXIS<3> |
| The Z axis in 3-dimensional space. | |
| using grem::physics::Broadphase2D = Broadphase<2> |
Acceleration structure for spatial queries in a 2-dimensional simulation.
| using grem::physics::Broadphase3D = Broadphase<3> |
Acceleration structure for spatial queries in a 3-dimensional simulation.
| using grem::physics::CollisionEvent2D = CollisionEvent<2> |
Collision start event between two objects in a 2-dimensional Simulation.
| using grem::physics::CollisionEvent3D = CollisionEvent<3> |
Collision start event between two objects in a 3-dimensional Simulation.
| using grem::physics::CollisionEvents2D = CollisionEvents<2> |
List of collision start events between the objects in a 2-dimensional Simulation.
| using grem::physics::CollisionEvents3D = CollisionEvents<3> |
List of collision start events between the objects in a 3-dimensional Simulation.
| using grem::physics::SeparationEvent2D = SeparationEvent<2> |
Collision end event between two objects in a 2-dimensional Simulation.
| using grem::physics::SeparationEvent3D = SeparationEvent<3> |
Collision end event between two objects in a 3-dimensional Simulation.
List of collision end events between the objects in a 2-dimensional Simulation.
List of collision end events between the objects in a 3-dimensional Simulation.
| using grem::physics::ContactPoint2D = ContactPoint<2> |
Contact point between two potentially colliding objects in a 2-dimensional Simulation.
| using grem::physics::ContactPoint3D = ContactPoint<3> |
Contact point between two potentially colliding objects in a 3-dimensional Simulation.
| using grem::physics::ContactManifold2D = ContactManifold<2> |
Set of points on the contact surface between two potentially colliding 2-dimensional objects.
| using grem::physics::ContactManifold3D = ContactManifold<3> |
Set of points on the contact surface between two potentially colliding 3-dimensional objects.
Result of a 2-dimensional collision algorithm.
Result of a 3-dimensional collision algorithm.
Configuration options for a 2-dimensional collision algorithm.
Configuration options for a 3-dimensional collision algorithm.
Base interface for a stateful collision algorithm that generates contact points between two potentially colliding 2-dimensional objects of specific shape types.
Base interface for a stateful collision algorithm that generates contact points between two potentially colliding 3-dimensional objects of specific shape types.
Generic box type for any collision algorithm implementation derived from CollisionAlgorithmImplementation2D.
Generic box type for any collision algorithm implementation derived from CollisionAlgorithmImplementation3D.
| using grem::physics::Contact2D = Contact<2> |
Potential collision between two objects in a 2-dimensional Simulation, including a stateful collision algorithm for generating the actual contact points between them.
| using grem::physics::Contact3D = Contact<3> |
Potential collision between two objects in a 3-dimensional Simulation, including a stateful collision algorithm for generating the actual contact points between them.
| using grem::physics::Contacts2D = Contacts<2> |
Set of contacts in a 2-dimensional Simulation.
| using grem::physics::Contacts3D = Contacts<3> |
Set of contacts in a 3-dimensional Simulation.
| using grem::physics::ShapecastHit2D = ShapecastHit<2> |
Result of a shapecast hit in 2-dimensional space.
| using grem::physics::ShapecastHit3D = ShapecastHit<3> |
Result of a shapecast hit in 3-dimensional space.
Result of an interior shapecast hit in 2-dimensional space.
Result of an interior shapecast hit in 3-dimensional space.
| using grem::physics::ShapecastResult2D = ShapecastResult<2> |
Result of a shapecast in 2-dimensional space.
| using grem::physics::ShapecastResult3D = ShapecastResult<3> |
Result of a shapecast in 3-dimensional space.
Bundle of draw commands for drawing debugging information about a 2-dimensional Simulation.
Bundle of draw commands for drawing debugging information about a 3-dimensional Simulation.
Opaque handle to a specific entity in a Simulation's EntityRegistry.
Local offsets of the attachment frames of the objects connected by a joint in a 2-dimensional world.
Local offsets of the attachment frames of the objects connected by a joint in a 3-dimensional world.
Local orientations of the attachment frames of the objects connected by a joint in a 2-dimensional world.
Local orientations of the attachment frames of the objects connected by a joint in a 3-dimensional world.
Linear limits of a joint in a 2-dimensional world.
Linear limits of a joint in a 3-dimensional world.
Impulse applied by the linear limits of a joint in a 2-dimensional world.
Impulse applied by the linear limits of a joint in a 3-dimensional world.
Distance limit of a joint in a 2-dimensional world.
Distance limit of a joint in a 3-dimensional world.
Impulse applied by the distance limit of a joint in a 2-dimensional world.
Impulse applied by the distance limit of a joint in a 3-dimensional world.
Angular limits of a joint in a 2-dimensional world.
Angular limits of a joint in a 3-dimensional world.
Impulse applied by the angular limits of a joint in a 2-dimensional world.
Impulse applied by the angular limits of a joint in a 3-dimensional world.
| using grem::physics::JointFlags2D = JointFlags<2> |
Set of boolean properties of a joint in a 2-dimensional world.
| using grem::physics::JointFlags3D = JointFlags<3> |
Set of boolean properties of a joint in a 3-dimensional world.
Configuration options for a generic joint in a 2-dimensional world.
Configuration options for a generic joint in a 3-dimensional world.
| using grem::physics::WeldOptions2D = WeldOptions<2> |
Configuration options for a fully constrained joint in a 2-dimensional world.
| using grem::physics::WeldOptions3D = WeldOptions<3> |
Configuration options for a fully constrained joint in a 3-dimensional world.
Configuration options for a revolute joint in a 2-dimensional world.
Configuration options for a revolute joint in a 3-dimensional world.
Configuration options for a spherical joint in a 2-dimensional world.
Configuration options for a spherical joint in a 3-dimensional world.
Configuration options for a prismatic joint in a 2-dimensional world.
Configuration options for a prismatic joint in a 3-dimensional world.
Configuration options for a cylindrical joint in a 2-dimensional world.
Configuration options for a cylindrical joint in a 3-dimensional world.
World-space offset of the center of buoyancy of an object in a 2-dimensional world.
World-space offset of the center of buoyancy of an object in a 3-dimensional world.
| using grem::physics::ObjectContacts2D = ObjectContacts<2> |
Potential contacts of a 2-dimensional object.
| using grem::physics::ObjectContacts3D = ObjectContacts<3> |
Potential contacts of a 3-dimensional object.
| using grem::physics::ObjectBounds2D = ObjectBounds<2> |
Bounds of a 2-dimensional object.
| using grem::physics::ObjectBounds3D = ObjectBounds<3> |
Bounds of a 3-dimensional object.
| using grem::physics::ObjectOptions2D = ObjectOptions<2> |
Configuration options for an object in a 2-dimensional world.
| using grem::physics::ObjectOptions3D = ObjectOptions<3> |
Configuration options for an object in a 3-dimensional world.
| using grem::physics::canonical_unit_t = typename canonical_unit<UnitT>::type |
Canonical unit type of a given unit.
| UnitT | unit type to get the canonical unit type of. |
| using grem::physics::in_base_units_t = typename in_base_units<UnitT>::type |
Corresponding instantiation of the BaseUnit type template of a given unit type.
| UnitT | unit type to get the base unit type of. |
| using grem::physics::BaseSum = BaseUnit<(UnitT1::DIMENSION + ... + UnitTs::DIMENSION), (UnitT1::MAGNITUDE + ... + UnitTs::MAGNITUDE)> |
The base unit type resulting from adding a set of quantities of the given units.
| UnitT1 | first unit type to add. |
| UnitTs | other unit types to add. |
| using grem::physics::Sum = canonical_unit_t<BaseSum<UnitT1, UnitTs...>> |
The canonical unit type resulting from adding a set of quantities of the given units.
| UnitT1 | first unit type to add. |
| UnitTs | other unit types to add. |
| using grem::physics::BaseDifference = BaseUnit<(UnitT1::DIMENSION - UnitT2::DIMENSION), (UnitT1::MAGNITUDE - UnitT2::MAGNITUDE)> |
The base unit type resulting from subtracting two quantities of the given units.
| UnitT1 | unit type to subtract from. |
| UnitT2 | unit type to subtract by. |
| using grem::physics::Difference = canonical_unit_t<BaseDifference<UnitT1, UnitT2>> |
The canonical unit type resulting from subtracting two quantities of the given units.
| UnitT1 | unit type to subtract from. |
| UnitT2 | unit type to subtract by. |
| using grem::physics::BaseProduct = BaseUnit<(UnitT1::DIMENSION * ... * UnitTs::DIMENSION), (UnitT1::MAGNITUDE * ... * UnitTs::MAGNITUDE)> |
The base unit type resulting from multiplying a set of quantities of the given units.
| UnitT1 | first unit type to multiply. |
| UnitTs | other unit types to multiply. |
| using grem::physics::Product = canonical_unit_t<BaseProduct<UnitT1, UnitTs...>> |
The canonical unit type resulting from multiplying a set of quantities of the given units.
| UnitT1 | first unit type to multiply. |
| UnitTs | other unit types to multiply. |
| using grem::physics::BaseQuotient = BaseUnit<(UnitT1::DIMENSION / UnitT2::DIMENSION), (UnitT1::MAGNITUDE / UnitT2::MAGNITUDE)> |
The base unit type resulting from dividing two quantities of the given units.
| UnitT1 | unit type to divide. |
| UnitT2 | unit type to divide by. |
| using grem::physics::Quotient = canonical_unit_t<BaseQuotient<UnitT1, UnitT2>> |
The canonical unit type resulting from dividing two quantities of the given units.
| UnitT1 | unit type to divide. |
| UnitT2 | unit type to divide by. |
| using grem::physics::BaseMultipleOf = BaseUnit<UnitT::DIMENSION, UnitT::MAGNITUDE * Magnitude<Multiple>{}> |
The base unit type corresponding to a given unit with its magnitude scaled by a given multiplier.
| UnitT | unit type to scale the magnitude of. |
| Multiple | scale to multiply the unit's magnitude by. |
| using grem::physics::MultipleOf = canonical_unit_t<BaseMultipleOf<UnitT, Multiple>> |
The canonical unit type corresponding to a given unit with its magnitude scaled by a given multiplier.
| UnitT | unit type to scale the magnitude of. |
| Multiple | scale to multiply the unit's magnitude by. |
| using grem::physics::BaseRelative = BaseUnit<UnitT::DIMENSION, Magnitude<UnitT::MagnitudeType::VALUE, false>{}> |
The base unit type corresponding to a given unit with its magnitude made relative.
| UnitT | unit type to get the relative unit of. |
| using grem::physics::Relative = canonical_unit_t<BaseRelative<UnitT>> |
The canonical unit type corresponding to a given unit with its magnitude made relative.
| UnitT | unit type to get the relative unit of. |
| using grem::physics::BaseAbsolute = BaseUnit<UnitT::DIMENSION, Magnitude<UnitT::MagnitudeType::VALUE, true>{}> |
The base unit type corresponding to a given unit with its magnitude made absolute.
| UnitT | unit type to get the absolute unit of. |
| using grem::physics::BaseSqrt = BaseUnit<sqrt(UnitT::DIMENSION), sqrt(UnitT::MAGNITUDE)> |
The base unit type resulting from taking the square root of a quantity of the given unit.
| UnitT | unit type to get the square root of. |
| using grem::physics::Sqrt = canonical_unit_t<BaseSqrt<UnitT>> |
The canonical unit type resulting from taking the square root of a quantity of the given unit.
| UnitT | unit type to get the square root of. |
| using grem::physics::BaseReciprocal = BaseUnit<DIMENSIONLESS / UnitT::DIMENSION, Magnitude<1.0l / UnitT::MagnitudeType::VALUE, UnitT::MagnitudeType::IS_ABSOLUTE>{}> |
The base unit type resulting from taking the multiplicative inverse of a quantity of the given unit.
| UnitT | unit type to get the multiplicative inverse of. |
| using grem::physics::Reciprocal = canonical_unit_t<BaseReciprocal<UnitT>> |
The canonical unit type resulting from taking the multiplicative inverse of a quantity of the given unit.
| UnitT | unit type to get the multiplicative inverse of. |
| using grem::physics::BaseSquare = BaseProduct<UnitT, UnitT> |
The base unit type resulting from squaring a quantity of the given unit.
| UnitT | unit type to get the square of. |
| using grem::physics::Square = canonical_unit_t<BaseSquare<UnitT>> |
The canonical unit type resulting from squaring a quantity of the given unit.
| UnitT | unit type to get the square of. |
| using grem::physics::BaseCubic = BaseProduct<UnitT, UnitT, UnitT> |
The base unit type resulting from taking the cube of a quantity of the given unit.
| UnitT | unit type to get the cube of. |
| using grem::physics::Cubic = canonical_unit_t<BaseCubic<UnitT>> |
The canonical unit type resulting from taking the cube of a quantity of the given unit.
| UnitT | unit type to get the cube of. |
| using grem::physics::BaseKilo = BaseMultipleOf<UnitT, 1000.0l> |
The base unit type corresponding to a given unit with its magnitude scaled by 1000.
| UnitT | unit type to scale the magnitude of. |
| using grem::physics::Kilo = canonical_unit_t<BaseKilo<UnitT>> |
The canonical unit type corresponding to a given unit with its magnitude scaled by 1000.
| UnitT | unit type to scale the magnitude of. |
| using grem::physics::BaseDeci = BaseMultipleOf<UnitT, 0.1l> |
The base unit type corresponding to a given unit with its magnitude scaled by 1/10.
| UnitT | unit type to scale the magnitude of. |
| using grem::physics::Deci = canonical_unit_t<BaseDeci<UnitT>> |
The canonical unit type corresponding to a given unit with its magnitude scaled by 1/10.
| UnitT | unit type to scale the magnitude of. |
| using grem::physics::BaseCenti = BaseMultipleOf<UnitT, 0.01l> |
The base unit type corresponding to a given unit with its magnitude scaled by 1/100.
| UnitT | unit type to scale the magnitude of. |
| using grem::physics::Centi = canonical_unit_t<BaseCenti<UnitT>> |
The canonical unit type corresponding to a given unit with its magnitude scaled by 1/100.
| UnitT | unit type to scale the magnitude of. |
| using grem::physics::BaseMilli = BaseMultipleOf<UnitT, 0.001l> |
The base unit type corresponding to a given unit with its magnitude scaled by 1/1000.
| UnitT | unit type to scale the magnitude of. |
| using grem::physics::Milli = canonical_unit_t<BaseMilli<UnitT>> |
The canonical unit type corresponding to a given unit with its magnitude scaled by 1/1000.
| UnitT | unit type to scale the magnitude of. |
| using grem::physics::BaseSIUnit = BaseUnit<D, Magnitude<1.0l>{}> |
The base relative SI unit type for a given dimension.
| D | dimension to get the SI unit of. |
| using grem::physics::SIUnit = canonical_unit_t<BaseSIUnit<D>> |
The canonical relative SI unit type for a given dimension.
| D | dimension to get the SI unit of. |
| using grem::physics::Scalar = float |
Underlying scalar type of physics quantity components.
| using grem::physics::AngularQuantity = std::conditional_t<N == 3, Quantity<3, UnitT>, Quantity<1, UnitT>> |
Physical quantity type representing an angular quantity in world space, with one component in 2D and three components in 3D.
| N | number of dimensions of the world space (must be 2 or 3). |
| UnitT | unit type of the quantity. |
| using grem::physics::Mask = std::conditional_t<N == 1, bool, vec<N, bool>> |
Boolean quantity.
Unitless.
| N | number of dimensions of the world space (must be 1, 2 or 3). |
| using grem::physics::Mask1D = Mask<1> |
Boolean quantity in 1-dimensional space. Unitless.
| using grem::physics::Mask2D = Mask<2> |
Boolean quantity in 2-dimensional space. Unitless.
| using grem::physics::Mask3D = Mask<3> |
Boolean quantity in 3-dimensional space. Unitless.
| using grem::physics::AngularMask = std::conditional_t<N == 3, Mask<N>, Mask<1>> |
Angular boolean quantity.
Unitless.
| N | number of dimensions of the world space (must be 2 or 3). |
| using grem::physics::AngularMask2D = AngularMask<2> |
Angular boolean quantity in 2-dimensional space. Unitless.
| using grem::physics::AngularMask3D = AngularMask<3> |
Angular boolean quantity in 2-dimensional space. Unitless.
| using grem::physics::AngularTensorQuantity = std::conditional_t<N == 3, TensorQuantity<3, UnitT>, Quantity<1, UnitT>> |
| using grem::physics::Scale = Quantity<N, Unitless> |
Dimensionless scale.
Unitless.
| N | number of dimensions of the world space (must be 1, 2 or 3). |
| using grem::physics::Scale1D = Scale<1> |
Dimensionless scale in 1-dimensional space. Unitless.
| using grem::physics::Scale2D = Scale<2> |
Dimensionless scale in 2-dimensional space. Unitless.
| using grem::physics::Scale3D = Scale<3> |
Dimensionless scale in 3-dimensional space. Unitless.
| using grem::physics::Coefficient = Scale1D |
Unitless scalar quantity.
| using grem::physics::Basis = TensorQuantity<N, Unitless> |
Basis matrix.
Unitless.
| N | number of dimensions of the world space (must be 2 or 3). |
| using grem::physics::Basis2D = Basis<2> |
Basis matrix in 2-dimensional space. Unitless.
| using grem::physics::Basis3D = Basis<3> |
Basis matrix in 3-dimensional space. Unitless.
| using grem::physics::AngularScale = AngularQuantity<N, Unitless> |
Angular dimensionless scale.
Unitless.
| N | number of dimensions of the world space (must be 2 or 3). |
| using grem::physics::AngularScale2D = AngularScale<2> |
Angular dimensionless scale in 2-dimensional space. Unitless.
| using grem::physics::AngularScale3D = AngularScale<3> |
Angular dimensionless scale in 3-dimensional space. Unitless.
| using grem::physics::Angle = Quantity<1, Radians> |
Angle quantity.
Unit: Radians.
| using grem::physics::AbsoluteAngle = Quantity<1, Absolute<Radians>> |
Absolute angle in world space.
Unit: Radians.
| using grem::physics::AbsoluteAngles = AngularQuantity<N, Absolute<Radians>> |
Absolute angles in world space.
Unit: Radians.
| N | number of dimensions of the world space (must be 2 or 3). |
| using grem::physics::Roll = AbsoluteAngles<2> |
Absolute angle in 2-dimensional space.
Unit: Radians.
| using grem::physics::PitchYaw = Quantity<2, Absolute<Radians>> |
Absolute angles in 3-dimensional space without roll.
Unit: Radians.
| using grem::physics::PitchYawRoll = AbsoluteAngles<3> |
Absolute angles in 3-dimensional space.
Unit: Radians.
| using grem::physics::RollRotation = Angle |
Relative rotation of roll.
Unit: Radians.
| using grem::physics::PitchYawRotations = Quantity<2, Radians> |
Relative rotations of pitch and yaw.
Unit: Radians.
| using grem::physics::PitchYawRollRotations = Quantity<3, Radians> |
Relative rotations of pitch, yaw and roll.
Unit: Radians.
| using grem::physics::Rotation = AngularQuantity<N, Radians> |
Relative rotation quantity.
Unit: Radians.
| N | number of dimensions of the world space (must be 2 or 3). |
| using grem::physics::Rotation2D = Rotation<2> |
Relative rotation in 2-dimensional space. Unit: Radians.
| using grem::physics::Rotation3D = Rotation<3> |
Relative rotation in 3-dimensional space. Unit: Radians.
| using grem::physics::Direction2D = Direction<2> |
Normalized unit vector in 2-dimensional space. Unitless.
| using grem::physics::Direction3D = Direction<3> |
Normalized unit vector in 3-dimensional space. Unitless.
Basis in 2-dimensional space whose columns are all unit vectors that are orthogonal to each other. Unitless.
Basis in 3-dimensional space whose columns are all unit vectors that are orthogonal to each other. Unitless.
| using grem::physics::Orientation2D = Orientation<2> |
Absolute orientation in 2-dimensional space. Unit: Radians.
| using grem::physics::Orientation3D = Orientation<3> |
Absolute orientation in 3-dimensional space. Unit: Radians.
| using grem::physics::Length = Quantity<N, Meters> |
Relative distance/length offset quantity.
Unit: Meters.
| N | number of dimensions of the world space (must be 1, 2 or 3). |
| using grem::physics::Length1D = Length<1> |
Relative distance/length offset in 1-dimensional space. Unit: Meters.
| using grem::physics::Length2D = Length<2> |
Relative distance/length offset in 2-dimensional space. Unit: Meters.
| using grem::physics::Length3D = Length<3> |
Relative distance/length offset in 3-dimensional space. Unit: Meters.
| using grem::physics::LengthTensor = TensorQuantity<N, Meters> |
Tensor of length quantities.
Unit: Meters.
| N | number of dimensions of the world space (must be 2 or 3). |
| using grem::physics::LengthTensor2D = LengthTensor<2> |
Tensor of length quantities in 2-dimensional space. Unit: Meters.
| using grem::physics::LengthTensor3D = LengthTensor<3> |
Tensor of length quantities in 3-dimensional space. Unit: Meters.
| using grem::physics::Position = Quantity<N, Absolute<Meters>> |
Absolute position in world space.
Unit: Meters.
| N | number of dimensions of the world space (must be 1, 2 or 3). |
| using grem::physics::Position1D = Position<1> |
Absolute position in 1-dimensional space. Unit: Meters.
| using grem::physics::Position2D = Position<2> |
Absolute position in 2-dimensional space. Unit: Meters.
| using grem::physics::Position3D = Position<3> |
Absolute position in 3-dimensional space. Unit: Meters.
| using grem::physics::Distance = Length1D |
Scalar length quantity.
Alias of Length1D, but semantically implies that the value is expected to be non-negative.
Unit: Meters.
| using grem::physics::SquaredLength = Quantity<1, SquareMeters> |
Scalar squared length quantity.
Unit: Square meters.
Scalar squared length quantity.
Unit: Square meters.
Affine transformation in 2-dimensional local space.
Affine transformation in 3-dimensional local space.
| using grem::physics::Transformation2D = Transformation<2> |
Affine transformation in 2-dimensional space.
| using grem::physics::Transformation3D = Transformation<3> |
Affine transformation in 3-dimensional space.
Inverse of an affine transformation in 2-dimensional local space.
Inverse of an affine transformation in 3-dimensional local space.
Inverse of an affine transformation in 2-dimensional space.
Inverse of an affine transformation in 3-dimensional space.
| using grem::physics::Mass = Quantity<1, Kilograms> |
Scalar mass quantity.
Unit: Kilograms.
| using grem::physics::InverseMass = Quantity<1, PerKilogram> |
Scalar inverse mass quantity.
Unit: Per kilogram.
| using grem::physics::Time = Quantity<1, Seconds> |
Scalar relative time duration quantity.
Unit: Seconds.
| using grem::physics::Area = Quantity<1, SquareMeters> |
Scalar area quantity.
Unit: Square meters.
| using grem::physics::SquaredArea = Quantity<1, Square<SquareMeters>> |
Scalar squared area quantity.
Unit: Square meters squared.
| using grem::physics::Volume = Quantity<1, CubicMeters> |
Scalar volume quantity.
Unit: Cubic meters.
| using grem::physics::SquaredVolume = Quantity<1, Square<CubicMeters>> |
Scalar squared volume quantity.
Unit: Cubic meters squared.
| using grem::physics::Density = Quantity<1, KilogramsPerCubicMeter> |
Scalar density quantity.
Unit: Kilograms per cubic meter.
| using grem::physics::Rate = Quantity<N, Hertz> |
Frequency quantity.
Unit: Hertz (AKA per second).
| N | number of dimensions of the world space (must be 1, 2 or 3). |
| using grem::physics::Rate1D = Rate<1> |
Frequency in 1-dimensional space. Unit: Hertz (AKA per second).
| using grem::physics::Rate2D = Rate<2> |
Frequency in 2-dimensional space. Unit: Hertz (AKA per second).
| using grem::physics::Rate3D = Rate<3> |
Frequency in 3-dimensional space. Unit: Hertz (AKA per second).
| using grem::physics::Frequency = Rate1D |
Scalar frequency quantity.
Alias of Rate1D, but semantically implies that the value is expected to be non-negative.
Unit: Hertz (AKA per second).
| using grem::physics::AngularFrequency = AngularQuantity<N, Hertz> |
Angular frequency quantity.
Unit: Hertz (AKA per second).
| N | number of dimensions of the world space (must be 2 or 3). |
Angular frequency in 2-dimensional space. Unit: Hertz (AKA per second).
Angular frequency in 3-dimensional space. Unit: Hertz (AKA per second).
| using grem::physics::LinearAbsement = Quantity<N, MeterSeconds> |
Linear absement quantity.
Unit: Meter seconds.
| N | number of dimensions of the world space (must be 1, 2 or 3). |
| using grem::physics::LinearAbsement1D = LinearAbsement<1> |
Linear absement in 1-dimensional space. Unit: Meter seconds.
| using grem::physics::LinearAbsement2D = LinearAbsement<2> |
Linear absement in 2-dimensional space. Unit: Meter seconds.
| using grem::physics::LinearAbsement3D = LinearAbsement<3> |
Linear absement in 3-dimensional space. Unit: Meter seconds.
| using grem::physics::Wavenumber = Quantity<1, PerMeter> |
Scalar wavenumber quantity.
Unit: Per meter.
| using grem::physics::LinearVelocity = Quantity<N, MetersPerSecond> |
Linear velocity quantity.
Unit: Meters per second.
| N | number of dimensions of the world space (must be 1, 2 or 3). |
| using grem::physics::LinearVelocity1D = LinearVelocity<1> |
Linear velocity in 1-dimensional space. Unit: Meters per second.
| using grem::physics::LinearVelocity2D = LinearVelocity<2> |
Linear velocity in 2-dimensional space. Unit: Meters per second.
| using grem::physics::LinearVelocity3D = LinearVelocity<3> |
Linear velocity in 3-dimensional space. Unit: Meters per second.
| using grem::physics::Speed = LinearVelocity1D |
Scalar linear velocity quantity.
Alias of LinearVelocity1D, but semantically implies that the value is expected to be non-negative.
Unit: Meters per second.
| using grem::physics::LinearVelocityTensor = TensorQuantity<N, MetersPerSecond> |
Tensor of linear velocity quantities.
Unit: Meters per second.
| N | number of dimensions of the world space (must be 2 or 3). |
Tensor of linear velocity quantities in 2-dimensional space. Unit: Meters per second.
Tensor of linear velocity quantities in 3-dimensional space. Unit: Meters per second.
| using grem::physics::SquaredSpeed = Quantity<1, Square<MetersPerSecond>> |
Scalar squared speed quantity.
Unit: Square meters per second squared.
| using grem::physics::LinearAcceleration = Quantity<N, MetersPerSecondSquared> |
Linear acceleration quantity.
Unit: Meters per second squared.
| N | number of dimensions of the world space (must be 1, 2 or 3). |
Linear acceleration in 1-dimensional space. Unit: Meters per second squared.
Linear acceleration in 2-dimensional space. Unit: Meters per second squared.
Linear acceleration in 3-dimensional space. Unit: Meters per second squared.
Linear acceleration quantity. Unit: Meters per second squared.
| using grem::physics::SquaredAcceleration = Quantity<1, Square<MetersPerSecondSquared>> |
Scalar squared acceleration quantity.
Unit: Square meters per second^4.
| using grem::physics::LinearAccelerationTensor = TensorQuantity<N, MetersPerSecondSquared> |
Tensor of linear acceleration quantities.
Unit: Meters per second squared.
| N | number of dimensions of the world space (must be 2 or 3). |
Tensor of linear acceleration quantities in 2-dimensional space. Unit: Meters per second squared.
Tensor of linear acceleration quantities in 3-dimensional space. Unit: Meters per second squared.
| using grem::physics::Force = Quantity<N, Newton> |
Force quantity.
Unit: Newton (AKA kilogram meters per second squared).
| N | number of dimensions of the world space (must be 1, 2 or 3). |
| using grem::physics::Force1D = Force<1> |
Force in 1-dimensional space. Unit: Newton (AKA kilogram meters per second squared).
| using grem::physics::Force2D = Force<2> |
Force in 2-dimensional space. Unit: Newton (AKA kilogram meters per second squared).
| using grem::physics::Force3D = Force<3> |
Force in 3-dimensional space. Unit: Newton (AKA kilogram meters per second squared).
| using grem::physics::ForceTensor = TensorQuantity<N, Newton> |
Tensor of force quantities.
Unit: Newton (AKA kilogram meters per second squared).
| N | number of dimensions of the world space (must be 2 or 3). |
| using grem::physics::ForceTensor2D = ForceTensor<2> |
Tensor of force quantities in 2-dimensional space. Unit: Newton (AKA kilogram meters per second squared).
| using grem::physics::ForceTensor3D = ForceTensor<3> |
Tensor of force quantities in 3-dimensional space. Unit: Newton (AKA kilogram meters per second squared).
| using grem::physics::Torque = AngularQuantity<N, NewtonMeters> |
Torque quantity.
Unit: Newton meters (AKA kilogram square meters per second squared).
| N | number of dimensions of the world space (must be 2 or 3). |
| using grem::physics::Torque2D = Torque<2> |
Torque in 2-dimensional space. Unit: Newton meters (AKA kilogram square meters per second squared).
| using grem::physics::Torque3D = Torque<3> |
Torque in 3-dimensional space. Unit: Newton meters (AKA kilogram square meters per second squared).
| using grem::physics::TorqueTensor = TensorQuantity<N, NewtonMeters> |
Tensor of torque quantities.
Unit: Newton meters (AKA kilogram square meters per second squared).
| N | number of dimensions of the world space (must be 2 or 3). |
| using grem::physics::TorqueTensor2D = TorqueTensor<2> |
Tensor of torque quantities in 2-dimensional space. Unit: Newton meters (AKA kilogram square meters per second squared).
| using grem::physics::TorqueTensor3D = TorqueTensor<3> |
Tensor of torque quantities in 3-dimensional space. Unit: Newton meters (AKA kilogram square meters per second squared).
| using grem::physics::LinearImpulse = Quantity<N, NewtonSeconds> |
Linear impulse quantity.
Unit: Newton seconds (AKA kilogram meters per second).
| N | number of dimensions of the world space (must be 1, 2 or 3). |
| using grem::physics::LinearImpulse1D = LinearImpulse<1> |
Linear impulse in 1-dimensional space. Unit: Newton seconds (AKA kilogram meters per second).
| using grem::physics::LinearImpulse2D = LinearImpulse<2> |
Linear impulse in 2-dimensional space. Unit: Newton seconds (AKA kilogram meters per second).
| using grem::physics::LinearImpulse3D = LinearImpulse<3> |
Linear impulse in 3-dimensional space. Unit: Newton seconds (AKA kilogram meters per second).
Scalar linear impulse quantity.
Alias of LinearImpulse1D, but semantically implies that the value is expected to be non-negative.
Unit: Newton seconds (AKA kilogram meters per second).
| using grem::physics::LinearImpulseTensor = TensorQuantity<N, NewtonSeconds> |
Tensor of linear impulse quantities.
Unit: Newton seconds (AKA kilogram meters per second).
| N | number of dimensions of the world space (must be 2 or 3). |
Tensor of linear impulse quantities in 2-dimensional space. Unit: Newton seconds (AKA kilogram meters per second).
Tensor of linear impulse quantities in 3-dimensional space. Unit: Newton seconds (AKA kilogram meters per second).
| using grem::physics::LinearMomentum = Quantity<N, KilogramMetersPerSecond> |
Linear momentum quantity.
Unit: Kilogram meters per second.
| N | number of dimensions of the world space (must be 1, 2 or 3). |
| using grem::physics::LinearMomentum1D = LinearMomentum<1> |
Linear momentum in 1-dimensional space. Unit: Kilogram meters per second.
| using grem::physics::LinearMomentum2D = LinearMomentum<2> |
Linear momentum in 2-dimensional space. Unit: Kilogram meters per second.
| using grem::physics::LinearMomentum3D = LinearMomentum<3> |
Linear momentum in 3-dimensional space. Unit: Kilogram meters per second.
Scalar linear momentum quantity.
Alias of LinearMomentum1D, but semantically implies that the value is expected to be non-negative.
Unit: Kilogram meters per second.
| using grem::physics::LinearMomentumTensor = TensorQuantity<N, KilogramMetersPerSecond> |
Tensor of linear momentum quantities.
Unit: Kilogram meters per second.
| N | number of dimensions of the world space (must be 2 or 3). |
Tensor of linear momentum quantities in 2-dimensional space. Unit: Kilogram meters per second.
Tensor of linear momentum quantities in 3-dimensional space. Unit: Kilogram meters per second.
| using grem::physics::MomentOfInertia = AngularQuantity<N, KilogramSquareMeters> |
Moment of inertia quantity.
Unit: Kilogram square meters.
| N | number of dimensions of the world space (must be 2 or 3). |
| using grem::physics::MomentOfInertia2D = MomentOfInertia<2> |
Moment of inertia in 2-dimensional space. Unit: Kilogram square meters.
| using grem::physics::MomentOfInertia3D = MomentOfInertia<3> |
Moment of inertia in 3-dimensional space. Unit: Kilogram square meters.
| using grem::physics::MomentOfInertiaTensor = AngularTensorQuantity<N, KilogramSquareMeters> |
Tensor of moment of inertia quantities.
Unit: Kilogram square meters.
| N | number of dimensions of the world space (must be 2 or 3). |
Tensor of moment of inertia quantities in 2-dimensional space. Unit: Kilogram square meters.
Tensor of moment of inertia quantities in 3-dimensional space. Unit: Kilogram square meters.
| using grem::physics::InverseMomentOfInertia = AngularQuantity<N, PerKilogramSquareMeter> |
Inverse moment of inertia quantity.
Unit: Per kilogram square meter.
| N | number of dimensions of the world space (must be 2 or 3). |
Inverse moment of inertia in 2-dimensional space. Unit: Kilogram square meters.
Inverse moment of inertia in 3-dimensional space. Unit: Kilogram square meters.
| using grem::physics::InverseMomentOfInertiaTensor = AngularTensorQuantity<N, PerKilogramSquareMeter> |
Tensor of inverse moment of inertia quantities.
Unit: Per kilogram square meter.
| N | number of dimensions of the world space (must be 2 or 3). |
Tensor of inverse moment of inertia quantities in 2-dimensional space. Unit: Per kilogram square meter.
Tensor of inverse moment of inertia quantities in 3-dimensional space. Unit: Per kilogram square meter.
| using grem::physics::PrincipalMomentsOfInertia = AngularQuantity<N, KilogramSquareMeters> |
Principal moments of inertia in inertia major axis space.
Unit: Kilogram square meters.
| N | number of dimensions of the world space (must be 2 or 3). |
Principal moments of inertia in 2-dimensional inertia major axis space. Unit: kilogram square meters.
Principal moments of inertia in 3-dimensional inertia major axis space. Unit: kilogram square meters.
Local inertia orientation of an object in 2-dimensional space. Unit: Radians.
Local inertia orientation of an object in 3-dimensional space. Unit: Radians.
| using grem::physics::InversePrincipalMomentsOfInertia = AngularQuantity<N, Reciprocal<KilogramSquareMeters>> |
Inverse principal moments of inertia in inertia major axis space.
Unit: Per kilogram square squared.
| N | number of dimensions of the world space (must be 2 or 3). |
Inverse principal moments of inertia in 2-dimensional inertia major axis space. Unit: Per kilogram square meter.
Inverse principal moments of inertia in 3-dimensional inertia major axis space. Unit: Per kilogram square meter.
| using grem::physics::MomentArm = AngularQuantity<N, Meters> |
Moment arm quantity.
Unit: Meters.
| N | number of dimensions of the world space (must be 2 or 3). |
| using grem::physics::MomentArm2D = MomentArm<2> |
Moment arm in 2-dimensional space. Unit: Meters.
| using grem::physics::MomentArm3D = MomentArm<3> |
Moment arm in 3-dimensional space. Unit: Meters.
| using grem::physics::MomentArmTensor = TensorQuantity<N, Meters> |
Tensor of moment arm quantities.
Unit: Meters.
| N | number of dimensions of the world space (must be 2 or 3). |
| using grem::physics::MomentArmTensor2D = MomentArmTensor<2> |
Tensor of moment arm quantities in 2-dimensional space. Unit: Meters.
| using grem::physics::MomentArmTensor3D = MomentArmTensor<3> |
Tensor of moment arm quantities in 3-dimensional space. Unit: Meters.
| using grem::physics::AngularAbsement = AngularQuantity<N, RadianSeconds> |
Angular absement quantity.
Unit: Radian seconds.
| N | number of dimensions of the world space (must be 2 or 3). |
| using grem::physics::AngularAbsement2D = AngularAbsement<2> |
Angular absement in 2-dimensional space. Unit: Radian seconds.
| using grem::physics::AngularAbsement3D = AngularAbsement<3> |
Angular absement in 3-dimensional space. Unit: Radian seconds.
| using grem::physics::AngularVelocity = AngularQuantity<N, RadiansPerSecond> |
Angular velocity quantity.
Unit: Radians per second.
| N | number of dimensions of the world space (must be 2 or 3). |
| using grem::physics::AngularVelocity2D = AngularVelocity<2> |
Angular velocity in 2-dimensional space. Unit: Radians per second.
| using grem::physics::AngularVelocity3D = AngularVelocity<3> |
Angular velocity in 3-dimensional space. Unit: Radians per second.
| using grem::physics::AngularSpeed = Quantity<1, RadiansPerSecond> |
Scalar angular speed quantity.
Unit: Radians per second.
| using grem::physics::AngularVelocityTensor = AngularTensorQuantity<N, RadiansPerSecond> |
Tensor of angular velocity quantities.
Unit: Radians per second.
| N | number of dimensions of the world space (must be 2 or 3). |
Tensor of angular velocity quantities in 2-dimensional space. Unit: Radians per second.
Tensor of angular velocity quantities in 3-dimensional space. Unit: Radians per second.
| using grem::physics::SquaredAngularSpeed = Quantity<1, Square<RadiansPerSecond>> |
Scalar squared angular speed quantity.
Unit: Square radians per second squared.
| using grem::physics::RollRate = AngularSpeed |
Time derivative of roll.
Unit: Radians per second.
| using grem::physics::PitchYawRates = Quantity<2, RadiansPerSecond> |
Time derivatives of pitch and yaw.
Unit: Radians per second.
| using grem::physics::PitchYawRollRates = Quantity<3, RadiansPerSecond> |
Time derivatives of pitch, yaw and roll.
Unit: Radians per second.
| using grem::physics::AngularAcceleration = AngularQuantity<N, RadiansPerSecondSquared> |
Angular acceleration quantity.
Unit: Radians per second squared.
| N | number of dimensions of the world space (must be 2 or 3). |
Angular acceleration in 2-dimensional space. Unit: Radians per second squared.
Angular acceleration in 3-dimensional space. Unit: Radians per second squared.
| using grem::physics::AngularAccelerationTensor = AngularTensorQuantity<N, RadiansPerSecondSquared> |
Tensor of angular acceleration quantities.
Unit: Radians per second squared.
| N | number of dimensions of the world space (must be 2 or 3). |
Tensor of angular acceleration quantities in 2-dimensional space. Unit: Radians per second squared.
Tensor of angular acceleration quantities in 3-dimensional space. Unit: Radians per second squared.
| using grem::physics::AngularImpulse = AngularQuantity<N, NewtonMeterSeconds> |
Angular impulse quantity.
Unit: Newton meter seconds (AKA kilogram square meters per second).
| N | number of dimensions of the world space (must be 2 or 3). |
| using grem::physics::AngularImpulse2D = AngularImpulse<2> |
Angular impulse in 2-dimensional space. Unit: Newton meter seconds.
| using grem::physics::AngularImpulse3D = AngularImpulse<3> |
Angular impulse in 3-dimensional space. Unit: Newton meter seconds.
| using grem::physics::AngularImpulseTensor = AngularTensorQuantity<N, NewtonMeterSeconds> |
Tensor of angular impulse quantities.
Unit: Newton meter seconds (AKA kilogram square meters per second).
| N | number of dimensions of the world space (must be 2 or 3). |
Tensor of angular impulse quantities in 2-dimensional space. Unit: Newton meter seconds (AKA kilogram square meters per second).
Tensor of angular impulse quantities in 3-dimensional space. Unit: Newton meter seconds (AKA kilogram square meters per second).
| using grem::physics::AngularMomentum = AngularQuantity<N, KilogramSquareMetersPerSecond> |
Angular momentum quantity.
Unit: Kilogram square meters per second.
| N | number of dimensions of the world space (must be 2 or 3). |
| using grem::physics::AngularMomentum2D = AngularMomentum<2> |
Angular momentum in 2-dimensional space. Unit: kilogram square meters per second.
| using grem::physics::AngularMomentum3D = AngularMomentum<3> |
Angular momentum in 3-dimensional space. Unit: kilogram square meters per second.
| using grem::physics::AngularMomentumTensor = AngularTensorQuantity<N, KilogramSquareMetersPerSecond> |
Tensor of angular momentum quantities.
Unit: Kilogram square meters per second.
| N | number of dimensions of the world space (must be 2 or 3). |
Tensor of angular momentum quantities in 2-dimensional space. Unit: Kilogram square meters per second.
Tensor of angular momentum quantities in 3-dimensional space. Unit: Kilogram square meters per second.
| using grem::physics::LinearViscousDamping = Quantity<1, NewtonSecondsPerMeter> |
Scalar linear viscous damping quantity.
Unit: Newton seconds per meter (AKA kilograms per second).
| using grem::physics::AngularViscousDamping = Quantity<1, NewtonMeterSecondsPerRadian> |
Scalar angular viscous damping quantity.
Unit: Newton meter seconds per radian.
| using grem::physics::MassFlowRate = Quantity<1, KilogramsPerSecond> |
Scalar mass flow rate quantity.
Unit: Kilograms per second.
| using grem::physics::VolumetricFlowRate = Quantity<1, CubicMetersPerSecond> |
Scalar volumetric flow rate quantity.
Unit: Cubic meters per second.
| using grem::physics::Work = Quantity<1, Joules> |
Scalar mechanical work quantity.
Unit: Joules (AKA kilogram square meters per second squared).
| using grem::physics::Power = Quantity<1, Watts> |
Scalar mechanical power quantity.
Unit: Watts (AKA kilogram square meters per second cubed).
| using grem::physics::Energy = Quantity<1, Joules> |
Scalar energy quantity.
Unit: Joules (AKA kilogram square meters per second squared).
| using grem::physics::Stiffness = Quantity<1, NewtonPerMeter> |
Stiffness quantity.
Unit: Newton per meter (AKA kilograms per second squared).
| using grem::physics::Compliance = Quantity<1, MetersPerNewton> |
Compliance quantity.
Unit: Meters per Newton (AKA square seconds per kilogram).
| using grem::physics::Ray2D = Ray<2> |
Description of a ray in 2-dimensional space.
| using grem::physics::Ray3D = Ray<3> |
Description of a ray in 3-dimensional space.
| using grem::physics::RayHit2D = RayHit<2> |
Result of a raycast hit in 2-dimensional space.
| using grem::physics::RayHit3D = RayHit<3> |
Result of a raycast hit in 3-dimensional space.
| using grem::physics::RayHitInterior2D = RayHitInterior<2> |
Result of a raycast interior hit in 2-dimensional space.
| using grem::physics::RayHitInterior3D = RayHitInterior<3> |
Result of a raycast interior hit in 3-dimensional space.
| using grem::physics::RaycastResult2D = RaycastResult<2> |
Result of a raycast in 2-dimensional space.
| using grem::physics::RaycastResult3D = RaycastResult<3> |
Result of a raycast in 3-dimensional space.
| using grem::physics::Plane2D = Plane<2> |
Description of an infinite plane in 2-dimensional space.
| using grem::physics::Plane3D = Plane<3> |
Description of an infinite plane in 3-dimensional space.
| using grem::physics::LineSegment2D = LineSegment<2> |
Description of a line segment in 2-dimensional space.
| using grem::physics::LineSegment3D = LineSegment<3> |
Description of a line segment in 3-dimensional space.
| using grem::physics::Box2D = Box<2> |
Description of an axis-aligned box in 2-dimensional space.
| using grem::physics::Box3D = Box<3> |
Description of an axis-aligned box in 3-dimensional space.
| using grem::physics::Sphere2D = Sphere<2> |
Description of a sphere in 2-dimensional space.
| using grem::physics::Sphere3D = Sphere<3> |
Description of a sphere in 3-dimensional space.
| using grem::physics::Circle = Sphere2D |
Description of a circle in 2-dimensional space.
| using grem::physics::Triangle2D = Triangle<2> |
Description of a triangle in 2-dimensional space.
| using grem::physics::Triangle3D = Triangle<3> |
Description of a triangle in 3-dimensional space.
| using grem::physics::PointShape2D = PointShape<2> |
Point shape in 2-dimensional space.
| using grem::physics::PointShape3D = PointShape<3> |
Point shape in 3-dimensional space.
Line segment shape parallel to the local Y axis in 2-dimensional space.
Line segment shape parallel to the local Y axis in 3-dimensional space.
Infinite line shape parallel to the local Y axis in 2-dimensional space.
Infinite line shape parallel to the local Y axis in 3-dimensional space.
Infinite half-space shape perpendicular to the local Y axis in 2-dimensional space.
Infinite half-space shape perpendicular to the local Y axis in 3-dimensional space.
| using grem::physics::BoxShape2D = BoxShape<2> |
Box shape in 2-dimensional space.
| using grem::physics::BoxShape3D = BoxShape<3> |
Box shape in 3-dimensional space.
Rectangle shape in 2-dimensional space.
| using grem::physics::CubeShape2D = CubeShape<2> |
Cube shape in 2-dimensional space.
| using grem::physics::CubeShape3D = CubeShape<3> |
Cube shape in 3-dimensional space.
Square shape in 2-dimensional space.
| using grem::physics::EllipsoidShape2D = EllipsoidShape<2> |
Ellipsoid shape in 2-dimensional space.
| using grem::physics::EllipsoidShape3D = EllipsoidShape<3> |
Ellipsoid shape in 3-dimensional space.
Ellipse shape in 2-dimensional space.
| using grem::physics::SphereShape2D = SphereShape<2> |
Sphere shape in 2-dimensional space.
| using grem::physics::SphereShape3D = SphereShape<3> |
Sphere shape in 3-dimensional space.
Circle shape in 2-dimensional space.
| using grem::physics::CapsuleShape2D = CapsuleShape<2> |
Capsule shape aligned with the local Y axis in 2-dimensional space.
| using grem::physics::CapsuleShape3D = CapsuleShape<3> |
Capsule shape aligned with the local Y axis in 3-dimensional space.
Stadium shape in 2-dimensional space.
Tapered capsule shape aligned with the local Y axis in 2-dimensional space.
Tapered capsule shape aligned with the local Y axis in 3-dimensional space.
Convex polytope shape in 2-dimensional space.
Convex polytope shape in 3-dimensional space.
Triangle mesh shape in 2-dimensional space.
Triangle mesh shape in 3-dimensional space.
Wrapper of another shape with a local transformation applied to it in 2-dimensional space.
Wrapper of another shape with a local transformation applied to it in 3-dimensional space.
| using grem::physics::SubCollider2D = SubCollider<2> |
Sub-collider of a compound collider shape in 2-dimensional space.
| using grem::physics::SubCollider3D = SubCollider<3> |
Sub-collider of a compound collider shape in 3-dimensional space.
Shape that combines multiple colliders in 2-dimensional space.
Shape that combines multiple colliders in 3-dimensional space.
| using grem::physics::Shape2D = Shape<2> |
Generic shape in 2-dimensional space.
| using grem::physics::Shape3D = Shape<3> |
Generic shape in 3-dimensional space.
| using grem::physics::Collider2D = Collider<2> |
Generic collider in 2-dimensional space.
| using grem::physics::Collider3D = Collider<3> |
Generic collider in 3-dimensional space.
| using grem::physics::ShapeView2D = ShapeView<2> |
View of a generic shape in 2-dimensional space.
| using grem::physics::ShapeView3D = ShapeView<3> |
View of a generic shape in 3-dimensional space.
| using grem::physics::ConvexShapeView2D = ConvexShapeView<2> |
View of a generic convex shape in 2-dimensional space.
| using grem::physics::ConvexShapeView3D = ConvexShapeView<3> |
View of a generic convex shape in 3-dimensional space.
View of a generic convex polytope shape in 2-dimensional space.
View of a generic convex polytope shape in 3-dimensional space.
| using grem::physics::ColliderView2D = ColliderView<2> |
View of a generic collider in 2-dimensional space.
| using grem::physics::ColliderView3D = ColliderView<3> |
View of a generic collider in 3-dimensional space.
Configuration options for a 2-dimensional Simulation.
Configuration options for a 3-dimensional Simulation.
| using grem::physics::EntityRegistry |
Entity registry used by a Simulation.
| N | number of dimensions of the world space (must be 2 or 3). |
| using grem::physics::EntityRegistry2D = EntityRegistry<2> |
Entity registry used by a 2-dimensional Simulation.
| using grem::physics::EntityRegistry3D = EntityRegistry<3> |
Entity registry used by a 3-dimensional Simulation.
| using grem::physics::ResourceRegistry |
Resource registry used by a Simulation.
| N | number of dimensions of the world space (must be 2 or 3). |
Resource registry used by a 2-dimensional Simulation.
Resource registry used by a 3-dimensional Simulation.
| using grem::physics::EntityBuilder = execution::EntityBuilder<EntityRegistry<N>> |
Entity builder used by a Simulation.
| N | number of dimensions of the world space (must be 2 or 3). |
| using grem::physics::EntityBuilder2D = EntityBuilder<2> |
Entity builder used by a 2-dimensional Simulation.
| using grem::physics::EntityBuilder3D = EntityBuilder<3> |
Entity builder used by a 3-dimensional Simulation.
| using grem::physics::Scheduler = execution::Scheduler<EntityRegistry<N>, ResourceRegistry<N>> |
Scheduler used by a Simulation.
| N | number of dimensions of the world space (must be 2 or 3). |
| using grem::physics::Scheduler2D = Scheduler<2> |
Scheduler used by a 2-dimensional Simulation.
| using grem::physics::Scheduler3D = Scheduler<3> |
Scheduler used by a 3-dimensional Simulation.
| using grem::physics::Schedule = execution::Schedule<EntityRegistry<N>, ResourceRegistry<N>> |
Schedule used by a Simulation.
| N | number of dimensions of the world space (must be 2 or 3). |
| using grem::physics::Schedule2D = Schedule<2> |
Schedule used by a 2-dimensional Simulation.
| using grem::physics::Schedule3D = Schedule<3> |
Schedule used by a 3-dimensional Simulation.
Options for scheduling a step of a 2-dimensional Simulation.
Options for scheduling a step of a 3-dimensional Simulation.
| using grem::physics::Simulation2D = Simulation<2> |
Discrete-time simulation of physical interactions between objects and joints in 2-dimensional space.
The simulation uses a right-handed coordinate system and SI units for any physical quantities.
| using grem::physics::Simulation3D = Simulation<3> |
Discrete-time simulation of physical interactions between objects and joints in 3-dimensional space.
The simulation uses a right-handed coordinate system and SI units for any physical quantities.
|
strong |
Type of a potentially colliding feature in a contact between two objects.
|
nodiscard |
Check if a collider contains a given point.
| pointA | point to test. |
| filterA | collision filter of the point. |
| colliderB | collider to check. |
| transformationB | world-space transformation of the collider to check. |
| filterTest | test that potential colliders must pass in order to be considered for collision. The default test passes if the filters of both colliders want either collision or response (or both) on any layer(s). To limit to only colliders that want response (and skip trigger volumes, etc.), use CollisionFilterTest::RESPONSE. |
|
nodiscard |
Check if a collider contains a given point.
| pointA | point to test. |
| filterA | collision filter of the point. |
| colliderB | collider to check. |
| transformationB | world-space transformation of the collider to check. |
| filterTest | test that potential colliders must pass in order to be considered for collision. The default test passes if the filters of both colliders want either collision or response (or both) on any layer(s). To limit to only colliders that want response (and skip trigger volumes, etc.), use CollisionFilterTest::RESPONSE. |
|
nodiscard |
Find the first collision of a ray with a collider.
| rayA | ray to cast. |
| filterA | collision filter of the ray. |
| colliderB | collider to cast against. |
| transformationB | world-space transformation of the collider to cast against. |
| filterTest | test that potential colliders must pass in order to be considered for collision. The default test passes if the filters of both colliders want either collision or response (or both) on any layer(s). To limit to only colliders that want response (and skip trigger volumes, etc.), use CollisionFilterTest::RESPONSE. |
|
nodiscard |
Find the first collision of a ray with a collider.
| rayA | ray to cast. |
| filterA | collision filter of the ray. |
| colliderB | collider to cast against. |
| transformationB | world-space transformation of the collider to cast against. |
| filterTest | test that potential colliders must pass in order to be considered for collision. The default test passes if the filters of both colliders want either collision or response (or both) on any layer(s). To limit to only colliders that want response (and skip trigger volumes, etc.), use CollisionFilterTest::RESPONSE. |
|
nodiscard |
Find the first collision between a convex shape a collider when the convex shape is cast from a given starting transformation towards a given direction.
| convexShapeA | convex shape to cast. |
| filterA | collision filter of the shape. |
| transformationA | world-space transformation of the convex shape. |
| colliderB | collider to cast against. |
| transformationB | world-space transformation of the collider. |
| direction | direction to cast the convex shape in. |
| maxDistance | maximum hit distance. Must be non-negative. |
| options | collision algorithm options, see CollisionAlgorithmOptions. Should usually be simulation.resources.getResource<SimulationOptions<N>>().collisionAlgorithmOptions. |
| filterTest | test that potential colliders must pass in order to be considered for collision. The default test passes if the filters of both colliders want either collision or response (or both) on any layer(s). To limit to only colliders that want response (and skip trigger volumes, etc.), use CollisionFilterTest::RESPONSE. |
|
nodiscard |
Find the first collision between a convex shape a collider when the convex shape is cast from a given starting transformation towards a given direction.
| convexShapeA | convex shape to cast. |
| filterA | collision filter of the shape. |
| transformationA | world-space transformation of the convex shape. |
| colliderB | collider to cast against. |
| transformationB | world-space transformation of the collider. |
| direction | direction to cast the convex shape in. |
| maxDistance | maximum hit distance. Must be non-negative. |
| options | collision algorithm options, see CollisionAlgorithmOptions. Should usually be simulation.resources.getResource<SimulationOptions<N>>().collisionAlgorithmOptions. |
| filterTest | test that potential colliders must pass in order to be considered for collision. The default test passes if the filters of both colliders want either collision or response (or both) on any layer(s). To limit to only colliders that want response (and skip trigger volumes, etc.), use CollisionFilterTest::RESPONSE. |
|
inlinenodiscard |
Combine the static friction of two objects based on their friction combination modes.
| staticFrictionA | static friction of the first object. |
| staticFrictionB | static friction of the second object. |
| frictionCombineA | friction combination mode of the first object. |
| frictionCombineB | friction combination mode of the second object. |
|
inlinenodiscard |
Combine the kinetic friction of two objects based on their friction combination modes.
| kineticFrictionA | kinetic friction of the first object. |
| kineticFrictionB | kinetic friction of the second object. |
| frictionCombineA | friction combination mode of the first object. |
| frictionCombineB | friction combination mode of the second object. |
|
inlinenodiscard |
Combine the rolling resistance of two objects based on their friction combination modes.
| rollingResistanceA | rolling resistance of the first object. |
| rollingResistanceB | rolling resistance of the second object. |
| frictionCombineA | friction combination mode of the first object. |
| frictionCombineB | friction combination mode of the second object. |
|
inlinenodiscard |
Combine the restitution of two objects based on their restitution combination modes.
| restitutionA | restitution of the first object. |
| restitutionB | restitution of the second object. |
| restitutionCombineA | restitution combination mode of the first object. |
| restitutionCombineB | restitution combination mode of the second object. |
|
inlinenodiscard |
Calculate the inverse mass of a given mass, while accounting for 0 and infinity.
| mass | mass to get the inverse mass of. |
|
inlinenodiscard |
Calculate the mass of a given inverse mass, while accounting for 0 and infinity.
| inverseMass | inverse mass to get the mass of. |
|
inlinenodiscard |
Calculate the inverse moment of inertia of a given moment of inertia, while accounting for 0 and infinity.
| momentOfInertia | moment of inertia to get the inverse moment of inertia of. |
|
inlinenodiscard |
Calculate the inverse moment of inertia of a given moment of inertia, while accounting for 0 and infinity.
| momentOfInertia | moment of inertia to get the inverse moment of inertia of. |
|
inlinenodiscard |
Calculate the moment of inertia of a given inverse moment of inertia, while accounting for 0 and infinity.
| inverseMomentOfInertia | inverse moment of inertia to get the moment of inertia of. |
|
inlinenodiscard |
Calculate the moment of inertia of a given inverse moment of inertia, while accounting for 0 and infinity.
| inverseMomentOfInertia | inverse moment of inertia to get the moment of inertia of. |
|
inlinenodiscard |
Calculate the principal moments of inertia of an object given its shape and mass.
| shape | shape of the object. |
| mass | mass of the object. |
|
inlinenodiscard |
Calculate the world-space moment of inertia tensor of an object given its principal moments of inertia, the local orientation of the inertia frame, and the world-space orientation of the object.
| principalMomentsOfInertia | principal moments of inertia of the object. |
| localInertiaOrientation | local orientation of the inertia frame. |
| orientation | world-space orientation of the object. |
|
inlinenodiscard |
Calculate the world-space moment of inertia tensor of an object given its principal moments of inertia, the local orientation of the inertia frame, and the world-space orientation of the object.
| principalMomentsOfInertia | principal moments of inertia of the object. |
| localInertiaOrientation | local orientation of the inertia frame. |
| orientation | world-space orientation of the object. |
|
inlinenodiscard |
Calculate the world-space inverse moment of inertia tensor of an object given its inverse principal moments of inertia, the local orientation of the inertia frame, and the world-space orientation of the object.
| inversePrincipalMomentsOfInertia | inverse principal moments of inertia of the object. |
| localInertiaOrientation | local orientation of the inertia frame. |
| orientation | world-space orientation of the object. |
|
inlinenodiscard |
Calculate the world-space inverse moment of inertia tensor of an object given its inverse principal moments of inertia, the local orientation of the inertia frame, and the world-space orientation of the object.
| inversePrincipalMomentsOfInertia | inverse principal moments of inertia of the object. |
| localInertiaOrientation | local orientation of the inertia frame. |
| orientation | world-space orientation of the object. |
|
inlinenodiscard |
Calculate the combined effective mass of two points on two different objects along a given axis.
| inverseMassA | inverse mass of the first object. |
| inverseMassB | inverse mass of the second object. |
| inverseMomentOfInertiaTensorA | world-space inverse moment of inertia tensor of the first object. |
| inverseMomentOfInertiaTensorB | world-space inverse moment of inertia tensor of the second object. |
| offsetA | world-space offset relative to the first object's center of mass to calculate the effective mass at. |
| offsetB | world-space offset relative to the second object's center of mass to calculate the effective mass at. |
| axis | world-space direction along which to calculate the combined effective mass of the two points. |
|
inlinenodiscard |
Calculate the combined effective mass of two points on two different objects along each axis of a given orthonormal basis.
| inverseMassA | inverse mass of the first object. |
| inverseMassB | inverse mass of the second object. |
| inverseMomentOfInertiaTensorA | world-space inverse moment of inertia tensor of the first object. |
| inverseMomentOfInertiaTensorB | world-space inverse moment of inertia tensor of the second object. |
| offsetA | world-space offset relative to the first object's center of mass to calculate the effective masses at. |
| offsetB | world-space offset relative to the second object's center of mass to calculate the effective masses at. |
| axes | basis of world-space directions along which to calculate the combined effective masses of the two points. |
|
inlinenodiscard |
Calculate the combined effective moment of inertia of two objects around a given axis.
| inverseMomentOfInertiaTensorA | world-space inverse moment of inertia tensor of the first object. |
| inverseMomentOfInertiaTensorB | world-space inverse moment of inertia tensor of the second object. |
| axis | world-space axis around which to calculate the combined effective moment of inertia of the two objects. |
|
inlinenodiscard |
Calculate the combined effective moment of inertia tensor of two objects.
| inverseMomentOfInertiaTensorA | world-space inverse moment of inertia tensor of the first object. |
| inverseMomentOfInertiaTensorB | world-space inverse moment of inertia tensor of the second object. |
|
inlinenodiscard |
Calculate the linear velocity of a point on an object with linear and angular velocity.
| linearVelocity | linear velocity of the object's center of mass. |
| angularVelocity | angular velocity of the object around its center of mass. |
| offset | world-space offset relative to the object's center of mass to calculate the velocity at. |
|
inline |
Apply a world-space impulse to an object's velocity.
| linearVelocity | linear velocity of the object to apply the impulse to. |
| angularVelocity | angular velocity of the object to apply the impulse to. |
| inverseMass | inverse mass of the object. |
| inverseMomentOfInertiaTensor | world-space inverse moment of inertia tensor of the object. |
| impulse | world-space impulse to apply. |
| offset | world-space offset relative to the object's center of mass to apply the impulse at. |
|
inline |
Apply a world-space impulse to an object's velocity, making it active and marking it as corrected, unless the object is not correctable.
| activity | activity state of the object. If ObjectActivity::isCorrectible is false, the impulse is ignored. Otherwise, the impulse is applied, and ObjectActivity::wasCorrected and ObjectActivity::isActive are both set to true. |
| linearVelocity | linear velocity of the object to apply the impulse to. |
| angularVelocity | angular velocity of the object to apply the impulse to. |
| inverseMass | inverse mass of the object. |
| inverseMomentOfInertiaTensor | world-space inverse moment of inertia tensor of the object. |
| impulse | world-space impulse to apply. |
| offset | world-space offset relative to the object's center of mass to apply the impulse at. |
|
inline |
Apply a world-space linear impulse to an object's velocity at its center of mass.
| linearVelocity | linear velocity of the object to apply the impulse to. |
| inverseMass | inverse mass of the object. |
| linearImpulse | world-space impulse to apply. |
|
inline |
Apply a world-space linear impulse to an object's velocity at its center of mass, making it active and marking it as corrected, unless the object is not correctable.
| activity | activity state of the object. If ObjectActivity::isCorrectible is false, the impulse is ignored. Otherwise, the impulse is applied, and ObjectActivity::wasCorrected and ObjectActivity::isActive are both set to true. |
| linearVelocity | linear velocity of the object to apply the impulse to. |
| inverseMass | inverse mass of the object. |
| linearImpulse | world-space impulse to apply. |
|
inline |
Apply a world-space angular impulse to an object's velocity at its center of mass.
| angularVelocity | angular velocity of the object to apply the impulse to. |
| inverseMomentOfInertiaTensor | world-space inverse moment of inertia tensor of the object. |
| angularImpulse | world-space angular impulse to apply. |
|
inline |
Apply a world-space angular impulse to an object's velocity at its center of mass, making it active and marking it as corrected, unless the object is not correctable.
| activity | activity state of the object. If ObjectActivity::isCorrectible is false, the impulse is ignored. Otherwise, the impulse is applied, and ObjectActivity::wasCorrected and ObjectActivity::isActive are both set to true. |
| angularVelocity | angular velocity of the object to apply the impulse to. |
| inverseMomentOfInertiaTensor | world-space inverse moment of inertia tensor of the object. |
| angularImpulse | world-space angular impulse to apply. |
|
nodiscardconsteval |
Compare two physical units for equality.
| a | first unit. |
| b | second unit. |
|
nodiscardconsteval |
Get the unit resulting from taking the additive identity of a quantity of a unit.
This is a special case where the resulting unit is not necessarily canonical, in order to preserve more information than the general BaseUnit::operator+().
| a | unit to get the additive identity of. |
|
nodiscardconsteval |
Get the unit resulting from taking the additive inverse of a quantity of a unit.
This is a special case where the resulting unit is not necessarily canonical, in order to preserve more information than the general BaseUnit::operator-().
| a | unit to get the additive inverse of. |
|
nodiscardconsteval |
Get the unit resulting from adding two quantities of the same unit.
This is a special case where the resulting unit is not necessarily canonical, in order to preserve more information than the general BaseUnit::operator+().
| a | first unit. |
| b | second unit. |
|
nodiscardconsteval |
Get the unit resulting from subtracting two quantities of the same unit.
This is a special case where the resulting unit is not necessarily canonical, in order to preserve more information than the general BaseUnit::operator-().
| a | first unit. |
| b | second unit. |
|
nodiscardconsteval |
Get the unit resulting from multiplying a unit by a dimensionless unit with a magnitude of 1.
This is a special case where the resulting unit is not necessarily canonical, in order to preserve more information than the general BaseUnit::operator*().
| a | first unit. |
| b | second unit. |
|
nodiscardconsteval |
Get the unit resulting from multiplying a dimensionless unit with a magnitude of 1 with another unit.
This is a special case where the resulting unit is not necessarily canonical, in order to preserve more information than the general BaseUnit::operator*().
| a | first unit. |
| b | second unit. |
|
nodiscardconsteval |
Get the unit resulting from dividing a unit by a dimensionless unit with a magnitude of 1.
This is a special case where the resulting unit is not necessarily canonical, in order to preserve more information than the general BaseUnit::operator/().
| a | first unit. |
| b | second unit. |
|
nodiscardconsteval |
Get the canonical unit corresponding to a given unit with its magnitude scaled by a given multiplier.
| Multiple | scale to multiply the unit's magnitude by. |
| a | unit to scale the magnitude of. |
|
nodiscardconsteval |
Get the canonical unit corresponding to a given unit with its magnitude made relative.
| a | unit to get the relative unit of. |
|
nodiscardconsteval |
Get the canonical unit corresponding to a given unit with its magnitude made absolute.
| a | unit to get the absolute unit of. |
|
nodiscardconsteval |
Get the canonical unit resulting from taking the square root of a quantity of a given unit.
| a | unit to get the square root of. |
|
nodiscardconsteval |
Get the canonical unit resulting from taking the multiplicative inverse of a quantity of a given unit.
| a | unit to get the multiplicative inverse of. |
|
nodiscardconsteval |
Get the canonical unit resulting from squaring a quantity of a given unit.
| a | unit to get the square of. |
|
nodiscardconsteval |
Get the canonical unit resulting from taking the cube of a quantity of a given unit.
| a | unit to get the cube of. |
|
nodiscardconsteval |
Get the canonical unit corresponding to a given unit with its magnitude scaled by 1000.
| a | unit to scale the magnitude of. |
|
nodiscardconsteval |
Get the canonical unit corresponding to a given unit with its magnitude scaled by 1/10.
| a | unit to scale the magnitude of. |
|
nodiscardconsteval |
Get the canonical unit corresponding to a given unit with its magnitude scaled by 1/100.
| a | unit to scale the magnitude of. |
|
nodiscardconsteval |
Get the canonical unit corresponding to a given unit with its magnitude scaled by 1/1000.
| a | unit to scale the magnitude of. |
|
nodiscardconstexpr |
|
nodiscardconstexpr |
|
nodiscardconstexpr |
|
nodiscardconstexpr |
|
nodiscardconstexpr |
|
nodiscardconstexpr |
|
nodiscardconstexpr |
|
nodiscardconstexpr |
|
nodiscardconstexpr |
|
nodiscardconstexpr |
|
nodiscardconstexpr |
|
constexpr |
|
nodiscardconstexpr |
|
constexpr |
|
nodiscardconstexpr |
|
constexpr |
|
nodiscardconstexpr |
|
constexpr |
|
nodiscardconstexpr |
|
nodiscardconstexpr |
|
nodiscardconstexpr |
|
nodiscardconstexpr |
|
nodiscardconstexpr |
|
nodiscardconstexpr |
|
nodiscardconstexpr |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscardconstexpr |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscardconstexpr |
|
nodiscardconstexpr |
|
nodiscardconstexpr |
|
nodiscardconstexpr |
|
nodiscardconstexpr |
|
nodiscardconstexpr |
|
nodiscardconstexpr |
|
nodiscardconstexpr |
|
nodiscardconstexpr |
|
nodiscardconstexpr |
|
nodiscardconstexpr |
|
nodiscardconstexpr |
|
nodiscardconstexpr |
|
nodiscardconstexpr |
|
nodiscardconstexpr |
|
nodiscardconstexpr |
|
nodiscardconstexpr |
|
nodiscardconstexpr |
|
nodiscardconstexpr |
|
nodiscardconstexpr |
|
nodiscardconstexpr |
|
nodiscardconstexpr |
|
nodiscardconstexpr |
|
nodiscardconstexpr |
|
nodiscardconstexpr |
|
nodiscardconstexpr |
|
nodiscardconstexpr |
|
nodiscardconstexpr |
|
nodiscardconstexpr |
|
nodiscardconstexpr |
|
nodiscardconstexpr |
|
nodiscardconstexpr |
|
nodiscardconstexpr |
|
nodiscardconstexpr |
|
nodiscardconstexpr |
|
nodiscardconstexpr |
|
nodiscardconstexpr |
|
nodiscardconstexpr |
|
nodiscardconstexpr |
|
nodiscardconstexpr |
|
nodiscardconstexpr |
|
nodiscardconstexpr |
|
nodiscardconstexpr |
|
nodiscardconstexpr |
|
nodiscardconstexpr |
|
nodiscardconstexpr |
|
nodiscardconstexpr |
|
nodiscardconstexpr |
|
nodiscardconstexpr |
|
nodiscardconstexpr |
|
nodiscardconstexpr |
|
nodiscardconstexpr |
|
nodiscardconstexpr |
|
nodiscardconstexpr |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscardconstexpr |
|
nodiscardconstexpr |
|
nodiscard |
|
nodiscardconstexpr |
|
nodiscardconstexpr |
|
nodiscardconstexpr |
|
nodiscardconstexpr |
|
nodiscardconstexpr |
|
nodiscardconstexpr |
|
nodiscardconstexpr |
|
nodiscardconstexpr |
|
nodiscardconstexpr |
|
nodiscardconstexpr |
|
nodiscardconstexpr |
|
nodiscardconstexpr |
|
nodiscardconstexpr |
|
nodiscardconstexpr |
|
nodiscardconstexpr |
|
nodiscardconstexpr |
|
nodiscardconstexpr |
|
nodiscardconstexpr |
|
nodiscardconstexpr |
|
nodiscardconstexpr |
|
nodiscardconstexpr |
|
nodiscardconstexpr |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
| GREM_ALWAYS_INLINE Orientation< N > & grem::physics::operator+= | ( | Orientation< N > & | a, |
| Rotation< N > | b ) |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
| GREM_ALWAYS_INLINE Orientation< N > & grem::physics::operator-= | ( | Orientation< N > & | a, |
| Rotation< N > | b ) |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
inlinenodiscard |
Get the smallest signed angle between two absolute angles.
| a | first angle. |
| b | second angle. |
|
inlinenodiscard |
Get the smallest signed angle around an axis between two relative vectors.
| axis | axis to get the angle around. |
| a | first vector. |
| b | second vector. |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
constexprnoexcept |
Get the complement of a collision layer.
| a | the layer to invert. |
|
constexprnoexcept |
Get the union of two collision layers.
| a | first layer. |
| b | second layer. |
|
nodiscardconstexpr |
|
nodiscardconstexpr |
|
nodiscardconstexpr |
|
nodiscardconstexpr |
|
nodiscardconstexpr |
|
nodiscardconstexpr |
|
nodiscardconstexpr |
|
nodiscardconstexpr |
|
nodiscardconstexpr |
|
nodiscardconstexpr |
|
nodiscardconstexpr |
|
nodiscardconstexpr |
|
nodiscardconstexpr |
|
nodiscardconstexpr |
|
nodiscardconstexpr |
|
nodiscardconstexpr |
|
nodiscardconstexpr |
|
nodiscardconstexpr |
|
inlinenodiscard |
Get the axis-aligned bounding box of an axis-aligned box with a transformation applied to it.
| N | number of dimensions of the world space (must be 2 or 3). |
| transformation | transformation to apply to the box. |
| box | local box to transform and get the axis-aligned bounding box of. |
|
inline |
Execute a function for each vertex of a face of a convex polytope shape.
| shape | shape to iterate the vertices of. |
| faceIndex | index of the face of the shape to iterate. Must be a valid face index. |
| callback | function to execute for each vertex index of the face. |
|
inline |
Execute a function for each vertex of a face of a convex polytope shape.
| shape | shape to iterate the vertices of. |
| faceIndex | index of the face of the shape to iterate. Must be a valid face index. |
| callback | function to execute for each vertex index of the face. |
|
inline |
Execute a function for each face that is adjacent to a vertex of a convex polytope shape.
| shape | shape to iterate the faces of. |
| vertexIndex | index of the vertex of the shape to iterate faces around. Must be a valid vertex index. |
| callback | function to execute for each face index around the vertex. |
|
inline |
Execute a function for each face that is adjacent to a vertex of a convex polytope shape.
| shape | shape to iterate the faces of. |
| vertexIndex | index of the vertex of the shape to iterate faces around. Must be a valid vertex index. |
| callback | function to execute for each face index around the vertex. |
|
inline |
Execute a function for each vertex that is directly connected to a specific vertex of a convex polytope shape.
| shape | shape to iterate the vertices of. |
| vertexIndex | index of the vertex of the shape to iterate vertices around. Must be a valid vertex index. |
| callback | function to execute for each vertex index neighboring the vertex. |
|
inline |
Execute a function for each vertex that is directly connected to a specific vertex of a convex polytope shape.
| shape | shape to iterate the vertices of. |
| vertexIndex | index of the vertex of the shape to iterate vertices around. Must be a valid vertex index. |
| callback | function to execute for each vertex index neighboring the vertex. |
|
constexpr |
Call a visitor functor with a reference to the currently active underlying shape of a ShapeView.
| visitor | callable object that is overloaded to accept any of the Shape alternatives as a parameter. |
| shape | shape view whose underlying value to pass to the visitor. |
| BadVariantAccess | if the shape view is in the valueless by exception state. |
| any | exception thrown by the visitor. |
|
nodiscardconstexpr |
Clamp a value to a specific interval.
| value | value to clamp. |
| minValue | low boundary to clamp the value to. Must be less than or equal to maxValue. |
| maxValue | high boundary to clamp the value to. Must be greater than or equal to minValue. |
|
nodiscardconstexpr |
Get the greater of two values, or the first value if they are equivalent.
| a | first value. |
| b | second value. |
|
nodiscardconstexpr |
Get the smaller of two values, or the first value if they are equivalent.
| a | first value. |
| b | second value. |
|
nodiscardconstexpr |
Choose between two values based on a condition.
| condition | condition to check. |
| ifTrue | value to return if the condition is true. |
| ifFalse | value to return if the condition is false. |
Default stiffness value for linear joint limits.
|
inlineconstexpr |
Default damping value for linear joint limits.
Default stiffness value for angular joint limits.
|
inlineconstexpr |
Default damping value for angular joint limits.
|
inlineconstexpr |
Identity dimension.
|
inlineconstexpr |
M.
|
inlineconstexpr |
L.
|
inlineconstexpr |
T.
|
inlineconstexpr |
|
inlineconstexpr |
T^-1.
|
inlineconstexpr |
L^-1.
|
inlineconstexpr |
M L T^-2.
|
inlineconstexpr |
T^-2.
|
inlineconstexpr |
M L^2 T^-1.
|
inlineconstexpr |
M L^2.
|
inlineconstexpr |
M L^2.
The canonical relative SI unit for a given dimension.
| D | dimension to get the SI unit of. |
|
inlineconstexpr |
Tag specifying the X component at index 0 of a vector.
|
inlineconstexpr |
Tag specifying the Y component at index 1 of a vector.
|
inlineconstexpr |
Tag specifying the Z component at index 2 of a vector.
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
Identity basis for the given number of dimensions.
| N | number of dimensions of the world space (must be 2 or 3). |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
Identity basis in 2-dimensional space.
|
inlineconstexpr |
Identity basis in 3-dimensional space.
|
inlineconstexpr |
The X axis in the space with the given number of dimensions.
| N | number of dimensions of the world space (must be 2 or 3). |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
The X axis in 2-dimensional space.
|
inlineconstexpr |
The X axis in 3-dimensional space.
|
inlineconstexpr |
The Y axis in the space with the given number of dimensions.
| N | number of dimensions of the world space (must be 2 or 3). |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
The Y axis in 2-dimensional space.
|
inlineconstexpr |
The Y axis in 3-dimensional space.
|
inlineconstexpr |
The Z axis in the space with the given number of dimensions.
| N | number of dimensions of the world space (must be 3). |
|
inlineconstexpr |
|
inlineconstexpr |
The Z axis in 3-dimensional space.