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.DeterministicScalarFunctionST_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
-
-
Constructor Summary
Constructors Constructor Description ST_Isovist()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetJavaStaticMethod()static 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 polygon-
Methods inherited from class org.h2gis.api.AbstractFunction
addProperty, getProperty, removeProperty
-
-
-
-
Method Detail
-
getJavaStaticMethod
public String 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 SQLExceptionThis 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 SQLExceptionThis 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
-
-