org.deegree.geometry
Interface GeometryInspector

All Known Implementing Classes:
CoordinateValidityInspector

public interface GeometryInspector

Enables the inspection of Geometry objects created in a GeometryFactory.

Implementations can perform such tasks as topological validation or repairing of defects.

Version:
$Revision: 31641 $, $Date: 2011-08-24 21:24:55 +0200 (Wed, 24 Aug 2011) $
Author:
Markus Schneider , last edited by: $Author: mschneider $
See Also:
GeometryFactory

Method Summary
 CurveSegment inspect(CurveSegment segment)
          Invokes the inspection of the given CurveSegment.
 Geometry inspect(Geometry geom)
          Invokes the inspection of the given Geometry.
 Points inspect(Points points)
          Invokes the inspection of the given Points.
 SurfacePatch inspect(SurfacePatch patch)
          Invokes the inspection of the given SurfacePatch.
 

Method Detail

inspect

Geometry inspect(Geometry geom)
                 throws GeometryInspectionException
Invokes the inspection of the given Geometry.

Parameters:
geom - geometry to be inspected, never null
Returns:
inspected geometry, may be a different (repaired) instance, but must have exactly the same subinterface
Throws:
GeometryInspectionException - if the inspector rejects the Geometry

inspect

CurveSegment inspect(CurveSegment segment)
                     throws GeometryInspectionException
Invokes the inspection of the given CurveSegment.

Parameters:
segment - segment to be inspected, never null
Returns:
inspected segment, may be a different (repaired) instance, but must be the exact same subinterface
Throws:
GeometryInspectionException - if the inspector rejects the CurveSegment

inspect

SurfacePatch inspect(SurfacePatch patch)
                     throws GeometryInspectionException
Invokes the inspection of the given SurfacePatch.

Parameters:
patch - patch to be inspected, never null
Returns:
inspected patch, may be a different (repaired) instance, but must be the exact same subinterface
Throws:
GeometryInspectionException - if the inspector rejects the SurfacePatch

inspect

Points inspect(Points points)
Invokes the inspection of the given Points.

Parameters:
points - points to be inspected, never null
Returns:
inspected patch, may be a different (repaired) instance
Throws:
GeometryInspectionException - if the inspector rejects the Points


Copyright © 2011. All Rights Reserved.