public class IndexedLineSetUtility extends Object
IndexedLineSet
.IndexedLineSetUtility
for more ways to specify instances of IndexedLineSet
.Modifier and Type | Method and Description |
---|---|
static double[][] |
calculateAngles(double[][] angles,
IndexedLineSet ils) |
static IndexedLineSet |
circle(int n) |
static IndexedLineSet |
circle(int n,
double cx,
double cy,
double r) |
static IndexedLineSetFactory |
circleFactory(int n,
double cx,
double cy,
double r) |
static IndexedLineSetFactory |
createCurveFactoryFromPoints(double[][] points,
boolean closed) |
static IndexedLineSetFactory |
createCurveFactoryFromPoints(IndexedLineSetFactory ilsf,
double[][] points,
boolean closed) |
static IndexedLineSet |
createCurveFromPoints(double[][] points,
boolean closed) |
static IndexedLineSet |
createCurveFromPoints(double[] points,
int fiber,
boolean closed) |
static IndexedLineSet |
createCurveFromPoints(IndexedLineSet g,
double[][] points,
boolean closed) |
static IndexedLineSet |
createCurveFromPoints(IndexedLineSet g,
double[] points,
int fiber,
boolean closed) |
static IndexedLineSet |
createCurveFromPoints(IndexedLineSet g,
double[] points,
int fiber,
int[][] indices) |
static double[][] |
extractCurve(double[][] curve,
IndexedLineSet ils,
int i) |
static double[][] |
extractCurveColors(double[][] curve,
IndexedLineSet ils,
int i) |
static double[] |
extractRadii(double[] curve,
IndexedLineSet ils,
int i) |
static IndexedLineSet |
refine(IndexedLineSet ils,
int n) |
static IndexedLineSet |
refine2(IndexedLineSet ils,
int[] which) |
static IndexedLineSetFactory |
refineFactory(IndexedLineSet ils,
int n) |
static void |
removeVertex(IndexedLineSetFactory ilsf,
int vertexIndex) |
static void |
removeVertex(IndexedLineSetFactory ilsf,
int vertexIndex,
int edgeIndex) |
public static IndexedLineSet refine(IndexedLineSet ils, int n)
public static IndexedLineSetFactory refineFactory(IndexedLineSet ils, int n)
public static IndexedLineSet refine2(IndexedLineSet ils, int[] which)
public static void removeVertex(IndexedLineSetFactory ilsf, int vertexIndex)
public static void removeVertex(IndexedLineSetFactory ilsf, int vertexIndex, int edgeIndex)
public static double[][] calculateAngles(double[][] angles, IndexedLineSet ils)
public static double[][] extractCurve(double[][] curve, IndexedLineSet ils, int i)
curve
- ils
- i
- public static double[][] extractCurveColors(double[][] curve, IndexedLineSet ils, int i)
public static double[] extractRadii(double[] curve, IndexedLineSet ils, int i)
public static IndexedLineSet createCurveFromPoints(double[][] points, boolean closed)
public static IndexedLineSet createCurveFromPoints(IndexedLineSet g, double[][] points, boolean closed)
public static IndexedLineSetFactory createCurveFactoryFromPoints(double[][] points, boolean closed)
points
- closed
- public static IndexedLineSetFactory createCurveFactoryFromPoints(IndexedLineSetFactory ilsf, double[][] points, boolean closed)
public static IndexedLineSet createCurveFromPoints(double[] points, int fiber, boolean closed)
public static IndexedLineSet createCurveFromPoints(IndexedLineSet g, double[] points, int fiber, int[][] indices)
public static IndexedLineSet createCurveFromPoints(IndexedLineSet g, double[] points, int fiber, boolean closed)
public static IndexedLineSet circle(int n, double cx, double cy, double r)
public static IndexedLineSetFactory circleFactory(int n, double cx, double cy, double r)
public static IndexedLineSet circle(int n)