Package com.comsol.model
Interface GeomFeatureList
-
- All Superinterfaces:
IListMove
,java.lang.Iterable<GeomFeature>
,ModelEntity
,ModelEntityList<GeomFeature>
,PrimitiveModelEntity
,PropFeatureList<GeomFeature>
- All Known Subinterfaces:
GeomProblemFeatureList
public interface GeomFeatureList extends PropFeatureList<GeomFeature>, IListMove
List of geometry features.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
compositeCurves(java.lang.String... featureTags)
Create or extend a CompositeCurve or Polygon feature by joining curve segments in 2D.GeomFeature
create(java.lang.String featureTag, java.lang.String featureType)
Creates a geometry feature.GeomFeature
createAfter(java.lang.String featureTag, java.lang.String featureType, java.lang.String positionTag)
Creates a geometry feature.java.lang.String[]
removeCurveComponents(java.lang.String... childTags)
Remove the children with the given tags from the geometry feature list of a CompositeCurve feature.-
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.ModelEntityList
clear, copy, copy, copyTo, duplicate, duplicateTo, get, index, remove, size, tags, uniquetag
-
Methods inherited from interface com.comsol.model.PrimitiveModelEntity
getContainer, getDisplayString, resolveModelPath
-
-
-
-
Method Detail
-
compositeCurves
java.lang.String compositeCurves(java.lang.String... featureTags)
Create or extend a CompositeCurve or Polygon feature by joining curve segments in 2D.- Parameters:
featureTags
- Tags of the features to join. These must have type Polygon, CircularArc, InterpolationCurve, QuadraticBezier, CubicBezier, or CompositeCurve.- Returns:
- The tag of the created or remaining feature.
-
create
GeomFeature create(java.lang.String featureTag, java.lang.String featureType)
Creates a geometry feature.- Specified by:
create
in interfacePropFeatureList<GeomFeature>
- Parameters:
featureTag
- Tag of created feature.featureType
- Type of created feature.- Returns:
- Created geometry feature.
-
createAfter
GeomFeature createAfter(java.lang.String featureTag, java.lang.String featureType, java.lang.String positionTag)
Creates a geometry feature.- Parameters:
featureTag
- Tag of created feature.featureType
- Type of created feature.positionTag
- Tag of the feature to insert the created feature after.- Returns:
- Created geometry feature.
-
removeCurveComponents
java.lang.String[] removeCurveComponents(java.lang.String... childTags)
Remove the children with the given tags from the geometry feature list of a CompositeCurve feature. This can result in the CompositeCurve feature being split into several features. The remaining children can be reordered.- Parameters:
childTags
- The children to be removed.- Returns:
- The tags of the remaining/created features.
-
-