jbt_anisotropic_superquadric_distance Class Reference
Anisotropic super-quadric metric. More...
#include <distance.h>
Inherits jbt_superquadric_distance.
List of all members.
Public Members
Detailed Description
Anisotropic super-quadric metric.
Given a direction and two ew,ns parameter setss it cubic
interpolates between the two parameter sets based on the dot product
of the displacement vector and the given direction vector.
There is no algebraic equivelent for this distance metric. Therefore
the equation() function is not implemented.
Member Function Documentation
jbt_anisotropic_superquadric_distance::jbt_anisotropic_superquadric_distance( const jNorm3& N, jFlt ew0, jFlt ns0, jFlt ew1, jFlt ns1, int axis = 2, jFlt a = 0, jFlt b = 1)
Construct an anisotropic superquadric distance metric.
- N direction of anisotropy
- ew0,ns0 ew,ns parameter set in direction N
- ew1,ns1 ew,ns parameter at 90 degrees from N
- a start parameter for cubic interpolation
- b finish parameter for cubic interpolation
the
a and
b parameters get passed to
smoothstep
jFlt jbt_anisotropic_superquadric_distance::f( const jVec3& )
jVec3 jbt_anisotropic_superquadric_distance::df( const jVec3&, jFlt )
The documentation for this class was generated from the following file:
JSP /
libjbt v0.1
mtigges@cpsc.ucalgary.ca