Revision 38596 branches/v2_0_0_prep/libraries/libFMap_geometries/src/org/gvsig/fmap/geom/impl/DefaultGeometryLibrary.java
DefaultGeometryLibrary.java | ||
---|---|---|
62 | 62 |
import org.gvsig.fmap.geom.primitive.impl.Envelope3D; |
63 | 63 |
import org.gvsig.fmap.geom.primitive.impl.Geometry2D; |
64 | 64 |
import org.gvsig.fmap.geom.primitive.impl.Geometry2DZ; |
65 |
import org.gvsig.fmap.geom.primitive.impl.Point2D; |
|
66 |
import org.gvsig.fmap.geom.primitive.impl.Point2DZ;
|
|
65 |
import org.gvsig.fmap.geom.primitive.impl.Point2DGeometryType;
|
|
66 |
import org.gvsig.fmap.geom.primitive.impl.Point3DGeometryType;
|
|
67 | 67 |
import org.gvsig.fmap.geom.primitive.impl.Solid2DZ; |
68 | 68 |
import org.gvsig.fmap.geom.primitive.impl.Spline2D; |
69 | 69 |
import org.gvsig.fmap.geom.primitive.impl.Spline2DZ; |
... | ... | |
126 | 126 |
TYPES.GEOMETRY, SUBTYPES.GEOM3D); |
127 | 127 |
|
128 | 128 |
//Register points in 2D |
129 |
geometryManager.registerGeometryType(Point2D.class, "Point2D", |
|
130 |
TYPES.POINT, SUBTYPES.GEOM2D); |
|
129 |
geometryManager.registerGeometryType(new Point2DGeometryType()); |
|
131 | 130 |
|
132 | 131 |
//Register curves in 2D |
133 | 132 |
geometryManager.registerGeometryType(Curve2D.class, "Curve2D", |
... | ... | |
162 | 161 |
TYPES.NULL, SUBTYPES.GEOM3D); |
163 | 162 |
|
164 | 163 |
//Register points in 3D |
165 |
geometryManager.registerGeometryType(Point2DZ.class, "Point3D", |
|
166 |
TYPES.POINT, SUBTYPES.GEOM3D, new int[0], new int[]{SUBTYPES.GEOM2D}); |
|
164 |
geometryManager.registerGeometryType(new Point3DGeometryType()); |
|
167 | 165 |
|
168 | 166 |
//Register curves in 3D |
169 | 167 |
geometryManager.registerGeometryType(Curve2DZ.class, "Curve3D", |
Also available in: Unified diff