|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectes.prodevelop.gvsig.mobile.fmap.core.ShapeFactory
Clase que crea las geometrías, contendra un método create por cada tipo de geometria que soporte gvSIG
Constructor Summary | |
ShapeFactory()
|
Method Summary | |
static IGeometry |
createArc(java.awt.geom.Point2D p1,
java.awt.geom.Point2D p2,
java.awt.geom.Point2D p3)
|
static IGeometry |
createCircle(java.awt.geom.Point2D center,
double radio)
|
static IGeometry |
createCircle(java.awt.geom.Point2D center,
java.awt.geom.Point2D r)
|
static IGeometry |
createCircle(java.awt.geom.Point2D p1,
java.awt.geom.Point2D p2,
java.awt.geom.Point2D p3)
|
static IGeometry |
createEllipse(java.awt.geom.Point2D axis1Start,
java.awt.geom.Point2D axis1End,
double axis2Length)
|
static FGeometry |
createGeometry(FShape shp)
Crea a partir de un FShape una geometría. |
static IGeometry |
createMultipoint2D(double[] x,
double[] y)
Crea una geometría que contiene como shape un Multipunto 2D. |
static IGeometry |
createMultipoint3D(double[] x,
double[] y,
double[] z)
Crea una geometría que contiene como shape un Multipunto 3D. |
static IGeometry |
createPoint2D(double x,
double y)
Crea una geometría que contiene como shape un punto 2D. |
static IGeometry |
createPoint2D(FPoint2D p)
|
static IGeometry |
createPoint3D(double x,
double y,
double z)
Crea una geometría que contiene como shape un punto 3D. |
static IGeometry |
createPolygon2D(FPolyline2D shape)
Crea una geometría que contiene como shape un Polígono 2D. |
static IGeometry |
createPolygon2D(GeneralPathX shape)
Crea una geometría que contiene como shape un Polígono 2D. |
static IGeometry |
createPolygon3D(GeneralPathX shape,
double[] pZ)
Crea una geometría que contiene como shape un Polígono 3D. |
static IGeometry |
createPolyline2D(GeneralPathX shape)
Crea una geometría que contiene como shape un Polilínea 2D. |
static IGeometry |
createPolyline3D(GeneralPathX shape,
double[] pZ)
Crea una geometría que contiene como shape un Polilínea 3D. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ShapeFactory()
Method Detail |
public static IGeometry createPoint2D(double x, double y)
x
- Coordenada x.y
- Coordenada y.
public static IGeometry createPoint2D(FPoint2D p)
public static IGeometry createMultipoint2D(double[] x, double[] y)
x
- Coordenada x.y
- Coordenada y.
public static IGeometry createPoint3D(double x, double y, double z)
x
- Coordenada x.y
- Coordenada y.z
- Coordenada z.
public static IGeometry createMultipoint3D(double[] x, double[] y, double[] z)
x
- Coordenada x.y
- Coordenada y.z
- Coordenada z.
public static IGeometry createPolyline2D(GeneralPathX shape)
shape
- GeneralPathX.
public static IGeometry createPolyline3D(GeneralPathX shape, double[] pZ)
shape
- GeneralPathX.pZ
- Vector de Z.
public static IGeometry createPolygon3D(GeneralPathX shape, double[] pZ)
shape
- GeneralPathX.pZ
- Vector de Z.
public static IGeometry createPolygon2D(GeneralPathX shape)
shape
- GeneralPathX.
public static IGeometry createPolygon2D(FPolyline2D shape)
shape
- FPolyline2D closed (you must be sure it is really closed).
public static FGeometry createGeometry(FShape shp)
shp
- FShape.
public static IGeometry createCircle(java.awt.geom.Point2D center, java.awt.geom.Point2D r)
public static IGeometry createCircle(java.awt.geom.Point2D center, double radio)
public static IGeometry createCircle(java.awt.geom.Point2D p1, java.awt.geom.Point2D p2, java.awt.geom.Point2D p3)
public static IGeometry createArc(java.awt.geom.Point2D p1, java.awt.geom.Point2D p2, java.awt.geom.Point2D p3)
public static IGeometry createEllipse(java.awt.geom.Point2D axis1Start, java.awt.geom.Point2D axis1End, double axis2Length)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |