|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Projector extends java.lang.Cloneable
Projector is responsible for mapping n-dimensional points to 2D points.
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone()
Clones this projector |
Rectangle2D |
getProjectionArea()
Returns a 2D projection space |
Rectangle2D |
getProjectionAreaReference()
Returns a 2D projection space reference |
void |
prepare()
Prepares the projector. |
GeneralPoint |
project(GeneralPoint point)
Projects a n-dimensional point into a 2D Point. |
GeneralPoint |
project(GeneralPoint point,
GeneralPoint template)
Projects a n-dimensional point into a 2D Point. |
Polygon2D |
project(Rectangle2D r)
Projects a rectangle into polygon. |
void |
setProjectionArea(Rectangle2D r)
Sets a 2D projection space |
| Method Detail |
|---|
void setProjectionArea(Rectangle2D r)
r - projection spaceRectangle2D getProjectionArea()
Rectangle2D getProjectionAreaReference()
GeneralPoint project(GeneralPoint point)
point - n-dimensional point
GeneralPoint project(GeneralPoint point,
GeneralPoint template)
point - n-dimensional pointtemplate - point object, to be changedPolygon2D project(Rectangle2D r)
r - 2D rectanglevoid prepare()
java.lang.Object clone()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||