40inline const std::map<std::string, ProjectMode>& project_modes()
42 static std::map<std::string, ProjectMode> _modes = {
50inline const std::map<std::string, CastMode>& cast_modes()
52 static std::map<std::string, CastMode> _modes = {
59inline const std::map<std::string, WrapMode>& wrap_modes()
61 static std::map<std::string, WrapMode> _modes = {
ProjectMode
Main projection mode.
Definition: project_options.h:21
@ CLOSEST_POINT
Interpolate attribute from the closest point on the source mesh.
@ RAY_CASTING
Copy attribute by projecting along a prescribed direction on the source mesh.
@ CLOSEST_VERTEX
Copy attribute from the closest vertex on the source mesh.
CastMode
Ray-casting mode.
Definition: project_options.h:28
@ BOTH_WAYS
Cast a ray both forward and backward in the prescribed direction.
@ ONE_WAY
Cast a ray forward in the prescribed direction.
WrapMode
Wraping mode for vertices without a hit.
Definition: project_options.h:34
@ CLOSEST_POINT
Interpolate attribute from the closest point on the source mesh.
@ CONSTANT
Fill with a constant value (defaults to 0).
@ CLOSEST_VERTEX
Copy attribute from the closest vertex on the source mesh.
Main namespace for Lagrange.
Definition: AABBIGL.h:30