org.deegree_impl.model.geometry
Class LinearContains

java.lang.Object
  extended byorg.deegree_impl.model.geometry.LinearContains

class LinearContains
extends java.lang.Object

Version:
$Revision: 1.6 $
Author:
Andreas Poth

Constructor Summary
(package private) LinearContains()
           
 
Method Summary
static boolean contains(GM_Curve curve1, GM_Curve curve2)
          the operation returns true if the two submitted curves contains
static boolean contains(GM_Curve curve, GM_Point point)
          the operations returns true if the submitted point contains the submitted curve
static boolean contains(GM_CurveSegment curve1, GM_CurveSegment curve2)
          the operation returns true if the two submitted curves segments contains
static boolean contains(GM_CurveSegment curve, GM_Position point)
          the operations returns true if the submitted point contains the submitted curve segment
static boolean contains(GM_Point point1, GM_Point point2)
          the operations returns true if two the submitted points contains
protected static boolean contains(GM_Position[] positions, GM_Position point)
          the operation returns true if polygon defined by an array of GM_Position contains the submitted point.
static boolean contains(GM_Position point1, GM_Position point2)
          the operations returns true if two the submitted points contains
static boolean contains(GM_Surface surface, GM_Curve curve)
          the operation returns true if the submitted curve contains the submitted surface
static boolean contains(GM_Surface surface, GM_Point point)
          the operation returns true if the submitted point contains the submitted surface
static boolean contains(GM_Surface surface2, GM_Surface surface1)
          the operation returns true if the two submitted surfaces contains
static boolean contains(GM_SurfacePatch surface, GM_CurveSegment curve)
          the operation returns true if the submitted curve segment contains the submitted surface patch
static boolean contains(GM_SurfacePatch surface, GM_Position point)
          the operation returns true if the submitted point contains the submitted surface patch
static boolean contains(GM_SurfacePatch surface1, GM_SurfacePatch surface2)
          the operation returns true if the first surface patches contains the second one
private static GM_Position[] getPositions(GM_Curve curve)
          Convenience method to extract all GM_Positions from a GM_Curve.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LinearContains

LinearContains()
Method Detail

contains

public static boolean contains(GM_Position point1,
                               GM_Position point2)
                        throws java.lang.Exception
the operations returns true if two the submitted points contains

Throws:
java.lang.Exception

contains

public static boolean contains(GM_CurveSegment curve,
                               GM_Position point)
                        throws java.lang.Exception
the operations returns true if the submitted point contains the submitted curve segment

Throws:
java.lang.Exception

contains

public static boolean contains(GM_SurfacePatch surface,
                               GM_Position point)
the operation returns true if the submitted point contains the submitted surface patch


contains

public static boolean contains(GM_CurveSegment curve1,
                               GM_CurveSegment curve2)
                        throws java.lang.Exception
the operation returns true if the two submitted curves segments contains

Throws:
java.lang.Exception

contains

public static boolean contains(GM_SurfacePatch surface,
                               GM_CurveSegment curve)
the operation returns true if the submitted curve segment contains the submitted surface patch


contains

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


contains

public static boolean contains(GM_Point point1,
                               GM_Point point2)
                        throws java.lang.Exception
the operations returns true if two the submitted points contains

Throws:
java.lang.Exception

contains

public static boolean contains(GM_Curve curve,
                               GM_Point point)
                        throws java.lang.Exception
the operations returns true if the submitted point contains the submitted curve

Throws:
java.lang.Exception

contains

public static boolean contains(GM_Surface surface,
                               GM_Point point)
                        throws java.lang.Exception
the operation returns true if the submitted point contains the submitted surface

Throws:
java.lang.Exception

contains

public static boolean contains(GM_Curve curve1,
                               GM_Curve curve2)
                        throws java.lang.Exception
the operation returns true if the two submitted curves contains

Throws:
java.lang.Exception

getPositions

private static GM_Position[] getPositions(GM_Curve curve)
                                   throws GM_Exception
Convenience method to extract all GM_Positions from a GM_Curve.

Throws:
GM_Exception

contains

public static boolean contains(GM_Surface surface,
                               GM_Curve curve)
                        throws GM_Exception
the operation returns true if the submitted curve contains the submitted surface

Throws:
GM_Exception

contains

public static boolean contains(GM_Surface surface2,
                               GM_Surface surface1)
                        throws java.lang.Exception
the operation returns true if the two submitted surfaces contains

Throws:
java.lang.Exception

contains

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