|
PhysicsBasedAnimationToolkit 0.0.10
Cross-platform C++20 library of algorithms and data structures commonly used in computer graphics research on physically-based simulation.
|
Elongation operation along the axes. More...
#include <UnaryNode.h>
Public Types | |
| using | ScalarType = TScalar |
| Scalar type. | |
Public Member Functions | |
| Elongate ()=default | |
| Default constructor. | |
| Elongate (Vec3< ScalarType > const &h_) | |
| Construct a new Elongate object. | |
| template<class FSdf> | |
| PBAT_HOST_DEVICE ScalarType | Eval (Vec3< ScalarType > const &p, FSdf &&sdf) const |
| Evaluate the signed distance function at a point. | |
Public Attributes | |
| Vec3< ScalarType > | h {TScalar(1), TScalar(1), TScalar(1)} |
| Elongation vector. | |
Elongation operation along the axes.
| TScalar | Scalar type |
|
inlineexplicit |
Construct a new Elongate object.
| h_ | Elongation vector |
|
inline |
Evaluate the signed distance function at a point.
| FSdf | Callable type with signature ScalarType(Vec3<ScalarType> const&) |
| p | 3 x 1 query point in 3D space |
| sdf | Input SDF |