Package com.comsol.model
Interface AbstractSelection
-
- All Superinterfaces:
ModelEntity
,PrimitiveModelEntity
- All Known Subinterfaces:
CumulativeSelection
,GeomObjectGroupSelection
,GeomObjectSelection
,GeomObjectSelectionFeature
,HideDraw
,HideGeom
,HideMesh
,LocalGeomObjectSelection
,LocalSelection
,MeshSelection
,SavePointHideGeom
,SavePointSelection
,Selection
,SelectionFeature
,XDLocalSelection
public interface AbstractSelection extends ModelEntity
Base class for all selections.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
dim()
If the selection selects entities on a geometry, returns the (maximum) entity dimension.int[]
dimension()
If the selection is on a geometry, returns the dimensions where the selection applies.java.lang.String
geom()
Returns the geometry tag of the selection as a string.-
Methods inherited from interface com.comsol.model.ModelEntity
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
-
Methods inherited from interface com.comsol.model.PrimitiveModelEntity
getContainer, getDisplayString, resolveModelPath
-
-
-
-
Method Detail
-
dim
int dim()
If the selection selects entities on a geometry, returns the (maximum) entity dimension. Otherwise, returns -1.- Returns:
- Entity dimension or -1.
-
dimension
int[] dimension()
If the selection is on a geometry, returns the dimensions where the selection applies.- Returns:
- Integer array with dimensions.
-
geom
java.lang.String geom()
Returns the geometry tag of the selection as a string. Returnsnull
if the selection is global.- Returns:
- Geometry tag or
null
.
-
-