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.
|
Selection |
clear()
Removes all entities from the selection.
|
int[] |
dom(int arg0)
Deprecated.
Use
entities(int) instead. |
int[] |
entities()
If the selection is on a geometry, return the geometric entities in
the selection's maximum dimension.
|
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[] |
interiordom(int arg0)
Deprecated.
Use
interiorEntities(int) instead. |
int[] |
interiorEntities(int dim)
If the selection is on a geometry, return the interior entities of the
given dimension.
|
boolean |
isgeom()
Deprecated.
Use
isGeom() instead. |
boolean |
isGeom()
Returns
true if the selection is a whole geometry. |
boolean |
isglobal()
Deprecated.
Use
isGlobal() instead. |
boolean |
isGlobal()
Returns
true if the selection is global. |
boolean |
isinheriting()
Deprecated.
Use
isInheriting() instead. |
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.
|
dim, dimension, geom
active, 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, version
getContainer, getDisplayString
Selection add(int... entities)
entities
- Geometric entities to add to the selection.Selection all()
Selection allGeom()
geom(String)
when the geometry is unambiguous.Selection allVoids()
Selection clear()
@Deprecated int[] dom(int arg0)
entities(int)
instead.int[] entities()
int[] entities(int dim)
dim
- 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)
dim
- Dimension to analyze.@Deprecated int[] interiordom(int arg0)
interiorEntities(int)
instead.boolean isGeom()
true
if the selection is a whole geometry.true
if a whole geometry.boolean isGlobal()
true
if the selection is global.true
if a global selection.boolean isInheriting()
true
if the selection is inherited to lower
dimension levels.true
if the selection is inherited.@Deprecated boolean isgeom()
isGeom()
instead.@Deprecated boolean isglobal()
isGlobal()
instead.@Deprecated boolean isinheriting()
isInheriting()
instead.Selection remove(int... entities)
entities
- Geometric entities to remove from the selection.Selection set(int... entities)
entities
- Geometric entities.