Class FeatureInputMarkCollection
Object
FeatureInputMarkCollection
- All Implemented Interfaces:
FeatureInput,FeatureInputWithResolution
Feature input that contains a collection of marks and optional dimensions.
This class implements FeatureInputWithResolution to provide resolution information if
available from the dimensions.
-
Constructor Summary
ConstructorsConstructorDescriptionFeatureInputMarkCollection(MarkCollection marks, Optional<Dimensions> dimensions) Creates a newFeatureInputMarkCollectioninstance. -
Method Summary
Modifier and TypeMethodDescriptionGets the optional dimensions associated with the mark collection.getMarks()The collection of marks.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.anchoranalysis.feature.input.FeatureInputWithResolution
getResolutionRequired
-
Constructor Details
-
FeatureInputMarkCollection
Creates a newFeatureInputMarkCollectioninstance.- Parameters:
marks- The collection of marks.dimensions- Optional dimensions associated with the mark collection.
-
-
Method Details
-
getResolutionOptional
- Specified by:
getResolutionOptionalin interfaceFeatureInputWithResolution
-
dimensions
Gets the optional dimensions associated with the mark collection.- Returns:
- an
Optionalcontaining theDimensionsif present, or empty if not available
-
getMarks
The collection of marks.
-