Package com.comsol.model
Interface LocalSelection
-
- All Superinterfaces:
AbstractSelection
,ModelEntity
,PrimitiveModelEntity
,Selection
- All Known Subinterfaces:
HideGeom
,HideMesh
,MeshSelection
,SavePointHideGeom
,XDLocalSelection
public interface LocalSelection extends Selection
Selection of a feature.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
embedded()
Returns true if the selection selects embedded entities.LocalSelection
embedded(boolean useEmbedded)
Set to true to support selecting embedded entities and false to only select geometric entities.EmbeddedSelection
embeddedSelection()
Returns the embedded selection ornull
if this is a selection without any support for embedded selections.java.lang.String
named()
Returns named selection referred to.LocalSelection
named(java.lang.String selTag)
Let the selection refer to a named selection.-
Methods inherited from interface com.comsol.model.AbstractSelection
dim, dimension, geom
-
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
-
Methods inherited from interface com.comsol.model.Selection
add, all, allgeom, allGeom, allVoids, clear, dom, entities, entities, geom, geom, geom, geom, global, inherit, inputDimension, inputEntities, interiordom, interiorEntities, isgeom, isGeom, isglobal, isGlobal, isinheriting, isInheriting, meshControlEntities, remove, set
-
-
-
-
Method Detail
-
embedded
boolean embedded()
Returns true if the selection selects embedded entities. Returns false if the selection selects geometric entities.- Returns:
- True or false.
-
embedded
LocalSelection embedded(boolean useEmbedded)
Set to true to support selecting embedded entities and false to only select geometric entities.- Parameters:
useEmbedded
- True to select embedded entities.- Returns:
- This selection.
-
embeddedSelection
EmbeddedSelection embeddedSelection()
Returns the embedded selection ornull
if this is a selection without any support for embedded selections.- Returns:
- An embedded selection or
null
.
-
named
java.lang.String named()
Returns named selection referred to. An empty string means that the selection is manual, that is, it does not refer to a named selection.- Returns:
- Tag of named selection.
-
named
LocalSelection named(java.lang.String selTag)
Let the selection refer to a named selection. If selTag is empty, it means that the selection becomes manual, that is, it does no longer refer to a named selection.- Parameters:
selTag
- Tag of named selection.- Returns:
- Local selection.
-
-