|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.b3dgs.lionengine.geometry.impl.GeometryFactory
public final class GeometryFactory
Field Summary |
---|
Fields inherited from interface com.b3dgs.lionengine.Geometry |
---|
GEOMETRY |
Method Summary | |
---|---|
Coordinate2D |
createCoordinate2D(float x,
float y)
Create float coordinates. |
Point2D |
createPoint2D(int x,
int y)
Create integer coordinates. |
static GeometryFactory |
getInstance()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static GeometryFactory getInstance()
public Point2D createPoint2D(int x, int y)
Geometry
createPoint2D
in interface Geometry
x
- abscissa.y
- ordinate.
public Coordinate2D createCoordinate2D(float x, float y)
Geometry
createCoordinate2D
in interface Geometry
x
- abscissa.y
- ordinate.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |