|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Polygon | |
| edu.mit.sketch.fig | |
| edu.mit.sketch.geom | |
| edu.mit.sketch.grammar | |
| edu.mit.sketch.grammar.me | |
| edu.mit.sketch.toolkit | |
| Uses of Polygon in edu.mit.sketch.fig |
| Methods in edu.mit.sketch.fig with parameters of type Polygon | |
void |
FigDocument.render(Polygon p)
|
| Uses of Polygon in edu.mit.sketch.geom |
| Methods in edu.mit.sketch.geom that return Polygon | |
Polygon |
Rectangle.getPolygonalBounds()
This method should return a polygon that corresponds to this object. |
Polygon |
Rectangle.getDataPoints()
This method is used to get the original data points that forms this GeometricObject |
Polygon |
Line.getPolygonalBounds()
This method should return a polygon that fully contains the current object. |
Polygon |
Line.getDataPoints()
This method is used to get the original data points that forms this GeometricObject |
Polygon |
Line.toPolygon()
This method is used to get the original data points that forms this GeometricObject |
Polygon |
GeneralPath.getPolygonalBounds()
This method should return a polygon that fully contains the current object. |
Polygon |
GeneralPath.getDataPoints()
This method is used to get the original data points that forms this GeometricObject |
Polygon |
GeneralPath.toPolygon()
This method is used to get the original data points that forms this GeometricObject |
Polygon |
GeometricObject.getPolygonalBounds()
This method should return a polygon that fully contains the current object. |
Polygon |
GeometricObject.getDataPoints()
This method is used to get the original data points that forms this GeometricObject |
Polygon |
Point.getPolygonalBounds()
This method should return a polygon that corresponds to this object. |
Polygon |
Point.getDataPoints()
This method is used to get the original data points that forms this GeometricObject |
Polygon |
Polygon.getPolygonalBounds()
This method should return a polygon that fully contains the current object. |
Polygon |
Polygon.getDataPoints()
This method is used to get the original data points that forms this GeometricObject |
Polygon |
Ellipse.getPolygonalBounds()
This method should return a polygon that corresponds to this object. |
Polygon |
Ellipse.getDataPoints()
This method is used to get the original data points that forms this GeometricObject |
| Methods in edu.mit.sketch.geom with parameters of type Polygon | |
static boolean |
Rectangle.isRectangle(Polygon p)
Returns true if the input polygon looks like a Rectangle Can be optimized by eliminating Polygon conversions. |
void |
Rectangle.setDataPoints(Polygon points)
This method is used to set the original data points that forms this GeometricObject |
static boolean |
Line.isLine(Polygon p)
Returns true if the input Polygon is a line. |
void |
Line.setDataPoints(Polygon points)
This method is used to set the original data points that forms this GeometricObject |
void |
GeneralPath.setDataPoints(Polygon points)
This method is used to set the original data points that forms this GeometricObject |
void |
GeometricObject.setDataPoints(Polygon points)
This method is used to set the original data points that forms this GeometricObject |
void |
Point.setDataPoints(Polygon points)
This method is used to set the original data points that forms this GeometricObject |
void |
Polygon.copyVerticesFrom(Polygon p)
Copy the vertices. |
void |
Polygon.setDataPoints(Polygon points)
This method is used to set the original data points that forms this GeometricObject |
void |
Ellipse.setDataPoints(Polygon points)
This method is used to set the original data points that forms this GeometricObject |
| Constructors in edu.mit.sketch.geom with parameters of type Polygon | |
Polygon(Polygon p)
The constructor. |
|
| Uses of Polygon in edu.mit.sketch.grammar |
| Methods in edu.mit.sketch.grammar that return Polygon | |
Polygon[] |
NonTerminal.getPolygonalBoundsArray()
This method should return the polygonal array bounds of this non-terminal object. |
| Methods in edu.mit.sketch.grammar with parameters of type Polygon | |
boolean |
CheckMarkRecognizer.isCheckMark(Polygon p)
|
| Uses of Polygon in edu.mit.sketch.grammar.me |
| Methods in edu.mit.sketch.grammar.me that return Polygon | |
Polygon[] |
Motor.getPolygonalBoundsArray()
This method should return the polygonal array bounds of this non-terminal object. |
Polygon[] |
Pin.getPolygonalBoundsArray()
This method should return the polygonal array bounds of this non-terminal object. |
Polygon[] |
Cross.getPolygonalBoundsArray()
This method should return the polygonal array bounds of this non-terminal object. |
Polygon[] |
Ground.getPolygonalBoundsArray()
This method should return the polygonal array bounds of this non-terminal object. |
| Methods in edu.mit.sketch.grammar.me with parameters of type Polygon | |
static boolean |
Spring.isSpring(Polygon polygon)
Returns true if the input polygon looks like a Spring. |
| Constructors in edu.mit.sketch.grammar.me with parameters of type Polygon | |
Spring(Polygon polygon)
The constructor constructs a spring that is approximated by the input polygon. |
|
Ground(Shade shade,
Polygon edge)
The constructor. |
|
| Uses of Polygon in edu.mit.sketch.toolkit |
| Methods in edu.mit.sketch.toolkit that return Polygon | |
Polygon |
StrokeData.getDataPoints()
Put the valid points in the points array in a Polygon and return it. |
abstract Polygon |
Classifier.getPolygonApproximation()
Returns the best fit Polygon for the StrokeData. |
Polygon |
SimpleClassifier.getPolygonApproximation()
Returns the best fit Polygon for the StrokeData. |
Polygon |
SimpleClassifier.getPolygonApproximation(double tolerance)
This method returns a polygon made of a subset of the vertices of the final_fit polygon. |
| Methods in edu.mit.sketch.toolkit with parameters of type Polygon | |
double |
ErrorCalculator.getPolygonError(StrokeData stroke_data,
Polygon poly)
Get the error between the stroke_data and the shape. |
void |
ObjectManager.addObject(Object o,
Polygon polygonal_fit)
Adds an object to the objects vector after checking if the polygonal fit is a spring or not. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||