|
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.PwIntersectElementSet
jvx.geom.PwIntersectWithFunction
Utility program to cut a PgElementSet along a level function or at a level between double values at vertices and generate a PgPolygonSet containing all the intersection polygons.
| 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 | |
PwIntersectWithFunction()
Constructor |
|
| Method Summary | |
void |
clipAtFunction(boolean bPositive)
Clip the workshop's geometry at the level function. |
java.lang.String |
getFunction()
Get textual expression of level function. |
double |
getLevel()
Get level value at which clipping happens. |
void |
intersectWithFunction()
Invoke Cutting the elements of the workshop's geometry at the level function. |
void |
setFunction(java.lang.String s)
Set textual expression of level function used clipping from outside of workshop. |
void |
setGeometry(PgGeometry geom)
Assign a geometry on which this workshop operates, and create a backup copy if workshop is cancelled. |
void |
setLevel(double level)
Set the value at which clipping happens. |
PgElementSet |
splitAtFunction()
Split the workshop's geometry into two geometries along the level function. |
boolean |
update(java.lang.Object event)
Update the class whenever a child has changed. |
| Methods inherited from class jvx.geom.PwIntersectElementSet |
breakElements, breakElements, cancel, cutAlongIntersection, cutAlongIntersection, init, reset, setGeometries |
| Methods inherited from class jvx.project.PjWorkshop |
close, getDisplay, getDisplays, getGeometry, getSavedGeometry, getViewer, isModal, ok, removeGeometry, setDisplay, setDisplays, 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 PwIntersectWithFunction()
| Method Detail |
public void setGeometry(PgGeometry geom)
setGeometry in interface PjWorkshopIfsetGeometry in class PjWorkshopgeom - the workshop modifies this geometry.public java.lang.String getFunction()
public void setFunction(java.lang.String s)
s - string containing a function expressionParserpublic double getLevel()
public void setLevel(double level)
level - level value at which clipping happenspublic boolean update(java.lang.Object event)
update in interface PsUpdateIfupdate in class PjWorkshopevent - sender of this update.
public void intersectWithFunction()
public PgElementSet splitAtFunction()
public void clipAtFunction(boolean bPositive)
bPositive - Flag to get either the higher or the lower function value areas.
|
JavaView© v3.95.000 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||