org.deegree.geometry.validation
Class GeometryFixer

java.lang.Object
  extended by org.deegree.geometry.validation.GeometryFixer

public class GeometryFixer
extends Object

The class TODO add class documentation here.

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

Constructor Summary
GeometryFixer()
           
 
Method Summary
static Ring fixUnclosedRing(Ring ring)
          Returns a fixed version of the given Ring object.
static Curve invertOrientation(Curve curve)
           
static Ring invertOrientation(Ring ring)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GeometryFixer

public GeometryFixer()
Method Detail

fixUnclosedRing

public static Ring fixUnclosedRing(Ring ring)
Returns a fixed version of the given Ring object.

Parameters:
ring - ring to be repaired
Returns:
repaired ring, never null

invertOrientation

public static Curve invertOrientation(Curve curve)

invertOrientation

public static Ring invertOrientation(Ring ring)


Copyright © 2011. All Rights Reserved.