|
deegree 2.5 (2011/06/29 09:44 build-8-official) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.deegree.model.spatialschema.LinearIntersects
public class LinearIntersects
Constructor Summary | |
---|---|
LinearIntersects()
|
Method Summary | |
---|---|
static double |
getTolerance(Geometry geom1,
Geometry geom2)
|
static boolean |
intersects(Curve curve1,
Curve curve2)
the operation returns true if the two submitted curves intersects |
static boolean |
intersects(CurveSegment curve1,
CurveSegment curve2)
the operation returns true if the two submitted curves segments intersects |
static boolean |
intersects(CurveSegment curve,
SurfacePatch surface,
double tolerance)
the operation returns true if the passed curve segment intersects the submitted surface patch |
static boolean |
intersects(Curve curve,
Surface surface)
the operation returns true if the submitted curve intersects the submitted surface |
static boolean |
intersects(Point point,
Curve curve)
the operations returns true if the submitted point intersects the submitted curve |
static boolean |
intersects(Point point1,
Point point2)
the operations returns true if two the submitted points intersects |
static boolean |
intersects(Point point,
Surface surface)
the operation returns true if the submitted point intersects the submitted surface |
static boolean |
intersects(Position point,
CurveSegment curve,
double tolerance)
the operations returns true if the submitted point intersects the passed curve segment |
static boolean |
intersects(Position point1,
Position point2,
double tolerance)
the operations returns true if two the submitted points intersects |
static boolean |
intersects(Position point,
SurfacePatch surface,
double tolerance)
the operation returns true if the submitted point intersects the submitted surface patch |
static boolean |
intersects(SurfacePatch surface1,
SurfacePatch surface2,
double tolerance)
the operation returns true if the two passed surface patches intersects |
static boolean |
intersects(Surface surface1,
Surface surface2)
the operation returns true if the two passed surfaces intersects |
protected static boolean |
linesIntersect(double x1,
double y1,
double x2,
double y2,
double x3,
double y3,
double x4,
double y4)
Tests if the line segment from (x1, y1) to (x2, y2) intersects the line segment from (x3, y3) to (x4, y4). |
protected static int |
relativeCCW(double X1,
double Y1,
double X2,
double Y2,
double PX,
double PY)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LinearIntersects()
Method Detail |
---|
public static double getTolerance(Geometry geom1, Geometry geom2)
geom1
- geom2
-
public static boolean intersects(Position point1, Position point2, double tolerance)
point1
- point2
- tolerance
-
public static boolean intersects(Position point, CurveSegment curve, double tolerance)
point
- curve
- tolerance
-
public static boolean intersects(Position point, SurfacePatch surface, double tolerance)
point
- surface
- tolerance
-
public static boolean intersects(CurveSegment curve1, CurveSegment curve2)
curve1
- curve2
-
public static boolean intersects(CurveSegment curve, SurfacePatch surface, double tolerance) throws GeometryException
curve
- surface
- tolerance
-
GeometryException
public static boolean intersects(SurfacePatch surface1, SurfacePatch surface2, double tolerance) throws GeometryException
surface1
- surface2
- tolerance
- ignored by the current implementation
GeometryException
- if the line strings could not be created.public static boolean intersects(Point point1, Point point2)
point1
- point2
-
public static boolean intersects(Point point, Curve curve) throws GeometryException
point
- curve
-
GeometryException
public static boolean intersects(Point point, Surface surface) throws GeometryException
point
- surface
-
GeometryException
public static boolean intersects(Curve curve1, Curve curve2) throws GeometryException
curve1
- curve2
-
GeometryException
public static boolean intersects(Curve curve, Surface surface) throws GeometryException
curve
- surface
-
GeometryException
public static boolean intersects(Surface surface1, Surface surface2) throws GeometryException
surface1
- surface2
-
GeometryException
protected static int relativeCCW(double X1, double Y1, double X2, double Y2, double PX, double PY)
X1
- Y1
- X2
- Y2
- PX
- PY
-
protected static boolean linesIntersect(double x1, double y1, double x2, double y2, double x3, double y3, double x4, double y4)
x1
- y1
- x2
- y2
- x3
- y3
- x4
- y4
-
true
if the first specified line segment and the second specified line segment intersect
each other; false
otherwise.
|
deegree 2.5 (2011/06/29 09:44 build-8-official) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org