| java.lang.Object org.geotools.geometry.MockGeometryFactory
MockGeometryFactory | public class MockGeometryFactory implements GeometryFactory,PrimitiveFactory(Code) | | Quick implementation for testing purposes.
author: Jody |
Inner Class :class MockDirectPosition implements DirectPosition | |
Inner Class :class MockCurve implements Curve | |
Inner Class :class MockPoint implements Point | |
Field Summary | |
CoordinateReferenceSystem | crs | public Precision | precision |
Method Summary | |
public Arc | createArc(Position startPoint, Position midPoint, Position endPoint) | public Arc | createArc(Position startPoint, Position endPoint, double bulge, double[] normal) | public ArcByBulge | createArcByBulge(Position startPoint, Position endPoint, double bulge, double[] normal) | public ArcString | createArcString(List points) | public ArcStringByBulge | createArcStringByBulge(List points, double[] bulges, List normals) | public BSplineCurve | createBSplineCurve(int degree, PointArray points, List knots, KnotType knotSpec) | public BSplineSurface | createBSplineSurface(List points, int[] degree, List[] knots, KnotType knotSpec) | public Curve | createCurve(List segments) | public DirectPosition | createDirectPosition() | public DirectPosition | createDirectPosition(double[] coordinates) | public Envelope | createEnvelope(DirectPosition lowerCorner, DirectPosition upperCorner) | public Geodesic | createGeodesic(Position startPoint, Position endPoint) | public GeodesicString | createGeodesicString(List points) | public LineSegment | createLineSegment(Position startPoint, Position endPoint) | public LineString | createLineString(List points) Takes a List ... | public MultiPrimitive | createMultiPrimitive() | public Point | createPoint(double[] coordinates) | public Point | createPoint(Position position) | public Polygon | createPolygon(SurfaceBoundary boundary) | public Polygon | createPolygon(SurfaceBoundary boundary, Surface spanSurface) | public PolyhedralSurface | createPolyhedralSurface(List tiles) | public Primitive | createPrimitive(Envelope envelope) | public Ring | createRing(List curves) | public Solid | createSolid(SolidBoundary boundary) | public Surface | createSurface(List surfaces) | public Surface | createSurface(SurfaceBoundary boundary) | public SurfaceBoundary | createSurfaceBoundary(Ring exterior, List interiors) | public Tin | createTin(Set post, Set stopLines, Set breakLines, double maxLength) | public CoordinateReferenceSystem | getCoordinateReferenceSystem() |
crs | CoordinateReferenceSystem crs(Code) | | |
precision | public Precision precision(Code) | | |
MockGeometryFactory | public MockGeometryFactory()(Code) | | |
MockGeometryFactory | public MockGeometryFactory(CoordinateReferenceSystem crs)(Code) | | |
createArc | public Arc createArc(Position startPoint, Position midPoint, Position endPoint) throws MismatchedReferenceSystemException, MismatchedDimensionException(Code) | | |
createArc | public Arc createArc(Position startPoint, Position endPoint, double bulge, double[] normal) throws MismatchedReferenceSystemException, MismatchedDimensionException(Code) | | |
createArcByBulge | public ArcByBulge createArcByBulge(Position startPoint, Position endPoint, double bulge, double[] normal) throws MismatchedReferenceSystemException, MismatchedDimensionException(Code) | | |
createArcString | public ArcString createArcString(List points) throws MismatchedReferenceSystemException, MismatchedDimensionException(Code) | | |
createArcStringByBulge | public ArcStringByBulge createArcStringByBulge(List points, double[] bulges, List normals) throws MismatchedReferenceSystemException, MismatchedDimensionException(Code) | | |
createBSplineCurve | public BSplineCurve createBSplineCurve(int degree, PointArray points, List knots, KnotType knotSpec) throws MismatchedReferenceSystemException, MismatchedDimensionException(Code) | | |
createBSplineSurface | public BSplineSurface createBSplineSurface(List points, int[] degree, List[] knots, KnotType knotSpec) throws MismatchedReferenceSystemException, MismatchedDimensionException(Code) | | |
createCurve | public Curve createCurve(List segments) throws MismatchedReferenceSystemException, MismatchedDimensionException(Code) | | |
createDirectPosition | public DirectPosition createDirectPosition()(Code) | | |
createDirectPosition | public DirectPosition createDirectPosition(double[] coordinates)(Code) | | |
createEnvelope | public Envelope createEnvelope(DirectPosition lowerCorner, DirectPosition upperCorner) throws MismatchedReferenceSystemException, MismatchedDimensionException(Code) | | |
createGeodesic | public Geodesic createGeodesic(Position startPoint, Position endPoint) throws MismatchedReferenceSystemException, MismatchedDimensionException(Code) | | |
createGeodesicString | public GeodesicString createGeodesicString(List points) throws MismatchedReferenceSystemException, MismatchedDimensionException(Code) | | |
createLineSegment | public LineSegment createLineSegment(Position startPoint, Position endPoint) throws MismatchedReferenceSystemException, MismatchedDimensionException(Code) | | |
createLineString | public LineString createLineString(List points) throws MismatchedReferenceSystemException, MismatchedDimensionException(Code) | | Takes a List ...
|
createMultiPrimitive | public MultiPrimitive createMultiPrimitive()(Code) | | |
createPoint | public Point createPoint(double[] coordinates) throws MismatchedDimensionException(Code) | | |
createPoint | public Point createPoint(Position position) throws MismatchedReferenceSystemException, MismatchedDimensionException(Code) | | |
createPolygon | public Polygon createPolygon(SurfaceBoundary boundary) throws MismatchedReferenceSystemException, MismatchedDimensionException(Code) | | |
createPolygon | public Polygon createPolygon(SurfaceBoundary boundary, Surface spanSurface) throws MismatchedReferenceSystemException, MismatchedDimensionException(Code) | | |
createPolyhedralSurface | public PolyhedralSurface createPolyhedralSurface(List tiles) throws MismatchedReferenceSystemException, MismatchedDimensionException(Code) | | |
createPrimitive | public Primitive createPrimitive(Envelope envelope) throws MismatchedReferenceSystemException, MismatchedDimensionException(Code) | | |
createRing | public Ring createRing(List curves) throws MismatchedReferenceSystemException, MismatchedDimensionException(Code) | | |
createSolid | public Solid createSolid(SolidBoundary boundary) throws MismatchedReferenceSystemException, MismatchedDimensionException(Code) | | |
createSurface | public Surface createSurface(List surfaces) throws MismatchedReferenceSystemException, MismatchedDimensionException(Code) | | |
createSurface | public Surface createSurface(SurfaceBoundary boundary) throws MismatchedReferenceSystemException, MismatchedDimensionException(Code) | | |
createSurfaceBoundary | public SurfaceBoundary createSurfaceBoundary(Ring exterior, List interiors) throws MismatchedReferenceSystemException, MismatchedDimensionException(Code) | | |
createTin | public Tin createTin(Set post, Set stopLines, Set breakLines, double maxLength) throws MismatchedReferenceSystemException, MismatchedDimensionException(Code) | | |
getCoordinateReferenceSystem | public CoordinateReferenceSystem getCoordinateReferenceSystem()(Code) | | |
|
|