public class PwTopology extends PjWorkshop
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_TAGS
MODE_BUG, MODE_STANDARD, MODE_VALIDATE
Constructor and Description |
---|
PwTopology()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
static PgPolygonSet |
getElementStrips(PgElementSet geom) |
static PiVector[] |
getElementStrips(PgElementSet geom,
int startIndex,
int endIndex)
Get a set of different element strips between two given elements.
|
static boolean |
joinAlongPolygon(PgElementSet geom,
PiVector polygon,
PiVector[] newNeighbour)
Glue neighbourhood informations along a polygon upon a PgElementSet
in a given neighbourhood PiVector[].
|
static void |
makeBndPolygonLoop(PgElementSet geom) |
static void |
makeBndPolygonLoopWithoutEnds(PgElementSet geom) |
void |
ok()
Accept the current state of the geometry and close the workshop.
|
void |
reset()
Reset this workshop to its initial state from which computations
can start.
|
static boolean |
splitAlongMarkedEdges(PgElementSet geom)
Destroy neighbourhood information along marked edges of an element set.
|
static boolean |
splitAlongPolygon(PgElementSet geom,
PiVector polygon,
PiVector[] newNeighbour)
Destroy neighbourhood informations along a polygon upon a PgElementSet
in a given neighbourhood PiVector[].
|
cancel, close, getDisplay, getDisplays, getGeometry, getMode, getSavedGeometry, getViewer, init, isModal, isStandalone, openDialog, removeGeometry, setDisplay, setDisplays, setGeometry, setModal, setMode, setStandalone, setViewer, update
addInspector, 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, updatePanels
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
getFather, getName, setParent
public void reset()
reset
in class PjWorkshop
public void ok()
ok
in class PjWorkshop
public static boolean splitAlongMarkedEdges(PgElementSet geom)
Method first disconnects the element neighbourhood and then invokes
PwCleanMesh#splitNonManifoldVertices(PgElementSet)
to duplicate vertices and fully separate the geometry along the marked
polygons.
public static boolean splitAlongPolygon(PgElementSet geom, PiVector polygon, PiVector[] newNeighbour)
public static boolean joinAlongPolygon(PgElementSet geom, PiVector polygon, PiVector[] newNeighbour)
public static PiVector[] getElementStrips(PgElementSet geom, int startIndex, int endIndex)
public static PgPolygonSet getElementStrips(PgElementSet geom)
public static void makeBndPolygonLoop(PgElementSet geom)
public static void makeBndPolygonLoopWithoutEnds(PgElementSet geom)
"