edu.stanford.hci.r3.pattern.coordinates.conversion
Interface PatternCoordinateConverter
- All Known Implementing Classes:
- FlexiblePatternCoordinateConverter, TiledPatternCoordinateConverter
public interface PatternCoordinateConverter
Represents a 2D region of pattern. It can convert an incoming coordinate into a relative location on
this patch of pattern.
This software is distributed under the BSD License.
contains
boolean contains(StreamedPatternCoordinates coord)
getRegionName
java.lang.String getRegionName()
getRelativeLocation
PercentageCoordinates getRelativeLocation(StreamedPatternCoordinates coord)
getArea
double getArea()
- Returns:
- the area, in pattern dots squared, of this patch.