MayaFlux 0.4.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches
MayaFlux::Kinesis::PositionCarrying Concept Reference

Satisfied by any type exposing a position field convertible to glm::vec3. More...

#include <Morphology.hpp>

Concept definition

template<typename T>
concept MayaFlux::Kinesis::PositionCarrying = requires(const T& v) {
{ v.position } -> std::convertible_to<glm::vec3>;
}
Satisfied by any type exposing a position field convertible to glm::vec3.

Detailed Description

Satisfied by any type exposing a position field convertible to glm::vec3.

Matched by all Kakshya vertex types (Vertex, PointVertex, LineVertex, MeshVertex, TextureQuadVertex), any user-defined struct following the same convention, and glm::vec3 itself when wrapped in a trivial aggregate.

Functions constrained by PositionCarrying accept arbitrary point sets without specialisation: mesh vertices, point clouds, particle systems, Forma geometry, CV observations, or any future vertex kind.

Definition at line 24 of file Morphology.hpp.