JavaView© v3.95.000

jvx.geom
Class PwIntersectElementSet

java.lang.Object
  extended byjv.object.PsObject
      extended byjvx.project.PjWorkshop
          extended byjvx.geom.PwIntersectElementSet
All Implemented Interfaces:
java.lang.Cloneable, PjWorkshopIf, PsUpdateIf, java.io.Serializable
Direct Known Subclasses:
PwIntersectWithFunction

public class PwIntersectElementSet
extends PjWorkshop

Utility program to cut one or two PgElementSets along their element intersections or one PgElementSet along a level Function and generate a PgPolygonSet containing all the intersection polygons.

See Also:
Serialized Form

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
PwIntersectElementSet()
          Constructor
PwIntersectElementSet(java.lang.String titel)
          Constructor
 
Method Summary
 void breakElements(boolean br)
          Set flag to break elements at intersections.
 void breakElements(int elSetNr, boolean br)
          Set flag to break elements at intersections.
 void cancel()
          Cancel operation of this workshop by resetting all modified geometries, removing added geometries and finally closing this workshop.
 void cutAlongIntersection(boolean cut)
          Set flag to destroy neighbourhood at intersections.
 void cutAlongIntersection(int elSetNr, boolean cut)
          Set flag to destroy neighbourhood at intersections.
 void init()
          Initialization: Create some variables to store data of the intersected PgElementSets
 void reset()
          Fill storing variables with data.
 void setGeometries(PgElementSet elSet0, PgElementSet elSet1)
          Set two Geometries to be intersected.
 
Methods inherited from class jvx.project.PjWorkshop
close, getDisplay, getDisplays, getGeometry, getSavedGeometry, getViewer, isModal, ok, removeGeometry, setDisplay, setDisplays, setGeometry, setModal, setViewer, update
 
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

PwIntersectElementSet

public PwIntersectElementSet()
Constructor


PwIntersectElementSet

public PwIntersectElementSet(java.lang.String titel)
Constructor

Method Detail

cancel

public void cancel()
Cancel operation of this workshop by resetting all modified geometries, removing added geometries and finally closing this workshop. If necessary, the duplicate of the original geometry is restored into the geometry.

Overrides:
cancel in class PjWorkshop

init

public void init()
Initialization: Create some variables to store data of the intersected PgElementSets

Overrides:
init in class PjWorkshop

reset

public void reset()
Fill storing variables with data.

Overrides:
reset in class PjWorkshop

setGeometries

public void setGeometries(PgElementSet elSet0,
                          PgElementSet elSet1)
Set two Geometries to be intersected.


breakElements

public void breakElements(int elSetNr,
                          boolean br)
Set flag to break elements at intersections.


breakElements

public void breakElements(boolean br)
Set flag to break elements at intersections.


cutAlongIntersection

public void cutAlongIntersection(int elSetNr,
                                 boolean cut)
Set flag to destroy neighbourhood at intersections.


cutAlongIntersection

public void cutAlongIntersection(boolean cut)
Set flag to destroy neighbourhood at intersections.


JavaView© v3.95.000

The software JavaView© is copyright protected. All Rights Reserved.