|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.jreality.geometry.RemoveDuplicateInfo
public class RemoveDuplicateInfo
Field Summary | |
---|---|
static Attribute[] |
defaultAttrs
read out the attributes, which are given by the user, to be compared for equality. |
Method Summary | |
---|---|
double |
getEps()
get Tolerance for equality |
int[] |
getReferenceTable()
|
static void |
removeCycleDefinition(int[][] faces)
a face definition can repeat the first index at the end excample: {1,2,3,4,1} or {1,2,3,4} in first case: the last index will be removed |
static PointSet |
removeDuplicateVertices(PointSet ps,
Attribute... attributes)
merges vertices which appears more than once in the geometry the result of type PointSet is especialy the same typ as the given geometry |
static PointSet |
removeDuplicateVertices(PointSet ps,
double eps,
Attribute... attributes)
merges vertices which appears more than once in the geometry the result of type PointSet is especialy the same typ as the given geometry |
static double[][] |
removeNoFaceVertices(double[][] vertices,
int[][] faces)
removes vertices which are not used by faces. |
void |
setEps(double eps)
set Tolerance for equality |
static void |
simplifySceneTree(SceneGraphComponent g)
simplifys the SceneGraphComponent tree recursivly Nodes with cameras, geometrys and lights will not be changed Nodes with transformations and Appearances will only be deleted if no geometry, camera or light will be effected. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final Attribute[] defaultAttrs
Method Detail |
---|
public static PointSet removeDuplicateVertices(PointSet ps, Attribute... attributes)
public static PointSet removeDuplicateVertices(PointSet ps, double eps, Attribute... attributes)
public double getEps()
public void setEps(double eps)
public int[] getReferenceTable()
public static double[][] removeNoFaceVertices(double[][] vertices, int[][] faces)
vertices
- faces
-
public static void removeCycleDefinition(int[][] faces)
public static void simplifySceneTree(SceneGraphComponent g)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |