public class QuadMeshUtility extends Object
IndexedFaceSet
which have a non-null Attribute with
key GeometryUtility.QUAD_MESH_SHAPE.
These methods support extracting given u or v parameter curves.
| Modifier and Type | Method and Description |
|---|---|
static double[][] |
extractParameterCurve(double[][] curve,
IndexedFaceSet ifs,
int which,
int type)
Extracts the specified parameter curve from the quad mesh represented by ifs.
|
static double[][] |
extractUParameterCurve(double[][] curve,
IndexedFaceSet ifs,
int which) |
static double[][] |
extractVParameterCurve(double[][] curve,
IndexedFaceSet ifs,
int which) |
static void |
generateAndSetEdgesFromQuadMesh(IndexedFaceSet qm) |
public static double[][] extractUParameterCurve(double[][] curve,
IndexedFaceSet ifs,
int which)
public static double[][] extractVParameterCurve(double[][] curve,
IndexedFaceSet ifs,
int which)
public static double[][] extractParameterCurve(double[][] curve,
IndexedFaceSet ifs,
int which,
int type)
curve - where to store the output curve; null OKifs - the quad meshwhich - the index of the curve to extracttype - 0: extract curve for fixed u-value; 1: fixed v-valuepublic static void generateAndSetEdgesFromQuadMesh(IndexedFaceSet qm)