org.deegree.geometry.linearization
Class GeometryLinearizer

java.lang.Object
  extended by org.deegree.geometry.linearization.GeometryLinearizer

public class GeometryLinearizer
extends Object

Provides methods for creating linearized versions of Geometry objects.

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
GeometryLinearizer()
          Creates a new GeometryLinearizer instance.
 
Method Summary
<T extends Geometry>
T
linearize(T geom, LinearizationCriterion crit)
          Returns a linearized version of the given Geometry.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GeometryLinearizer

public GeometryLinearizer()
Creates a new GeometryLinearizer instance.

Method Detail

linearize

public <T extends Geometry> T linearize(T geom,
                                        LinearizationCriterion crit)
Returns a linearized version of the given Geometry.

Type Parameters:
T - geometry type
Parameters:
geom - geometry to be linearized, must not be null
crit - linearization criterion, must not be null
Returns:
linearized version of the input geometry, never null


Copyright © 2011. All Rights Reserved.