|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.iver.cit.gvsig.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 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 |
createPoint3D(double x,
double y,
double z)
Crea una geometría que contiene como shape un punto 3D. |
static IGeometry |
createPolygon2D(GeneralPathX shape)
Crea una geometría que contiene como shape un Polígono 2D. |
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 |
clone, equals, finalize, 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 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 createPolygon2D(GeneralPathX shape)
shape
- GeneralPathX.
public static FGeometry createGeometry(FShape shp)
shp
- FShape.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |