public class PwIdentify extends PjWorkshop
Identification of vertices incorporated into loader manager jv.loader.PgLoader. Therefore functionality to identify vertices moved from jvx.geom.PwCleanMesh to jv.geom.PuCleanMesh.
HAS_BOUNDARY_PANEL, HAS_CONFIG_PANEL, HAS_INFO_PANEL, HAS_LABEL_PANEL, HAS_MATERIAL_PANEL, HAS_TEXTURE_PANEL, HAS_VECTOR_PANEL, INSPECTOR_INFO, INSPECTOR_INFO_EXT, IS_DELETED, IS_FIXED, IS_FOCUSSED, IS_PICKED, IS_SELECTED, IS_USED, NUM_TAGSMODE_BUG, MODE_STANDARD, MODE_VALIDATE| Constructor and Description |
|---|
PwIdentify()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close workshop and remove itself as listener from various classes.
|
static int |
identifyFlatEdges(PgElementSet geom,
double eps)
Identify pairs of adjacent elements whose dihedral angle is less than
a given threshold.
|
static int |
identifyFlatRegions(PgElementSet geom,
double eps)
Identify flat vertex stars to a single elements if the discrete Gauss
curvature is less or equal than a given threshold.
|
static int |
markFlatEdges(PgElementSet geom,
double eps)
Mark pairs of adjacent elements whose dihedral angle is less than
a given threshold.
|
static int |
markFlatRegions(PgElementSet geom,
double eps)
Mark flat regions by identifying adjacent elements whose dihedral
angle is less or equal than a given threshold.
|
void |
markVertices(double eps)
Mark vertices which are identical, or within an epsilon box of each other.
|
static void |
markVertices(PgPointSet geom,
double eps)
Mark vertices which are identical, or within an epsilon box of each other.
|
void |
ok()
Accept the current state of the geometry and close the workshop.
|
void |
removeMarks()
Remove tag IS_SELECTED from all vertices in geometry.
|
static void |
removeMarks(PgGeometry geom)
Remove tag IS_SELECTED from all vertices and elements in geometry.
|
void |
reset()
Reset this workshop to its initial state from which computations
can start.
|
cancel, getDisplay, getDisplays, getGeometry, getMode, getSavedGeometry, getViewer, init, isModal, isStandalone, openDialog, removeGeometry, setDisplay, setDisplays, setGeometry, setModal, setMode, setStandalone, setViewer, updateaddInspector, addUpdateListener, assureInspector, clearTag, clone, clone, clone, copy, getFather, getInfoPanel, getInspector, getName, getNumObjects, getSymbol, hasInspector, hasTag, hasUpdateListener, instanceOf, instanceOf, newInspector, newInspector, removeInspector, removeInspector, removeUpdateListener, setName, setParent, setSymbol, setTag, toString, updatePanelsequals, getClass, hashCode, notify, notifyAll, wait, wait, waitgetFather, getName, setParentpublic void reset()
reset in class PjWorkshoppublic void close()
close in class PjWorkshoppublic void ok()
ok in class PjWorkshoppublic static int markFlatEdges(PgElementSet geom, double eps)
geom - geometry whose elements shall be identifiedeps - threshold in [0, 180]public static int identifyFlatEdges(PgElementSet geom, double eps)
geom - geometry whose elements shall be identifiedeps - threshold in [0, 180]public static int identifyFlatRegions(PgElementSet geom, double eps)
geom - Geometry whose vertices shall be identifiedeps - threshold in [0, 180]public static int markFlatRegions(PgElementSet geom, double eps)
geom - Geometry whose vertices shall be identifiedeps - threshold in [0, 180]public void markVertices(double eps)
public static void markVertices(PgPointSet geom, double eps)
geom - Geometry whose vertices shall be markedeps - tolerance of coordinate components, not distancepublic void removeMarks()
public static void removeMarks(PgGeometry geom)
"