de.grogra.vecmath.geom
public class Supershape extends ImplicitVolume
ImplicitVolume.Locals| Modifier and Type | Field and Description |
|---|---|
protected double |
a |
protected double |
b |
protected java.lang.ThreadLocal<ImplicitVolume.Locals> |
locals2 |
protected double |
m1 |
protected double |
m2 |
protected double |
n11 |
protected double |
n12 |
protected double |
n13 |
protected double |
n21 |
protected double |
n22 |
protected double |
n23 |
locals| Constructor and Description |
|---|
Supershape(float a,
float b,
float m1,
float n11,
float n12,
float n13,
float m2,
float n21,
float n22,
float n23) |
| Modifier and Type | Method and Description |
|---|---|
protected double |
f(double x,
double y,
double z) |
protected Range |
f(Range x,
Range y,
Range z)
implicit function of the supershape
|
void |
getExtent(Tuple3d min,
Tuple3d max,
Variables temp)
Computes the extent of this volume, i.e., an axis-aligned
bounding box between
min and max. |
boxContainsBoundary, computeIntersections, computeNormal, computeTangents, computeUV, containsgetDiscExtent, getDiscsExtent, getFrobeniusNorm, getObjectToWorldRotationScale, getTransformation, invalidate, invTransformPoint, scale, setTransformation, setTransformation, transformPoint, transformTranspose, transformVector, translateaddConvexIntersections, getId, operator$and, operator$com, operator$or, operator$sub, setIdprotected double a
protected double b
protected final java.lang.ThreadLocal<ImplicitVolume.Locals> locals2
protected double m1
protected double m2
protected double n11
protected double n12
protected double n13
protected double n21
protected double n22
protected double n23
public Supershape(float a,
float b,
float m1,
float n11,
float n12,
float n13,
float m2,
float n21,
float n22,
float n23)
protected double f(double x,
double y,
double z)
f in class ImplicitVolumeprotected Range f(Range x, Range y, Range z)
f in class ImplicitVolumex, - y, zpublic void getExtent(Tuple3d min, Tuple3d max, Variables temp)
Volumemin and max.getExtent in interface VolumegetExtent in class ImplicitVolumemin - minimum coordinates of bounding box are placed in heremax - maximum coordinates of bounding box are placed in heretemp - has to be provided by the invoker, may be used in implementations