public class TubeUtility extends Object
TubeUtility.FrameInfo
which
is fundamental for the mathematical implementation presented here.
TubeFactory
,
PolygonalTubeFactory
Modifier and Type | Class and Description |
---|---|
static class |
TubeUtility.FrameInfo
This class provides information about a frame field at a given point
of a curve in 3-space (not necessarily euclidean!).
|
Modifier and Type | Field and Description |
---|---|
static double[][] |
canonicalTranslation |
static double[][] |
diamondCrossSection |
static double[][] |
octagonalCrossSection |
static IndexedFaceSet[] |
urTube |
Modifier and Type | Method and Description |
---|---|
static void |
calculateAndSetNormalVectorsForCurve(IndexedLineSet ils) |
static SceneGraphComponent |
tubeOneEdge(double[] ip1,
double[] ip2,
double rad,
double[][] crossSection,
int metric) |
static SceneGraphComponent |
tubeOneEdge(SceneGraphComponent sgc,
double[] ip1,
double[] ip2,
double rad,
double[][] crossSection,
int metric) |
public static double[][] diamondCrossSection
public static double[][] octagonalCrossSection
public static IndexedFaceSet[] urTube
public static double[][] canonicalTranslation
public static SceneGraphComponent tubeOneEdge(double[] ip1, double[] ip2, double rad, double[][] crossSection, int metric)
ip1
- ip2
- rad
- crossSection
- metric
- public static SceneGraphComponent tubeOneEdge(SceneGraphComponent sgc, double[] ip1, double[] ip2, double rad, double[][] crossSection, int metric)
public static void calculateAndSetNormalVectorsForCurve(IndexedLineSet ils)