Package com.comsol.model
Interface GeomMeasure
-
- All Superinterfaces:
ModelEntity
,PrimitiveModelEntity
,SelectionContainer
public interface GeomMeasure extends ModelEntity, SelectionContainer
Geometry measure feature.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description double
getBoundaryVolume()
Get area or length of boundary corresponding to the selected entities.double[]
getBoundingBox()
Returns bounding box of selection.int[]
getNEntities()
Gets number of entities of each dimension.double
getVolume()
Gets volume, area, or length of the selected entities.double[]
getVtxCoord()
Gets average coordinates for selected vertices.double[]
getVtxDistance()
Gets distances between selected coordinates.GeomObjectSelection
selection()
Returns selection object for the measurement.-
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
-
getBoundaryVolume
double getBoundaryVolume()
Get area or length of boundary corresponding to the selected entities.- Returns:
- Area or length.
-
getBoundingBox
double[] getBoundingBox()
Returns bounding box of selection.- Returns:
- Bounding box coordinates, ([xmin, xmax, ymin, ymax, ...] depending on dimension).
-
getNEntities
int[] getNEntities()
Gets number of entities of each dimension.- Returns:
- Vector with number of entities of each dimension.
-
getVolume
double getVolume()
Gets volume, area, or length of the selected entities.- Returns:
- Volume, area, or length.
-
getVtxCoord
double[] getVtxCoord()
Gets average coordinates for selected vertices.- Returns:
- Average vertex coordinates.
-
getVtxDistance
double[] getVtxDistance()
Gets distances between selected coordinates.- Returns:
- Vertex distance vector.
-
selection
GeomObjectSelection selection()
Returns selection object for the measurement.- Returns:
- Geometry object selection.
-
-