|
JavaView© v3.95.000 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjv.object.PsObject
jvx.project.PjWorkshop
jvx.geom.PwBoundary
Utility program for handling boundary polygons of PgElementSet.
| Field Summary |
| Fields inherited from class jv.object.PsObject |
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 |
| Constructor Summary | |
PwBoundary()
Constructor. |
|
| Method Summary | |
void |
close()
Close workshop and remove itself as listener from various classes. |
void |
init()
Initialize and reset project, stops the running animation if any. |
boolean |
isEnabledMakeConstraints()
Check if boundary constraints will be generate when boundary is created. |
static void |
makeBoundary(PgElementSet elementSet)
Generate boundary polygons for a PgElementSet. |
static void |
makeBoundaryConstraint(PgElementSet geom,
int bndIndex,
double lineTol,
double planeTol)
Make boundary constraints for an existing PgBndPolygon. |
void |
makeBoundaryConstraints()
Make boundary constraints for existing PgBndPolygons. |
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. |
void |
setEnabledMakeConstraints(boolean flag)
Set flag which determines if boundary constraints will be generate when boundary is created. |
boolean |
update(java.lang.Object event)
Updates the geometry if this workshop has changed, i.e. if the event is this or null.
|
| Methods inherited from class jvx.project.PjWorkshop |
cancel, getDisplay, getDisplays, getGeometry, getSavedGeometry, getViewer, isModal, removeGeometry, setDisplay, setDisplays, setGeometry, setModal, setViewer |
| Methods inherited from class jv.object.PsObject |
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 |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface jv.object.PsUpdateIf |
getFather, getName, setParent |
| Constructor Detail |
public PwBoundary()
| Method Detail |
public void init()
PjWorkshop
init in class PjWorkshoppublic void reset()
reset in class PjWorkshoppublic void close()
close in class PjWorkshoppublic void ok()
ok in class PjWorkshoppublic boolean update(java.lang.Object event)
PjWorkshopthis or null.
Also propagates update() to superclass with the original argument event.
Some subclasses may register themself as update listener of the geometry of this workshop. In order to prevent an update loop, this method savely uses isUpdateSender() when updating the geometry.
update in interface PsUpdateIfupdate in class PjWorkshopevent - sender of this update.
public static void makeBoundary(PgElementSet elementSet)
public boolean isEnabledMakeConstraints()
true if making of boundary constraints is enabled.public void setEnabledMakeConstraints(boolean flag)
flag - true to enable making of boundary constraints.public void makeBoundaryConstraints()
public static void makeBoundaryConstraint(PgElementSet geom,
int bndIndex,
double lineTol,
double planeTol)
|
JavaView© v3.95.000 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||