PatternCoordinateConverter Interface Reference

Inheritance diagram for PatternCoordinateConverter:

FlexiblePatternCoordinateConverter TiledPatternCoordinateConverter List of all members.

Public Member Functions

boolean contains (StreamedPatternCoordinates coord)
String getRegionName ()
PercentageCoordinates getRelativeLocation (StreamedPatternCoordinates coord)
double getArea ()

Detailed Description

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.

Author:
Ron B Yeh (ronyeh(AT)cs.stanford.edu)

Definition at line 18 of file PatternCoordinateConverter.java.


Member Function Documentation

double getArea (  ) 

Returns:
the area, in pattern dots squared, of this patch.

Implemented in FlexiblePatternCoordinateConverter, and TiledPatternCoordinateConverter.


The documentation for this interface was generated from the following file:
Generated on Sat Apr 14 18:21:42 2007 for R3 Paper Toolkit by  doxygen 1.4.7