org.hibernate.spatial.jts.mgeom
Class EventLocator
java.lang.Object
org.hibernate.spatial.jts.mgeom.EventLocator
public class EventLocator
- extends java.lang.Object
Method Summary |
static void |
copySRID(com.vividsolutions.jts.geom.Geometry source,
com.vividsolutions.jts.geom.Geometry target)
|
static MultiMLineString |
getLinearGeometry(MGeometry lrs,
double begin,
double end)
|
static com.vividsolutions.jts.geom.Point |
getPointGeometry(MGeometry lrs,
double position)
Returns the point on the specified MGeometry where its measure equals the specified position. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EventLocator
public EventLocator()
getPointGeometry
public static com.vividsolutions.jts.geom.Point getPointGeometry(MGeometry lrs,
double position)
throws MGeometryException
- Returns the point on the specified MGeometry where its measure equals the specified position.
- Returns:
- a Point Geometry
- Throws:
MGeometryException
getLinearGeometry
public static MultiMLineString getLinearGeometry(MGeometry lrs,
double begin,
double end)
throws MGeometryException
- Throws:
MGeometryException
copySRID
public static void copySRID(com.vividsolutions.jts.geom.Geometry source,
com.vividsolutions.jts.geom.Geometry target)