public interface Selection extends AbstractSelection
| Modifier and Type | Method and Description |
|---|---|
Selection |
add(int... entities)
Adds the given entities to the selection.
|
Selection |
all()
Sets the selected domains to be all geometric entities.
|
Selection |
allgeom()
Deprecated.
Use
allGeom() instead. |
Selection |
allGeom()
Sets the selection to the whole geometry.
|
Selection |
allVoids()
Sets the selected domains to include all voids.
|
int[] |
entities(int dim)
If the selection is on a geometry, return the geometric entities on
the given dimension.
|
Selection |
geom(int dim)
Sets the selection to the be geometric entities of level
dim. |
Selection |
geom(java.lang.String geom)
Sets the selection to a geometry
geom. |
Selection |
geom(java.lang.String geom,
int dim)
Sets the selection to the be geometric entities of level
dim on geometry geom. |
Selection |
geom(java.lang.String geom,
int highdim,
int lowdim,
java.lang.String[] typelist)
Sets the selection to the be geometric entities of level
lowdim on geometry geom. |
Selection |
global()
Makes the selection global.
|
Selection |
inherit(boolean flag)
Sets the inherit flag.
|
int |
inputDimension()
The dimension of the domains used as input.
|
int[] |
inputEntities()
The domains used as input to the selection.
|
int[] |
interiorEntities(int dim)
If the selection is on a geometry, return the interior entities of the
given dimension.
|
boolean |
isGeom()
Returns
true if the selection is a whole geometry. |
boolean |
isGlobal()
Returns
true if the selection is global. |
boolean |
isInheriting()
Returns
true if the selection is inherited to lower
dimension levels. |
Selection |
remove(int... entities)
Removes the given entities from the selection.
|
Selection |
set(int... entities)
Sets the selection to use the given geometric entities.
|
dimension, dom, dom, entities, geom, interiordom, isgeom, isglobal, isinheriting, object, objectsactive, author, author, comments, comments, dateCreated, dateModified, docMarker, docMarker, help, help, icon, isactive, isActive, label, label, lastModifiedBy, model, model, name, name, resetAuthor, scope, tag, tag, timeCreated, timeModified, version, versiongetContainer, getDisplayStringSelection add(int... entities)
entities - Geometric entities to add to the selection.Selection all()
Selection allGeom()
geom(String) when the geometry is unambiguous.Selection allVoids()
int[] entities(int dim)
entities in interface AbstractSelectiondim - Dimension to analyze.Selection geom(java.lang.String geom)
geom.geom - Geometry tag.Selection geom(int dim)
dim. Can be used instead of geom(String, int)
when the geometry is unambiguous.dim - Geometric entity level.Selection geom(java.lang.String geom, int dim)
dim on geometry geom.geom - Geometry tag.dim - Geometry entity level.Selection geom(java.lang.String geom, int highdim, int lowdim, java.lang.String[] typelist)
lowdim on geometry geom. The input is given
on level highdim and the output is calculated using the
given types, which can be exterior,
interior, meshinterior.geom - Geometry tag.highdim - Geometric entity level for selection input.lowdim - Geometric entity level for selection output.typelist - Types included in output.Selection global()
Selection inherit(boolean flag)
flag - Inherit flag.int inputDimension()
interior, exterior, or
meshinterior, this method returns the higher dimension
with the input domains. If the selection is not a selection of
domains at a certain level, this returns -1.int[] inputEntities()
interior, exterior, or
meshinterior. this method returns the unfiltered list of
domains at the higher dimension which are used as the input. If the
selection is not a selection of domains at a certain level or the
selection is not of the types Explicit or FromGeom (derived from a
geometry feature), this method returns null.int[] interiorEntities(int dim)
interiorEntities in interface AbstractSelectiondim - Dimension to analyze.boolean isGeom()
true if the selection is a whole geometry.isGeom in interface AbstractSelectiontrue if a whole geometry.boolean isGlobal()
true if the selection is global.isGlobal in interface AbstractSelectiontrue if a global selection.boolean isInheriting()
true if the selection is inherited to lower
dimension levels.isInheriting in interface AbstractSelectiontrue if the selection is inherited.Selection remove(int... entities)
entities - Geometric entities to remove from the selection.Selection set(int... entities)
entities - Geometric entities.