deegree 2.3 (2010/04/09 10:10 build-4-official)

org.deegree.model.spatialschema
Class LinearContains

java.lang.Object
  extended by org.deegree.model.spatialschema.LinearContains

public class LinearContains
extends Object

Since:
2.0
Version:
$Revision: 18195 $, 1.0. $Revision: 18195 $, $Date: 2009-06-18 17:55:39 +0200 (Do, 18. Jun 2009) $
Author:
Andreas Poth, last edited by: $Author: mschneider $

Constructor Summary
LinearContains()
           
 
Method Summary
static boolean contains(Curve curve1, Curve curve2)
          the operation is currently not supported.
static boolean contains(Curve curve, Point point)
          the operation is currently not supported.
static boolean contains(CurveSegment curve1, CurveSegment curve2)
          the operation is currently not supported
static boolean contains(CurveSegment curve, Position point)
          Currently not supported
static boolean contains(Point point1, Point point2)
          the operations returns true if two the passed points contains
protected static boolean contains(Position[] positions, Position point, double tolerance)
          the operation returns true if polygon defined by an array of Position contains the submitted point.
static boolean contains(Position point1, Position point2)
          Currently not supported
static boolean contains(Surface surface, Curve curve)
          the operation returns true if the submitted curve contains the submitted surface
static boolean contains(SurfacePatch surface, CurveSegment curve, double tolerance)
          the operation returns true if the submitted curve segment contains the submitted surface patch
static boolean contains(SurfacePatch surface, Position point, double tolerance)
          the operation returns true if the submitted point contains the submitted surface patch
static boolean contains(SurfacePatch surface1, SurfacePatch surface2, double tolerance)
          the operation returns true if the first surface patches contains the second one
static boolean contains(Surface surface, Point point)
          the operation returns true if the submitted point contains the submitted surface
static boolean contains(Surface surface2, Surface surface1)
          the operation returns true if the two submitted surfaces contains
static double getTolerance(Geometry geom1, Geometry geom2)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LinearContains

public LinearContains()
Method Detail

getTolerance

public static double getTolerance(Geometry geom1,
                                  Geometry geom2)
Parameters:
geom1 -
geom2 -
Returns:
maximum tolerance of geom1 and geom2

contains

public static boolean contains(Position point1,
                               Position point2)
Currently not supported

Parameters:
point1 -
point2 -
Returns:
true if the the two submitted points are the same......maybe.

contains

public static boolean contains(CurveSegment curve,
                               Position point)
Currently not supported

Parameters:
curve -
point -
Returns:
true if the submitted point contains the submitted curve segment

contains

public static boolean contains(SurfacePatch surface,
                               Position point,
                               double tolerance)
the operation returns true if the submitted point contains the submitted surface patch

Parameters:
surface -
point -
tolerance -
Returns:
true if the passed point contains the submitted surface patch

contains

public static boolean contains(CurveSegment curve1,
                               CurveSegment curve2)
the operation is currently not supported

Parameters:
curve1 -
curve2 -
Returns:
true if the two submitted curves segments contain each other.

contains

public static boolean contains(SurfacePatch surface,
                               CurveSegment curve,
                               double tolerance)
the operation returns true if the submitted curve segment contains the submitted surface patch

Parameters:
surface -
curve -
tolerance -
Returns:
true if the submitted curve segment contains the submitted surface patch

contains

public static boolean contains(SurfacePatch surface1,
                               SurfacePatch surface2,
                               double tolerance)
the operation returns true if the first surface patches contains the second one

Parameters:
surface1 -
surface2 -
tolerance -
Returns:
true if the first surface patches contains

contains

public static boolean contains(Point point1,
                               Point point2)
the operations returns true if two the passed points contains

Parameters:
point1 -
point2 -
Returns:
true if two the passed points contains

contains

public static boolean contains(Curve curve,
                               Point point)
the operation is currently not supported.

Parameters:
curve -
point -
Returns:
true if the submitted point contains the submitted curve

contains

public static boolean contains(Surface surface,
                               Point point)
                        throws Exception
the operation returns true if the submitted point contains the submitted surface

Parameters:
surface -
point -
Returns:
true if the submitted point contains the submitted surface
Throws:
Exception

contains

public static boolean contains(Curve curve1,
                               Curve curve2)
the operation is currently not supported.

Parameters:
curve1 -
curve2 -
Returns:
true if the two submitted curves contains

contains

public static boolean contains(Surface surface,
                               Curve curve)
                        throws GeometryException
the operation returns true if the submitted curve contains the submitted surface

Parameters:
surface -
curve -
Returns:
true if the submitted curve contains the submitted surface
Throws:
GeometryException

contains

public static boolean contains(Surface surface2,
                               Surface surface1)
                        throws Exception
the operation returns true if the two submitted surfaces contains

Parameters:
surface2 -
surface1 -
Returns:
true if the two submitted surfaces contains
Throws:
Exception

contains

protected static boolean contains(Position[] positions,
                                  Position point,
                                  double tolerance)
the operation returns true if polygon defined by an array of Position contains the submitted point.

Parameters:
positions -
point -
tolerance -
Returns:
true if polygon defined by an array of Position contains the submitted point.

deegree 2.3 (2010/04/09 10:10 build-4-official)

an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org