Class ST_Isovist
java.lang.Object
org.h2gis.api.AbstractFunction
org.h2gis.api.DeterministicScalarFunction
org.h2gis.functions.spatial.earth.ST_Isovist
- All Implemented Interfaces:
org.h2gis.api.Function,org.h2gis.api.ScalarFunction
public class ST_Isovist
extends org.h2gis.api.DeterministicScalarFunction
ST_Isovist
ST_Isovist takes LINESTRING(S) or POLYGON(S) as input and a maximum distance
(spatial ref units). This function compute the visibility polygon obstructed
by provided "walls". Provided segments will be enclosed by a circle defined by
maximum distance parameter.
- Author:
- Nicolas Fortin, Ifsttar UMRAE
-
Field Summary
Fields inherited from interface org.h2gis.api.Function
PROP_NAME, PROP_REMARKSFields inherited from interface org.h2gis.api.ScalarFunction
PROP_DETERMINISTIC -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic org.locationtech.jts.geom.Geometryisovist(org.locationtech.jts.geom.Geometry viewPoint, org.locationtech.jts.geom.Geometry lineSegments, double maxDistance) This function compute the visibility polygonstatic org.locationtech.jts.geom.Geometryisovist(org.locationtech.jts.geom.Geometry viewPoint, org.locationtech.jts.geom.Geometry lineSegments, double maxDistance, double radBegin, double radSize) This function compute the visibility polygonMethods inherited from class org.h2gis.api.AbstractFunction
addProperty, getProperty, removePropertyMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.h2gis.api.Function
getProperty
-
Constructor Details
-
ST_Isovist
public ST_Isovist()
-
-
Method Details
-
getJavaStaticMethod
-
isovist
public static org.locationtech.jts.geom.Geometry isovist(org.locationtech.jts.geom.Geometry viewPoint, org.locationtech.jts.geom.Geometry lineSegments, double maxDistance) throws SQLException This function compute the visibility polygon- Parameters:
viewPoint- Point instance, isovist locationlineSegments- Occlusion segments. Geometry collection or polygon or linestringmaxDistance- Maximum distance of view from viewPoint (spatial ref units)- Returns:
- The visibility polygon
- Throws:
SQLException- In case of wrong parameters
-
isovist
public static org.locationtech.jts.geom.Geometry isovist(org.locationtech.jts.geom.Geometry viewPoint, org.locationtech.jts.geom.Geometry lineSegments, double maxDistance, double radBegin, double radSize) throws SQLException This function compute the visibility polygon- Parameters:
viewPoint- Point instance, isovist locationlineSegments- Occlusion segments. Geometry collection or polygon or linestringmaxDistance- Maximum distance of view from viewPoint (spatial ref units)radBegin- Constraint view angle start in radianradSize- Constraint view angle size in radian- Returns:
- The visibility polygon
- Throws:
SQLException- In case of wrong parameters
-