OmniSciDB
bf83d84833
|
#include "Geospatial/CompressionRuntime.h"
Go to the source code of this file.
Functions | |
DEVICE ALWAYS_INLINE double | tol (int32_t ic) |
DEVICE ALWAYS_INLINE double | tol (int32_t ic1, int32_t ic2) |
DEVICE ALWAYS_INLINE bool | tol_zero (double x, double tolerance=TOLERANCE_DEFAULT) |
DEVICE ALWAYS_INLINE bool | tol_eq (double x, double y, double tolerance=TOLERANCE_DEFAULT) |
DEVICE ALWAYS_INLINE bool | tol_le (double x, double y, double tolerance=TOLERANCE_DEFAULT) |
DEVICE ALWAYS_INLINE bool | tol_ge (double x, double y, double tolerance=TOLERANCE_DEFAULT) |
DEVICE ALWAYS_INLINE double | decompress_coord (int8_t *data, int32_t index, int32_t ic, bool x) |
DEVICE ALWAYS_INLINE int32_t | compression_unit_size (int32_t ic) |
DEVICE ALWAYS_INLINE double | transform_coord (double coord, int32_t isr, int32_t osr, bool x) |
DEVICE ALWAYS_INLINE double | coord_x (int8_t *data, int32_t index, int32_t ic, int32_t isr, int32_t osr) |
DEVICE ALWAYS_INLINE double | coord_y (int8_t *data, int32_t index, int32_t ic, int32_t isr, int32_t osr) |
DEVICE ALWAYS_INLINE double | distance_point_point_squared (double p1x, double p1y, double p2x, double p2y) |
DEVICE ALWAYS_INLINE double | distance_point_point (double p1x, double p1y, double p2x, double p2y) |
DEVICE double | distance_point_line (double px, double py, double l1x, double l1y, double l2x, double l2y) |
DEVICE ALWAYS_INLINE bool | on_segment (double px, double py, double qx, double qy, double rx, double ry) |
DEVICE ALWAYS_INLINE int16_t | orientation (double px, double py, double qx, double qy, double rx, double ry) |
DEVICE bool | line_intersects_line (double l11x, double l11y, double l12x, double l12y, double l21x, double l21y, double l22x, double l22y) |
DEVICE bool | linestring_intersects_line (int8_t *l, int32_t lnum_coords, double l1x, double l1y, double l2x, double l2y, int32_t ic1, int32_t isr1, int32_t osr) |
DEVICE bool | ring_intersects_line (int8_t *ring, int32_t ring_num_coords, double l1x, double l1y, double l2x, double l2y, int32_t ic1, int32_t isr1, int32_t osr) |
DEVICE bool | linestring_intersects_linestring (int8_t *l, int32_t lnum_coords, double l1x, double l1y, double l2x, double l2y, int32_t ic1, int32_t isr1, int32_t osr) |
DEVICE double | distance_line_line (double l11x, double l11y, double l12x, double l12y, double l21x, double l21y, double l22x, double l22y) |
DEVICE double | distance_ring_linestring (int8_t *ring, int32_t ring_num_coords, int8_t *l, int32_t lnum_coords, int32_t ic1, int32_t isr1, int32_t ic2, int32_t isr2, int32_t osr) |
DEVICE double | distance_ring_ring (int8_t *ring1, int32_t ring1_num_coords, int8_t *ring2, int32_t ring2_num_coords, int32_t ic1, int32_t isr1, int32_t ic2, int32_t isr2, int32_t osr) |
DEVICE bool | polygon_contains_point (int8_t *poly, int32_t poly_num_coords, double px, double py, int32_t ic1, int32_t isr1, int32_t osr) |
DEVICE bool | polygon_contains_linestring (int8_t *poly, int32_t poly_num_coords, int8_t *l, int64_t lnum_coords, int32_t ic1, int32_t isr1, int32_t ic2, int32_t isr2, int32_t osr) |
DEVICE ALWAYS_INLINE bool | box_contains_point (double *bounds, int64_t bounds_size, double px, double py) |
EXTENSION_NOINLINE bool | Point_Overlaps_Box (double *bounds, int64_t bounds_size, double px, double py) |
DEVICE ALWAYS_INLINE bool | box_contains_box (double *bounds1, int64_t bounds1_size, double *bounds2, int64_t bounds2_size) |
DEVICE ALWAYS_INLINE bool | box_contains_box_vertex (double *bounds1, int64_t bounds1_size, double *bounds2, int64_t bounds2_size) |
DEVICE ALWAYS_INLINE bool | box_overlaps_box (double *bounds1, int64_t bounds1_size, double *bounds2, int64_t bounds2_size) |
EXTENSION_NOINLINE double | ST_X_Point (int8_t *p, int64_t psize, int32_t ic, int32_t isr, int32_t osr) |
EXTENSION_NOINLINE double | ST_Y_Point (int8_t *p, int64_t psize, int32_t ic, int32_t isr, int32_t osr) |
EXTENSION_NOINLINE double | ST_X_LineString (int8_t *l, int64_t lsize, int32_t lindex, int32_t ic, int32_t isr, int32_t osr) |
EXTENSION_NOINLINE double | ST_Y_LineString (int8_t *l, int64_t lsize, int32_t lindex, int32_t ic, int32_t isr, int32_t osr) |
EXTENSION_NOINLINE double | ST_XMin (int8_t *coords, int64_t size, int32_t ic, int32_t isr, int32_t osr) |
EXTENSION_NOINLINE double | ST_YMin (int8_t *coords, int64_t size, int32_t ic, int32_t isr, int32_t osr) |
EXTENSION_NOINLINE double | ST_XMax (int8_t *coords, int64_t size, int32_t ic, int32_t isr, int32_t osr) |
EXTENSION_NOINLINE double | ST_YMax (int8_t *coords, int64_t size, int32_t ic, int32_t isr, int32_t osr) |
EXTENSION_INLINE double | ST_XMin_Bounds (double *bounds, int64_t size, int32_t isr, int32_t osr) |
EXTENSION_INLINE double | ST_YMin_Bounds (double *bounds, int64_t size, int32_t isr, int32_t osr) |
EXTENSION_INLINE double | ST_XMax_Bounds (double *bounds, int64_t size, int32_t isr, int32_t osr) |
EXTENSION_INLINE double | ST_YMax_Bounds (double *bounds, int64_t size, int32_t isr, int32_t osr) |
DEVICE ALWAYS_INLINE double | length_linestring (int8_t *l, int64_t lsize, int32_t ic, int32_t isr, int32_t osr, bool geodesic, bool check_closed) |
EXTENSION_NOINLINE double | ST_Length_LineString (int8_t *coords, int64_t coords_sz, int32_t ic, int32_t isr, int32_t osr) |
EXTENSION_NOINLINE double | ST_Length_LineString_Geodesic (int8_t *coords, int64_t coords_sz, int32_t ic, int32_t isr, int32_t osr) |
EXTENSION_NOINLINE double | ST_Perimeter_Polygon (int8_t *poly, int64_t polysize, int32_t *poly_ring_sizes, int64_t poly_num_rings, int32_t ic, int32_t isr, int32_t osr) |
EXTENSION_NOINLINE double | ST_Perimeter_Polygon_Geodesic (int8_t *poly, int64_t polysize, int32_t *poly_ring_sizes, int64_t poly_num_rings, int32_t ic, int32_t isr, int32_t osr) |
DEVICE ALWAYS_INLINE double | perimeter_multipolygon (int8_t *mpoly_coords, int64_t mpoly_coords_size, int32_t *mpoly_ring_sizes, int64_t mpoly_num_rings, int32_t *mpoly_poly_sizes, int64_t mpoly_num_polys, int32_t ic, int32_t isr, int32_t osr, bool geodesic) |
EXTENSION_NOINLINE double | ST_Perimeter_MultiPolygon (int8_t *mpoly_coords, int64_t mpoly_coords_size, int32_t *mpoly_ring_sizes, int64_t mpoly_num_rings, int32_t *mpoly_poly_sizes, int64_t mpoly_num_polys, int32_t ic, int32_t isr, int32_t osr) |
EXTENSION_NOINLINE double | ST_Perimeter_MultiPolygon_Geodesic (int8_t *mpoly_coords, int64_t mpoly_coords_size, int32_t *mpoly_ring_sizes, int64_t mpoly_num_rings, int32_t *mpoly_poly_sizes, int64_t mpoly_num_polys, int32_t ic, int32_t isr, int32_t osr) |
DEVICE ALWAYS_INLINE double | area_triangle (double x1, double y1, double x2, double y2, double x3, double y3) |
DEVICE ALWAYS_INLINE double | area_ring (int8_t *ring, int64_t ringsize, int32_t ic, int32_t isr, int32_t osr) |
DEVICE ALWAYS_INLINE double | area_polygon (int8_t *poly_coords, int64_t poly_coords_size, int32_t *poly_ring_sizes, int64_t poly_num_rings, int32_t ic, int32_t isr, int32_t osr) |
EXTENSION_NOINLINE double | ST_Area_Polygon (int8_t *poly_coords, int64_t poly_coords_size, int32_t *poly_ring_sizes, int64_t poly_num_rings, int32_t ic, int32_t isr, int32_t osr) |
EXTENSION_INLINE double | ST_Area_Polygon_Geodesic (int8_t *poly_coords, int64_t poly_coords_size, int32_t *poly_ring_sizes, int64_t poly_num_rings, int32_t ic, int32_t isr, int32_t osr) |
EXTENSION_NOINLINE double | ST_Area_MultiPolygon (int8_t *mpoly_coords, int64_t mpoly_coords_size, int32_t *mpoly_ring_sizes, int64_t mpoly_num_rings, int32_t *mpoly_poly_sizes, int64_t mpoly_num_polys, int32_t ic, int32_t isr, int32_t osr) |
EXTENSION_INLINE double | ST_Area_MultiPolygon_Geodesic (int8_t *mpoly_coords, int64_t mpoly_coords_size, int32_t *mpoly_ring_sizes, int64_t mpoly_num_rings, int32_t *mpoly_poly_sizes, int64_t mpoly_num_polys, int32_t ic, int32_t isr, int32_t osr) |
EXTENSION_NOINLINE double | ST_Centroid_Point (int8_t *p, int64_t psize, int32_t ic, int32_t isr, int32_t osr, bool ycoord) |
DEVICE ALWAYS_INLINE bool | centroid_add_segment (double x1, double y1, double x2, double y2, double *length, double *linestring_centroid_sum) |
DEVICE ALWAYS_INLINE bool | centroid_add_linestring (int8_t *l, int64_t lsize, int32_t ic, int32_t isr, int32_t osr, bool closed, double *total_length, double *linestring_centroid_sum, int64_t *num_points, double *point_centroid_sum) |
EXTENSION_NOINLINE double | ST_Centroid_LineString (int8_t *coords, int64_t coords_sz, int32_t ic, int32_t isr, int32_t osr, bool ycoord) |
DEVICE ALWAYS_INLINE bool | centroid_add_triangle (double x1, double y1, double x2, double y2, double x3, double y3, double sign, double *total_area2, double *cg3) |
DEVICE ALWAYS_INLINE bool | centroid_add_ring (int8_t *ring, int64_t ringsize, int32_t ic, int32_t isr, int32_t osr, double sign, double *total_area2, double *cg3, double *total_length, double *linestring_centroid_sum, int64_t *num_points, double *point_centroid_sum) |
DEVICE ALWAYS_INLINE bool | centroid_add_polygon (int8_t *poly_coords, int64_t poly_coords_size, int32_t *poly_ring_sizes, int64_t poly_num_rings, int32_t ic, int32_t isr, int32_t osr, double *total_area2, double *cg3, double *total_length, double *linestring_centroid_sum, int64_t *num_points, double *point_centroid_sum) |
EXTENSION_NOINLINE double | ST_Centroid_Polygon (int8_t *poly_coords, int64_t poly_coords_size, int32_t *poly_ring_sizes, int64_t poly_num_rings, int32_t ic, int32_t isr, int32_t osr, bool ycoord) |
EXTENSION_NOINLINE double | ST_Centroid_MultiPolygon (int8_t *mpoly_coords, int64_t mpoly_coords_size, int32_t *mpoly_ring_sizes, int64_t mpoly_num_rings, int32_t *mpoly_poly_sizes, int64_t mpoly_num_polys, int32_t ic, int32_t isr, int32_t osr, bool ycoord) |
EXTENSION_INLINE int32_t | ST_NPoints (int8_t *coords, int64_t coords_sz, int32_t ic) |
EXTENSION_INLINE int32_t | ST_NRings (int32_t *poly_ring_sizes, int64_t poly_num_rings) |
EXTENSION_NOINLINE double | ST_Distance_Point_Point (int8_t *p1, int64_t p1size, int8_t *p2, int64_t p2size, int32_t ic1, int32_t isr1, int32_t ic2, int32_t isr2, int32_t osr) |
EXTENSION_NOINLINE double | ST_Distance_Point_Point_Squared (int8_t *p1, int64_t p1size, int8_t *p2, int64_t p2size, int32_t ic1, int32_t isr1, int32_t ic2, int32_t isr2, int32_t osr) |
EXTENSION_NOINLINE double | ST_Distance_Point_Point_Geodesic (int8_t *p1, int64_t p1size, int8_t *p2, int64_t p2size, int32_t ic1, int32_t isr1, int32_t ic2, int32_t isr2, int32_t osr) |
EXTENSION_NOINLINE double | ST_Distance_Point_LineString_Geodesic (int8_t *p, int64_t psize, int8_t *l, int64_t lsize, int32_t lindex, int32_t ic1, int32_t isr1, int32_t ic2, int32_t isr2, int32_t osr) |
EXTENSION_INLINE double | ST_Distance_LineString_Point_Geodesic (int8_t *l, int64_t lsize, int32_t lindex, int8_t *p, int64_t psize, int32_t ic1, int32_t isr1, int32_t ic2, int32_t isr2, int32_t osr) |
EXTENSION_NOINLINE double | ST_Distance_LineString_LineString_Geodesic (int8_t *l1, int64_t l1size, int32_t l1index, int8_t *l2, int64_t l2size, int32_t l2index, int32_t ic1, int32_t isr1, int32_t ic2, int32_t isr2, int32_t osr) |
DEVICE ALWAYS_INLINE double | distance_point_linestring (int8_t *p, int64_t psize, int8_t *l, int64_t lsize, int32_t lindex, int32_t ic1, int32_t isr1, int32_t ic2, int32_t isr2, int32_t osr, bool check_closed) |
EXTENSION_NOINLINE double | ST_Distance_Point_ClosedLineString (int8_t *p, int64_t psize, int8_t *l, int64_t lsize, int32_t lindex, int32_t ic1, int32_t isr1, int32_t ic2, int32_t isr2, int32_t osr) |
EXTENSION_NOINLINE double | ST_Distance_Point_LineString (int8_t *p, int64_t psize, int8_t *l, int64_t lsize, int32_t lindex, int32_t ic1, int32_t isr1, int32_t ic2, int32_t isr2, int32_t osr) |
EXTENSION_NOINLINE double | ST_Distance_Point_Polygon (int8_t *p, int64_t psize, int8_t *poly, int64_t polysize, int32_t *poly_ring_sizes, int64_t poly_num_rings, int32_t ic1, int32_t isr1, int32_t ic2, int32_t isr2, int32_t osr) |
EXTENSION_NOINLINE double | ST_Distance_Point_MultiPolygon (int8_t *p, int64_t psize, int8_t *mpoly_coords, int64_t mpoly_coords_size, int32_t *mpoly_ring_sizes, int64_t mpoly_num_rings, int32_t *mpoly_poly_sizes, int64_t mpoly_num_polys, int32_t ic1, int32_t isr1, int32_t ic2, int32_t isr2, int32_t osr) |
EXTENSION_INLINE double | ST_Distance_LineString_Point (int8_t *l, int64_t lsize, int32_t lindex, int8_t *p, int64_t psize, int32_t ic1, int32_t isr1, int32_t ic2, int32_t isr2, int32_t osr) |
EXTENSION_NOINLINE double | ST_Distance_LineString_LineString (int8_t *l1, int64_t l1size, int32_t l1index, int8_t *l2, int64_t l2size, int32_t l2index, int32_t ic1, int32_t isr1, int32_t ic2, int32_t isr2, int32_t osr) |
EXTENSION_NOINLINE double | ST_Distance_LineString_Polygon (int8_t *l, int64_t lsize, int32_t lindex, int8_t *poly_coords, int64_t poly_coords_size, int32_t *poly_ring_sizes, int64_t poly_num_rings, int32_t ic1, int32_t isr1, int32_t ic2, int32_t isr2, int32_t osr) |
EXTENSION_NOINLINE double | ST_Distance_LineString_MultiPolygon (int8_t *l, int64_t lsize, int32_t lindex, int8_t *mpoly_coords, int64_t mpoly_coords_size, int32_t *mpoly_ring_sizes, int64_t mpoly_num_rings, int32_t *mpoly_poly_sizes, int64_t mpoly_num_polys, int32_t ic1, int32_t isr1, int32_t ic2, int32_t isr2, int32_t osr) |
EXTENSION_INLINE double | ST_Distance_Polygon_Point (int8_t *poly_coords, int64_t poly_coords_size, int32_t *poly_ring_sizes, int64_t poly_num_rings, int8_t *p, int64_t psize, int32_t ic1, int32_t isr1, int32_t ic2, int32_t isr2, int32_t osr) |
EXTENSION_INLINE double | ST_Distance_Polygon_LineString (int8_t *poly_coords, int64_t poly_coords_size, int32_t *poly_ring_sizes, int64_t poly_num_rings, int8_t *l, int64_t lsize, int32_t li, int32_t ic1, int32_t isr1, int32_t ic2, int32_t isr2, int32_t osr) |
EXTENSION_NOINLINE double | ST_Distance_Polygon_Polygon (int8_t *poly1_coords, int64_t poly1_coords_size, int32_t *poly1_ring_sizes, int64_t poly1_num_rings, int8_t *poly2_coords, int64_t poly2_coords_size, int32_t *poly2_ring_sizes, int64_t poly2_num_rings, int32_t ic1, int32_t isr1, int32_t ic2, int32_t isr2, int32_t osr) |
EXTENSION_NOINLINE double | ST_Distance_Polygon_MultiPolygon (int8_t *poly1_coords, int64_t poly1_coords_size, int32_t *poly1_ring_sizes, int64_t poly1_num_rings, int8_t *mpoly_coords, int64_t mpoly_coords_size, int32_t *mpoly_ring_sizes, int64_t mpoly_num_rings, int32_t *mpoly_poly_sizes, int64_t mpoly_num_polys, int32_t ic1, int32_t isr1, int32_t ic2, int32_t isr2, int32_t osr) |
EXTENSION_INLINE double | ST_Distance_MultiPolygon_Point (int8_t *mpoly_coords, int64_t mpoly_coords_size, int32_t *mpoly_ring_sizes, int64_t mpoly_num_rings, int32_t *mpoly_poly_sizes, int64_t mpoly_num_polys, int8_t *p, int64_t psize, int32_t ic1, int32_t isr1, int32_t ic2, int32_t isr2, int32_t osr) |
EXTENSION_INLINE double | ST_Distance_MultiPolygon_LineString (int8_t *mpoly_coords, int64_t mpoly_coords_size, int32_t *mpoly_ring_sizes, int64_t mpoly_num_rings, int32_t *mpoly_poly_sizes, int64_t mpoly_num_polys, int8_t *l, int64_t lsize, int32_t lindex, int32_t ic1, int32_t isr1, int32_t ic2, int32_t isr2, int32_t osr) |
EXTENSION_INLINE double | ST_Distance_MultiPolygon_Polygon (int8_t *mpoly_coords, int64_t mpoly_coords_size, int32_t *mpoly_ring_sizes, int64_t mpoly_num_rings, int32_t *mpoly_poly_sizes, int64_t mpoly_num_polys, int8_t *poly1_coords, int64_t poly1_coords_size, int32_t *poly1_ring_sizes, int64_t poly1_num_rings, int32_t ic1, int32_t isr1, int32_t ic2, int32_t isr2, int32_t osr) |
EXTENSION_NOINLINE double | ST_Distance_MultiPolygon_MultiPolygon (int8_t *mpoly1_coords, int64_t mpoly1_coords_size, int32_t *mpoly1_ring_sizes, int64_t mpoly1_num_rings, int32_t *mpoly1_poly_sizes, int64_t mpoly1_num_polys, int8_t *mpoly2_coords, int64_t mpoly2_coords_size, int32_t *mpoly2_ring_sizes, int64_t mpoly2_num_rings, int32_t *mpoly2_poly_sizes, int64_t mpoly2_num_polys, int32_t ic1, int32_t isr1, int32_t ic2, int32_t isr2, int32_t osr) |
DEVICE double | max_distance_point_line (double px, double py, double l1x, double l1y, double l2x, double l2y) |
DEVICE ALWAYS_INLINE double | max_distance_point_linestring (int8_t *p, int64_t psize, int8_t *l, int64_t lsize, int32_t lindex, int32_t ic1, int32_t isr1, int32_t ic2, int32_t isr2, int32_t osr, bool check_closed) |
EXTENSION_NOINLINE double | ST_MaxDistance_Point_LineString (int8_t *p, int64_t psize, int8_t *l, int64_t lsize, int32_t lindex, int32_t ic1, int32_t isr1, int32_t ic2, int32_t isr2, int32_t osr) |
EXTENSION_NOINLINE double | ST_MaxDistance_LineString_Point (int8_t *l, int64_t lsize, int32_t lindex, int8_t *p, int64_t psize, int32_t ic1, int32_t isr1, int32_t ic2, int32_t isr2, int32_t osr) |
EXTENSION_NOINLINE bool | ST_Contains_Point_Point (int8_t *p1, int64_t p1size, int8_t *p2, int64_t p2size, int32_t ic1, int32_t isr1, int32_t ic2, int32_t isr2, int32_t osr) |
EXTENSION_NOINLINE bool | ST_Contains_Point_LineString (int8_t *p, int64_t psize, int8_t *l, int64_t lsize, double *lbounds, int64_t lbounds_size, int32_t li, int32_t ic1, int32_t isr1, int32_t ic2, int32_t isr2, int32_t osr) |
EXTENSION_NOINLINE bool | ST_Contains_Point_Polygon (int8_t *p, int64_t psize, int8_t *poly_coords, int64_t poly_coords_size, int32_t *poly_ring_sizes, int64_t poly_num_rings, double *poly_bounds, int64_t poly_bounds_size, int32_t ic1, int32_t isr1, int32_t ic2, int32_t isr2, int32_t osr) |
EXTENSION_INLINE bool | ST_Contains_LineString_Point (int8_t *l, int64_t lsize, double *lbounds, int64_t lbounds_size, int32_t li, int8_t *p, int64_t psize, int32_t ic1, int32_t isr1, int32_t ic2, int32_t isr2, int32_t osr) |
EXTENSION_NOINLINE bool | ST_Contains_LineString_LineString (int8_t *l1, int64_t l1size, double *l1bounds, int64_t l1bounds_size, int32_t l1i, int8_t *l2, int64_t l2size, double *l2bounds, int64_t l2bounds_size, int32_t l2i, int32_t ic1, int32_t isr1, int32_t ic2, int32_t isr2, int32_t osr) |
EXTENSION_NOINLINE bool | ST_Contains_LineString_Polygon (int8_t *l, int64_t lsize, double *lbounds, int64_t lbounds_size, int32_t li, int8_t *poly_coords, int64_t poly_coords_size, int32_t *poly_ring_sizes, int64_t poly_num_rings, double *poly_bounds, int64_t poly_bounds_size, int32_t ic1, int32_t isr1, int32_t ic2, int32_t isr2, int32_t osr) |
EXTENSION_NOINLINE bool | ST_Contains_Polygon_Point (int8_t *poly_coords, int64_t poly_coords_size, int32_t *poly_ring_sizes, int64_t poly_num_rings, double *poly_bounds, int64_t poly_bounds_size, int8_t *p, int64_t psize, int32_t ic1, int32_t isr1, int32_t ic2, int32_t isr2, int32_t osr) |
EXTENSION_NOINLINE bool | ST_Contains_Polygon_LineString (int8_t *poly_coords, int64_t poly_coords_size, int32_t *poly_ring_sizes, int64_t poly_num_rings, double *poly_bounds, int64_t poly_bounds_size, int8_t *l, int64_t lsize, double *lbounds, int64_t lbounds_size, int32_t li, int32_t ic1, int32_t isr1, int32_t ic2, int32_t isr2, int32_t osr) |
EXTENSION_NOINLINE bool | ST_Contains_Polygon_Polygon (int8_t *poly1_coords, int64_t poly1_coords_size, int32_t *poly1_ring_sizes, int64_t poly1_num_rings, double *poly1_bounds, int64_t poly1_bounds_size, int8_t *poly2_coords, int64_t poly2_coords_size, int32_t *poly2_ring_sizes, int64_t poly2_num_rings, double *poly2_bounds, int64_t poly2_bounds_size, int32_t ic1, int32_t isr1, int32_t ic2, int32_t isr2, int32_t osr) |
EXTENSION_NOINLINE bool | ST_Contains_MultiPolygon_Point (int8_t *mpoly_coords, int64_t mpoly_coords_size, int32_t *mpoly_ring_sizes, int64_t mpoly_num_rings, int32_t *mpoly_poly_sizes, int64_t mpoly_num_polys, double *mpoly_bounds, int64_t mpoly_bounds_size, int8_t *p, int64_t psize, int32_t ic1, int32_t isr1, int32_t ic2, int32_t isr2, int32_t osr) |
EXTENSION_NOINLINE bool | ST_Contains_MultiPolygon_LineString (int8_t *mpoly_coords, int64_t mpoly_coords_size, int32_t *mpoly_ring_sizes, int64_t mpoly_num_rings, int32_t *mpoly_poly_sizes, int64_t mpoly_num_polys, double *mpoly_bounds, int64_t mpoly_bounds_size, int8_t *l, int64_t lsize, double *lbounds, int64_t lbounds_size, int32_t li, int32_t ic1, int32_t isr1, int32_t ic2, int32_t isr2, int32_t osr) |
EXTENSION_INLINE bool | ST_Intersects_Point_Point (int8_t *p1, int64_t p1size, int8_t *p2, int64_t p2size, int32_t ic1, int32_t isr1, int32_t ic2, int32_t isr2, int32_t osr) |
EXTENSION_NOINLINE bool | ST_Intersects_Point_LineString (int8_t *p, int64_t psize, int8_t *l, int64_t lsize, double *lbounds, int64_t lbounds_size, int32_t li, int32_t ic1, int32_t isr1, int32_t ic2, int32_t isr2, int32_t osr) |
EXTENSION_INLINE bool | ST_Intersects_Point_Polygon (int8_t *p, int64_t psize, int8_t *poly, int64_t polysize, int32_t *poly_ring_sizes, int64_t poly_num_rings, double *poly_bounds, int64_t poly_bounds_size, int32_t ic1, int32_t isr1, int32_t ic2, int32_t isr2, int32_t osr) |
EXTENSION_INLINE bool | ST_Intersects_Point_MultiPolygon (int8_t *p, int64_t psize, int8_t *mpoly_coords, int64_t mpoly_coords_size, int32_t *mpoly_ring_sizes, int64_t mpoly_num_rings, int32_t *mpoly_poly_sizes, int64_t mpoly_num_polys, double *mpoly_bounds, int64_t mpoly_bounds_size, int32_t ic1, int32_t isr1, int32_t ic2, int32_t isr2, int32_t osr) |
EXTENSION_INLINE bool | ST_Intersects_LineString_Point (int8_t *l, int64_t lsize, double *lbounds, int64_t lbounds_size, int32_t li, int8_t *p, int64_t psize, int32_t ic1, int32_t isr1, int32_t ic2, int32_t isr2, int32_t osr) |
EXTENSION_NOINLINE bool | ST_Intersects_LineString_Linestring (int8_t *l1, int64_t l1size, double *l1bounds, int64_t l1bounds_size, int32_t l1i, int8_t *l2, int64_t l2size, double *l2bounds, int64_t l2bounds_size, int32_t l2i, int32_t ic1, int32_t isr1, int32_t ic2, int32_t isr2, int32_t osr) |
EXTENSION_NOINLINE bool | ST_Intersects_LineString_Polygon (int8_t *l, int64_t lsize, double *lbounds, int64_t lbounds_size, int32_t li, int8_t *poly, int64_t polysize, int32_t *poly_ring_sizes, int64_t poly_num_rings, double *poly_bounds, int64_t poly_bounds_size, int32_t ic1, int32_t isr1, int32_t ic2, int32_t isr2, int32_t osr) |
EXTENSION_NOINLINE bool | ST_Intersects_LineString_MultiPolygon (int8_t *l, int64_t lsize, double *lbounds, int64_t lbounds_size, int32_t li, int8_t *mpoly_coords, int64_t mpoly_coords_size, int32_t *mpoly_ring_sizes, int64_t mpoly_num_rings, int32_t *mpoly_poly_sizes, int64_t mpoly_num_polys, double *mpoly_bounds, int64_t mpoly_bounds_size, int32_t ic1, int32_t isr1, int32_t ic2, int32_t isr2, int32_t osr) |
EXTENSION_INLINE bool | ST_Intersects_Polygon_Point (int8_t *poly, int64_t polysize, int32_t *poly_ring_sizes, int64_t poly_num_rings, double *poly_bounds, int64_t poly_bounds_size, int8_t *p, int64_t psize, int32_t ic1, int32_t isr1, int32_t ic2, int32_t isr2, int32_t osr) |
EXTENSION_INLINE bool | ST_Intersects_Polygon_LineString (int8_t *poly, int64_t polysize, int32_t *poly_ring_sizes, int64_t poly_num_rings, double *poly_bounds, int64_t poly_bounds_size, int8_t *l, int64_t lsize, double *lbounds, int64_t lbounds_size, int32_t li, int32_t ic1, int32_t isr1, int32_t ic2, int32_t isr2, int32_t osr) |
EXTENSION_NOINLINE bool | ST_Intersects_Polygon_Polygon (int8_t *poly1_coords, int64_t poly1_coords_size, int32_t *poly1_ring_sizes, int64_t poly1_num_rings, double *poly1_bounds, int64_t poly1_bounds_size, int8_t *poly2_coords, int64_t poly2_coords_size, int32_t *poly2_ring_sizes, int64_t poly2_num_rings, double *poly2_bounds, int64_t poly2_bounds_size, int32_t ic1, int32_t isr1, int32_t ic2, int32_t isr2, int32_t osr) |
EXTENSION_NOINLINE bool | ST_Intersects_Polygon_MultiPolygon (int8_t *poly_coords, int64_t poly_coords_size, int32_t *poly_ring_sizes, int64_t poly_num_rings, double *poly_bounds, int64_t poly_bounds_size, int8_t *mpoly_coords, int64_t mpoly_coords_size, int32_t *mpoly_ring_sizes, int64_t mpoly_num_rings, int32_t *mpoly_poly_sizes, int64_t mpoly_num_polys, double *mpoly_bounds, int64_t mpoly_bounds_size, int32_t ic1, int32_t isr1, int32_t ic2, int32_t isr2, int32_t osr) |
EXTENSION_INLINE bool | ST_Intersects_MultiPolygon_Point (int8_t *mpoly_coords, int64_t mpoly_coords_size, int32_t *mpoly_ring_sizes, int64_t mpoly_num_rings, int32_t *mpoly_poly_sizes, int64_t mpoly_num_polys, double *mpoly_bounds, int64_t mpoly_bounds_size, int8_t *p, int64_t psize, int32_t ic1, int32_t isr1, int32_t ic2, int32_t isr2, int32_t osr) |
EXTENSION_INLINE bool | ST_Intersects_MultiPolygon_LineString (int8_t *mpoly_coords, int64_t mpoly_coords_size, int32_t *mpoly_ring_sizes, int64_t mpoly_num_rings, int32_t *mpoly_poly_sizes, int64_t mpoly_num_polys, double *mpoly_bounds, int64_t mpoly_bounds_size, int8_t *l, int64_t lsize, double *lbounds, int64_t lbounds_size, int32_t li, int32_t ic1, int32_t isr1, int32_t ic2, int32_t isr2, int32_t osr) |
EXTENSION_INLINE bool | ST_Intersects_MultiPolygon_Polygon (int8_t *mpoly_coords, int64_t mpoly_coords_size, int32_t *mpoly_ring_sizes, int64_t mpoly_num_rings, int32_t *mpoly_poly_sizes, int64_t mpoly_num_polys, double *mpoly_bounds, int64_t mpoly_bounds_size, int8_t *poly_coords, int64_t poly_coords_size, int32_t *poly_ring_sizes, int64_t poly_num_rings, double *poly_bounds, int64_t poly_bounds_size, int32_t ic1, int32_t isr1, int32_t ic2, int32_t isr2, int32_t osr) |
EXTENSION_INLINE bool | ST_Intersects_MultiPolygon_MultiPolygon (int8_t *mpoly1_coords, int64_t mpoly1_coords_size, int32_t *mpoly1_ring_sizes, int64_t mpoly1_num_rings, int32_t *mpoly1_poly_sizes, int64_t mpoly1_num_polys, double *mpoly1_bounds, int64_t mpoly1_bounds_size, int8_t *mpoly2_coords, int64_t mpoly2_coords_size, int32_t *mpoly2_ring_sizes, int64_t mpoly2_num_rings, int32_t *mpoly2_poly_sizes, int64_t mpoly2_num_polys, double *mpoly2_bounds, int64_t mpoly2_bounds_size, int32_t ic1, int32_t isr1, int32_t ic2, int32_t isr2, int32_t osr) |
EXTENSION_INLINE int64_t | OmniSci_Geo_PolyBoundsPtr (double *bounds, int64_t size) |
EXTENSION_INLINE int32_t | OmniSci_Geo_PolyRenderGroup (int32_t render_group) |
EXTENSION_INLINE int64_t | MapD_GeoPolyBoundsPtr (double *bounds, int64_t size) |
EXTENSION_INLINE int32_t | MapD_GeoPolyRenderGroup (int32_t render_group) |
EXTENSION_NOINLINE double | convert_meters_to_pixel_width (const double meters, int8_t *p, const int64_t psize, const int32_t ic, const int32_t isr, const int32_t osr, const double min_lon, const double max_lon, const int32_t img_width, const double min_width) |
EXTENSION_NOINLINE double | convert_meters_to_pixel_height (const double meters, int8_t *p, const int64_t psize, const int32_t ic, const int32_t isr, const int32_t osr, const double min_lat, const double max_lat, const int32_t img_height, const double min_height) |
EXTENSION_NOINLINE bool | is_point_in_view (int8_t *p, const int64_t psize, const int32_t ic, const double min_lon, const double max_lon, const double min_lat, const double max_lat) |
EXTENSION_NOINLINE bool | is_point_size_in_view (int8_t *p, const int64_t psize, const int32_t ic, const double meters, const double min_lon, const double max_lon, const double min_lat, const double max_lat) |
DEVICE ALWAYS_INLINE double area_polygon | ( | int8_t * | poly_coords, |
int64_t | poly_coords_size, | ||
int32_t * | poly_ring_sizes, | ||
int64_t | poly_num_rings, | ||
int32_t | ic, | ||
int32_t | isr, | ||
int32_t | osr | ||
) |
Definition at line 944 of file ExtensionFunctionsGeo.hpp.
References area_ring(), and compression_unit_size().
Referenced by ST_Area_MultiPolygon(), and ST_Area_Polygon().
DEVICE ALWAYS_INLINE double area_ring | ( | int8_t * | ring, |
int64_t | ringsize, | ||
int32_t | ic, | ||
int32_t | isr, | ||
int32_t | osr | ||
) |
Definition at line 917 of file ExtensionFunctionsGeo.hpp.
References area_triangle(), compression_unit_size(), coord_x(), and coord_y().
Referenced by area_polygon().
DEVICE ALWAYS_INLINE double area_triangle | ( | double | x1, |
double | y1, | ||
double | x2, | ||
double | y2, | ||
double | x3, | ||
double | y3 | ||
) |
Definition at line 908 of file ExtensionFunctionsGeo.hpp.
Referenced by area_ring().
DEVICE ALWAYS_INLINE bool box_contains_box | ( | double * | bounds1, |
int64_t | bounds1_size, | ||
double * | bounds2, | ||
int64_t | bounds2_size | ||
) |
Definition at line 574 of file ExtensionFunctionsGeo.hpp.
References box_contains_point().
Referenced by ST_Contains_MultiPolygon_LineString(), ST_Contains_Polygon_LineString(), and ST_Contains_Polygon_Polygon().
DEVICE ALWAYS_INLINE bool box_contains_box_vertex | ( | double * | bounds1, |
int64_t | bounds1_size, | ||
double * | bounds2, | ||
int64_t | bounds2_size | ||
) |
Definition at line 585 of file ExtensionFunctionsGeo.hpp.
References box_contains_point().
DEVICE ALWAYS_INLINE bool box_contains_point | ( | double * | bounds, |
int64_t | bounds_size, | ||
double | px, | ||
double | py | ||
) |
Definition at line 559 of file ExtensionFunctionsGeo.hpp.
References tol_ge(), and tol_le().
Referenced by box_contains_box(), box_contains_box_vertex(), Point_Overlaps_Box(), ST_Contains_MultiPolygon_LineString(), ST_Contains_MultiPolygon_Point(), ST_Contains_Polygon_LineString(), ST_Contains_Polygon_Point(), and ST_Intersects_Point_LineString().
DEVICE ALWAYS_INLINE bool box_overlaps_box | ( | double * | bounds1, |
int64_t | bounds1_size, | ||
double * | bounds2, | ||
int64_t | bounds2_size | ||
) |
Definition at line 600 of file ExtensionFunctionsGeo.hpp.
Referenced by ST_Intersects_LineString_Linestring(), ST_Intersects_LineString_MultiPolygon(), ST_Intersects_LineString_Polygon(), ST_Intersects_MultiPolygon_MultiPolygon(), ST_Intersects_Polygon_MultiPolygon(), and ST_Intersects_Polygon_Polygon().
DEVICE ALWAYS_INLINE bool centroid_add_linestring | ( | int8_t * | l, |
int64_t | lsize, | ||
int32_t | ic, | ||
int32_t | isr, | ||
int32_t | osr, | ||
bool | closed, | ||
double * | total_length, | ||
double * | linestring_centroid_sum, | ||
int64_t * | num_points, | ||
double * | point_centroid_sum | ||
) |
Definition at line 1096 of file ExtensionFunctionsGeo.hpp.
References centroid_add_segment(), compression_unit_size(), coord_x(), and coord_y().
Referenced by centroid_add_ring(), and ST_Centroid_LineString().
DEVICE ALWAYS_INLINE bool centroid_add_polygon | ( | int8_t * | poly_coords, |
int64_t | poly_coords_size, | ||
int32_t * | poly_ring_sizes, | ||
int64_t | poly_num_rings, | ||
int32_t | ic, | ||
int32_t | isr, | ||
int32_t | osr, | ||
double * | total_area2, | ||
double * | cg3, | ||
double * | total_length, | ||
double * | linestring_centroid_sum, | ||
int64_t * | num_points, | ||
double * | point_centroid_sum | ||
) |
Definition at line 1228 of file ExtensionFunctionsGeo.hpp.
References centroid_add_ring(), and compression_unit_size().
Referenced by ST_Centroid_MultiPolygon(), and ST_Centroid_Polygon().
DEVICE ALWAYS_INLINE bool centroid_add_ring | ( | int8_t * | ring, |
int64_t | ringsize, | ||
int32_t | ic, | ||
int32_t | isr, | ||
int32_t | osr, | ||
double | sign, | ||
double * | total_area2, | ||
double * | cg3, | ||
double * | total_length, | ||
double * | linestring_centroid_sum, | ||
int64_t * | num_points, | ||
double * | point_centroid_sum | ||
) |
Definition at line 1185 of file ExtensionFunctionsGeo.hpp.
References centroid_add_linestring(), centroid_add_triangle(), compression_unit_size(), coord_x(), and coord_y().
Referenced by centroid_add_polygon().
DEVICE ALWAYS_INLINE bool centroid_add_segment | ( | double | x1, |
double | y1, | ||
double | x2, | ||
double | y2, | ||
double * | length, | ||
double * | linestring_centroid_sum | ||
) |
Definition at line 1081 of file ExtensionFunctionsGeo.hpp.
References distance_point_point().
Referenced by centroid_add_linestring().
DEVICE ALWAYS_INLINE bool centroid_add_triangle | ( | double | x1, |
double | y1, | ||
double | x2, | ||
double | y2, | ||
double | x3, | ||
double | y3, | ||
double | sign, | ||
double * | total_area2, | ||
double * | cg3 | ||
) |
Definition at line 1167 of file ExtensionFunctionsGeo.hpp.
Referenced by centroid_add_ring().
DEVICE ALWAYS_INLINE int32_t compression_unit_size | ( | int32_t | ic | ) |
Definition at line 60 of file ExtensionFunctionsGeo.hpp.
References COMPRESSION_GEOINT32.
Referenced by area_polygon(), area_ring(), centroid_add_linestring(), centroid_add_polygon(), centroid_add_ring(), distance_point_linestring(), length_linestring(), max_distance_point_linestring(), perimeter_multipolygon(), ST_Area_MultiPolygon(), ST_Centroid_MultiPolygon(), ST_Contains_MultiPolygon_LineString(), ST_Contains_MultiPolygon_Point(), ST_Contains_Point_LineString(), ST_Contains_Point_Polygon(), ST_Contains_Polygon_LineString(), ST_Contains_Polygon_Point(), ST_Contains_Polygon_Polygon(), ST_Distance_LineString_LineString(), ST_Distance_LineString_LineString_Geodesic(), ST_Distance_LineString_MultiPolygon(), ST_Distance_LineString_Polygon(), ST_Distance_MultiPolygon_MultiPolygon(), ST_Distance_Point_LineString(), ST_Distance_Point_LineString_Geodesic(), ST_Distance_Point_MultiPolygon(), ST_Distance_Point_Polygon(), ST_Distance_Polygon_MultiPolygon(), ST_Distance_Polygon_Polygon(), ST_Intersects_LineString_Linestring(), ST_Intersects_LineString_MultiPolygon(), ST_Intersects_LineString_Polygon(), ST_Intersects_Point_LineString(), ST_NPoints(), ST_Perimeter_Polygon(), ST_Perimeter_Polygon_Geodesic(), ST_X_LineString(), ST_XMax(), ST_XMin(), ST_Y_LineString(), ST_YMax(), and ST_YMin().
EXTENSION_NOINLINE double convert_meters_to_pixel_height | ( | const double | meters, |
int8_t * | p, | ||
const int64_t | psize, | ||
const int32_t | ic, | ||
const int32_t | isr, | ||
const int32_t | osr, | ||
const double | min_lat, | ||
const double | max_lat, | ||
const int32_t | img_height, | ||
const double | min_height | ||
) |
Definition at line 3585 of file ExtensionFunctionsGeo.hpp.
References decompress_coord(), and transform_coord().
Referenced by com.mapd.calcite.parser.MapDSqlOperatorTable::addUDF().
EXTENSION_NOINLINE double convert_meters_to_pixel_width | ( | const double | meters, |
int8_t * | p, | ||
const int64_t | psize, | ||
const int32_t | ic, | ||
const int32_t | isr, | ||
const int32_t | osr, | ||
const double | min_lon, | ||
const double | max_lon, | ||
const int32_t | img_width, | ||
const double | min_width | ||
) |
Definition at line 3554 of file ExtensionFunctionsGeo.hpp.
References decompress_coord(), and transform_coord().
Referenced by com.mapd.calcite.parser.MapDSqlOperatorTable::addUDF().
DEVICE ALWAYS_INLINE double coord_x | ( | int8_t * | data, |
int32_t | index, | ||
int32_t | ic, | ||
int32_t | isr, | ||
int32_t | osr | ||
) |
Definition at line 85 of file ExtensionFunctionsGeo.hpp.
References decompress_coord(), and transform_coord().
Referenced by area_ring(), centroid_add_linestring(), centroid_add_ring(), distance_point_linestring(), distance_ring_linestring(), distance_ring_ring(), length_linestring(), linestring_intersects_line(), linestring_intersects_linestring(), max_distance_point_linestring(), polygon_contains_linestring(), polygon_contains_point(), ring_intersects_line(), ST_Centroid_MultiPolygon(), ST_Centroid_Point(), ST_Centroid_Polygon(), ST_Contains_MultiPolygon_LineString(), ST_Contains_MultiPolygon_Point(), ST_Contains_Point_LineString(), ST_Contains_Point_Point(), ST_Contains_Polygon_LineString(), ST_Contains_Polygon_Point(), ST_Distance_LineString_LineString(), ST_Distance_LineString_LineString_Geodesic(), ST_Distance_Point_LineString(), ST_Distance_Point_LineString_Geodesic(), ST_Distance_Point_Point(), ST_Distance_Point_Point_Geodesic(), ST_Distance_Point_Point_Squared(), ST_Distance_Point_Polygon(), ST_Intersects_Point_LineString(), ST_X_LineString(), ST_X_Point(), ST_XMax(), and ST_XMin().
DEVICE ALWAYS_INLINE double coord_y | ( | int8_t * | data, |
int32_t | index, | ||
int32_t | ic, | ||
int32_t | isr, | ||
int32_t | osr | ||
) |
Definition at line 97 of file ExtensionFunctionsGeo.hpp.
References decompress_coord(), and transform_coord().
Referenced by area_ring(), centroid_add_linestring(), centroid_add_ring(), distance_point_linestring(), distance_ring_linestring(), distance_ring_ring(), length_linestring(), linestring_intersects_line(), linestring_intersects_linestring(), max_distance_point_linestring(), polygon_contains_linestring(), polygon_contains_point(), ring_intersects_line(), ST_Centroid_MultiPolygon(), ST_Centroid_Point(), ST_Centroid_Polygon(), ST_Contains_MultiPolygon_LineString(), ST_Contains_MultiPolygon_Point(), ST_Contains_Point_LineString(), ST_Contains_Point_Point(), ST_Contains_Polygon_LineString(), ST_Contains_Polygon_Point(), ST_Distance_LineString_LineString(), ST_Distance_LineString_LineString_Geodesic(), ST_Distance_Point_LineString(), ST_Distance_Point_LineString_Geodesic(), ST_Distance_Point_Point(), ST_Distance_Point_Point_Geodesic(), ST_Distance_Point_Point_Squared(), ST_Distance_Point_Polygon(), ST_Intersects_Point_LineString(), ST_Y_LineString(), ST_Y_Point(), ST_YMax(), and ST_YMin().
DEVICE ALWAYS_INLINE double decompress_coord | ( | int8_t * | data, |
int32_t | index, | ||
int32_t | ic, | ||
bool | x | ||
) |
Definition at line 43 of file ExtensionFunctionsGeo.hpp.
References COMPRESSION_GEOINT32, Geospatial::decompress_lattitude_coord_geoint32(), and Geospatial::decompress_longitude_coord_geoint32().
Referenced by convert_meters_to_pixel_height(), convert_meters_to_pixel_width(), coord_x(), coord_y(), is_point_in_view(), and is_point_size_in_view().
DEVICE double distance_line_line | ( | double | l11x, |
double | l11y, | ||
double | l12x, | ||
double | l12y, | ||
double | l21x, | ||
double | l21y, | ||
double | l22x, | ||
double | l22y | ||
) |
Definition at line 299 of file ExtensionFunctionsGeo.hpp.
References distance_point_line(), and line_intersects_line().
Referenced by distance_ring_linestring(), distance_ring_ring(), and ST_Distance_LineString_LineString().
DEVICE double distance_point_line | ( | double | px, |
double | py, | ||
double | l1x, | ||
double | l1y, | ||
double | l2x, | ||
double | l2y | ||
) |
Definition at line 135 of file ExtensionFunctionsGeo.hpp.
References distance_point_point(), and tol_zero().
Referenced by distance_line_line(), distance_point_linestring(), and polygon_contains_point().
DEVICE ALWAYS_INLINE double distance_point_linestring | ( | int8_t * | p, |
int64_t | psize, | ||
int8_t * | l, | ||
int64_t | lsize, | ||
int32_t | lindex, | ||
int32_t | ic1, | ||
int32_t | isr1, | ||
int32_t | ic2, | ||
int32_t | isr2, | ||
int32_t | osr, | ||
bool | check_closed | ||
) |
Definition at line 1531 of file ExtensionFunctionsGeo.hpp.
References compression_unit_size(), coord_x(), coord_y(), distance_point_line(), and distance_point_point().
Referenced by ST_Distance_Point_ClosedLineString(), and ST_Distance_Point_LineString().
DEVICE ALWAYS_INLINE double distance_point_point | ( | double | p1x, |
double | p1y, | ||
double | p2x, | ||
double | p2y | ||
) |
Definition at line 125 of file ExtensionFunctionsGeo.hpp.
References distance_point_point_squared().
Referenced by centroid_add_segment(), distance_point_line(), distance_point_linestring(), length_linestring(), max_distance_point_line(), max_distance_point_linestring(), ST_Distance_Point_LineString(), and ST_Distance_Point_Point().
DEVICE ALWAYS_INLINE double distance_point_point_squared | ( | double | p1x, |
double | p1y, | ||
double | p2x, | ||
double | p2y | ||
) |
Definition at line 109 of file ExtensionFunctionsGeo.hpp.
References tol_zero(), and TOLERANCE_DEFAULT.
Referenced by distance_point_point(), and ST_Distance_Point_Point_Squared().
DEVICE double distance_ring_linestring | ( | int8_t * | ring, |
int32_t | ring_num_coords, | ||
int8_t * | l, | ||
int32_t | lnum_coords, | ||
int32_t | ic1, | ||
int32_t | isr1, | ||
int32_t | ic2, | ||
int32_t | isr2, | ||
int32_t | osr | ||
) |
Definition at line 318 of file ExtensionFunctionsGeo.hpp.
References coord_x(), coord_y(), distance_line_line(), and tol_zero().
Referenced by ST_Distance_LineString_Polygon().
DEVICE double distance_ring_ring | ( | int8_t * | ring1, |
int32_t | ring1_num_coords, | ||
int8_t * | ring2, | ||
int32_t | ring2_num_coords, | ||
int32_t | ic1, | ||
int32_t | isr1, | ||
int32_t | ic2, | ||
int32_t | isr2, | ||
int32_t | osr | ||
) |
Definition at line 359 of file ExtensionFunctionsGeo.hpp.
References coord_x(), coord_y(), distance_line_line(), and tol_zero().
Referenced by ST_Distance_Polygon_Polygon().
EXTENSION_NOINLINE bool is_point_in_view | ( | int8_t * | p, |
const int64_t | psize, | ||
const int32_t | ic, | ||
const double | min_lon, | ||
const double | max_lon, | ||
const double | min_lat, | ||
const double | max_lat | ||
) |
Definition at line 3614 of file ExtensionFunctionsGeo.hpp.
References decompress_coord().
Referenced by com.mapd.calcite.parser.MapDSqlOperatorTable::addUDF().
EXTENSION_NOINLINE bool is_point_size_in_view | ( | int8_t * | p, |
const int64_t | psize, | ||
const int32_t | ic, | ||
const double | meters, | ||
const double | min_lon, | ||
const double | max_lon, | ||
const double | min_lat, | ||
const double | max_lat | ||
) |
Definition at line 3626 of file ExtensionFunctionsGeo.hpp.
References decompress_coord().
Referenced by com.mapd.calcite.parser.MapDSqlOperatorTable::addUDF().
DEVICE ALWAYS_INLINE double length_linestring | ( | int8_t * | l, |
int64_t | lsize, | ||
int32_t | ic, | ||
int32_t | isr, | ||
int32_t | osr, | ||
bool | geodesic, | ||
bool | check_closed | ||
) |
Definition at line 728 of file ExtensionFunctionsGeo.hpp.
References compression_unit_size(), coord_x(), coord_y(), distance_in_meters(), and distance_point_point().
Referenced by perimeter_multipolygon(), ST_Length_LineString(), ST_Length_LineString_Geodesic(), ST_Perimeter_Polygon(), and ST_Perimeter_Polygon_Geodesic().
DEVICE bool line_intersects_line | ( | double | l11x, |
double | l11y, | ||
double | l12x, | ||
double | l12y, | ||
double | l21x, | ||
double | l21y, | ||
double | l22x, | ||
double | l22y | ||
) |
Definition at line 186 of file ExtensionFunctionsGeo.hpp.
References on_segment(), and orientation().
Referenced by distance_line_line(), linestring_intersects_line(), linestring_intersects_linestring(), polygon_contains_point(), and ring_intersects_line().
DEVICE bool linestring_intersects_line | ( | int8_t * | l, |
int32_t | lnum_coords, | ||
double | l1x, | ||
double | l1y, | ||
double | l2x, | ||
double | l2y, | ||
int32_t | ic1, | ||
int32_t | isr1, | ||
int32_t | osr | ||
) |
Definition at line 229 of file ExtensionFunctionsGeo.hpp.
References coord_x(), coord_y(), and line_intersects_line().
Referenced by ring_intersects_line().
DEVICE bool linestring_intersects_linestring | ( | int8_t * | l, |
int32_t | lnum_coords, | ||
double | l1x, | ||
double | l1y, | ||
double | l2x, | ||
double | l2y, | ||
int32_t | ic1, | ||
int32_t | isr1, | ||
int32_t | osr | ||
) |
Definition at line 274 of file ExtensionFunctionsGeo.hpp.
References coord_x(), coord_y(), and line_intersects_line().
EXTENSION_INLINE int64_t MapD_GeoPolyBoundsPtr | ( | double * | bounds, |
int64_t | size | ||
) |
Definition at line 3544 of file ExtensionFunctionsGeo.hpp.
References OmniSci_Geo_PolyBoundsPtr().
Referenced by com.mapd.calcite.parser.MapDSqlOperatorTable::addUDF().
EXTENSION_INLINE int32_t MapD_GeoPolyRenderGroup | ( | int32_t | render_group | ) |
Definition at line 3549 of file ExtensionFunctionsGeo.hpp.
References OmniSci_Geo_PolyRenderGroup().
Referenced by com.mapd.calcite.parser.MapDSqlOperatorTable::addUDF().
DEVICE double max_distance_point_line | ( | double | px, |
double | py, | ||
double | l1x, | ||
double | l1y, | ||
double | l2x, | ||
double | l2y | ||
) |
Definition at line 2312 of file ExtensionFunctionsGeo.hpp.
References distance_point_point().
Referenced by max_distance_point_linestring().
DEVICE ALWAYS_INLINE double max_distance_point_linestring | ( | int8_t * | p, |
int64_t | psize, | ||
int8_t * | l, | ||
int64_t | lsize, | ||
int32_t | lindex, | ||
int32_t | ic1, | ||
int32_t | isr1, | ||
int32_t | ic2, | ||
int32_t | isr2, | ||
int32_t | osr, | ||
bool | check_closed | ||
) |
Definition at line 2326 of file ExtensionFunctionsGeo.hpp.
References compression_unit_size(), coord_x(), coord_y(), distance_point_point(), and max_distance_point_line().
Referenced by ST_MaxDistance_LineString_Point(), and ST_MaxDistance_Point_LineString().
EXTENSION_INLINE int64_t OmniSci_Geo_PolyBoundsPtr | ( | double * | bounds, |
int64_t | size | ||
) |
Definition at line 3534 of file ExtensionFunctionsGeo.hpp.
Referenced by com.mapd.calcite.parser.MapDSqlOperatorTable::addUDF(), and MapD_GeoPolyBoundsPtr().
EXTENSION_INLINE int32_t OmniSci_Geo_PolyRenderGroup | ( | int32_t | render_group | ) |
Definition at line 3539 of file ExtensionFunctionsGeo.hpp.
Referenced by com.mapd.calcite.parser.MapDSqlOperatorTable::addUDF(), and MapD_GeoPolyRenderGroup().
DEVICE ALWAYS_INLINE bool on_segment | ( | double | px, |
double | py, | ||
double | qx, | ||
double | qy, | ||
double | rx, | ||
double | ry | ||
) |
Definition at line 162 of file ExtensionFunctionsGeo.hpp.
References tol_ge(), and tol_le().
Referenced by line_intersects_line().
DEVICE ALWAYS_INLINE int16_t orientation | ( | double | px, |
double | py, | ||
double | qx, | ||
double | qy, | ||
double | rx, | ||
double | ry | ||
) |
Definition at line 173 of file ExtensionFunctionsGeo.hpp.
References tol_zero().
Referenced by line_intersects_line().
DEVICE ALWAYS_INLINE double perimeter_multipolygon | ( | int8_t * | mpoly_coords, |
int64_t | mpoly_coords_size, | ||
int32_t * | mpoly_ring_sizes, | ||
int64_t | mpoly_num_rings, | ||
int32_t * | mpoly_poly_sizes, | ||
int64_t | mpoly_num_polys, | ||
int32_t | ic, | ||
int32_t | isr, | ||
int32_t | osr, | ||
bool | geodesic | ||
) |
Definition at line 818 of file ExtensionFunctionsGeo.hpp.
References compression_unit_size(), and length_linestring().
Referenced by ST_Perimeter_MultiPolygon(), and ST_Perimeter_MultiPolygon_Geodesic().
EXTENSION_NOINLINE bool Point_Overlaps_Box | ( | double * | bounds, |
int64_t | bounds_size, | ||
double | px, | ||
double | py | ||
) |
Definition at line 567 of file ExtensionFunctionsGeo.hpp.
References box_contains_point().
DEVICE bool polygon_contains_linestring | ( | int8_t * | poly, |
int32_t | poly_num_coords, | ||
int8_t * | l, | ||
int64_t | lnum_coords, | ||
int32_t | ic1, | ||
int32_t | isr1, | ||
int32_t | ic2, | ||
int32_t | isr2, | ||
int32_t | osr | ||
) |
Definition at line 529 of file ExtensionFunctionsGeo.hpp.
References coord_x(), coord_y(), polygon_contains_point(), and ring_intersects_line().
Referenced by ST_Contains_Polygon_LineString().
DEVICE bool polygon_contains_point | ( | int8_t * | poly, |
int32_t | poly_num_coords, | ||
double | px, | ||
double | py, | ||
int32_t | ic1, | ||
int32_t | isr1, | ||
int32_t | osr | ||
) |
Definition at line 414 of file ExtensionFunctionsGeo.hpp.
References coord_x(), coord_y(), distance_point_line(), line_intersects_line(), run_benchmark_import::result, tol_eq(), and tol_zero().
Referenced by polygon_contains_linestring(), ST_Contains_Polygon_LineString(), ST_Contains_Polygon_Point(), and ST_Distance_Point_Polygon().
DEVICE bool ring_intersects_line | ( | int8_t * | ring, |
int32_t | ring_num_coords, | ||
double | l1x, | ||
double | l1y, | ||
double | l2x, | ||
double | l2y, | ||
int32_t | ic1, | ||
int32_t | isr1, | ||
int32_t | osr | ||
) |
Definition at line 253 of file ExtensionFunctionsGeo.hpp.
References coord_x(), coord_y(), line_intersects_line(), and linestring_intersects_line().
Referenced by polygon_contains_linestring().
EXTENSION_NOINLINE double ST_Area_MultiPolygon | ( | int8_t * | mpoly_coords, |
int64_t | mpoly_coords_size, | ||
int32_t * | mpoly_ring_sizes, | ||
int64_t | mpoly_num_rings, | ||
int32_t * | mpoly_poly_sizes, | ||
int64_t | mpoly_num_polys, | ||
int32_t | ic, | ||
int32_t | isr, | ||
int32_t | osr | ||
) |
Definition at line 995 of file ExtensionFunctionsGeo.hpp.
References area_polygon(), and compression_unit_size().
Referenced by ST_Area_MultiPolygon_Geodesic().
EXTENSION_INLINE double ST_Area_MultiPolygon_Geodesic | ( | int8_t * | mpoly_coords, |
int64_t | mpoly_coords_size, | ||
int32_t * | mpoly_ring_sizes, | ||
int64_t | mpoly_num_rings, | ||
int32_t * | mpoly_poly_sizes, | ||
int64_t | mpoly_num_polys, | ||
int32_t | ic, | ||
int32_t | isr, | ||
int32_t | osr | ||
) |
Definition at line 1033 of file ExtensionFunctionsGeo.hpp.
References ST_Area_MultiPolygon().
EXTENSION_NOINLINE double ST_Area_Polygon | ( | int8_t * | poly_coords, |
int64_t | poly_coords_size, | ||
int32_t * | poly_ring_sizes, | ||
int64_t | poly_num_rings, | ||
int32_t | ic, | ||
int32_t | isr, | ||
int32_t | osr | ||
) |
Definition at line 971 of file ExtensionFunctionsGeo.hpp.
References area_polygon().
Referenced by ST_Area_Polygon_Geodesic().
EXTENSION_INLINE double ST_Area_Polygon_Geodesic | ( | int8_t * | poly_coords, |
int64_t | poly_coords_size, | ||
int32_t * | poly_ring_sizes, | ||
int64_t | poly_num_rings, | ||
int32_t | ic, | ||
int32_t | isr, | ||
int32_t | osr | ||
) |
Definition at line 983 of file ExtensionFunctionsGeo.hpp.
References ST_Area_Polygon().
EXTENSION_NOINLINE double ST_Centroid_LineString | ( | int8_t * | coords, |
int64_t | coords_sz, | ||
int32_t | ic, | ||
int32_t | isr, | ||
int32_t | osr, | ||
bool | ycoord | ||
) |
Definition at line 1133 of file ExtensionFunctionsGeo.hpp.
References centroid_add_linestring().
EXTENSION_NOINLINE double ST_Centroid_MultiPolygon | ( | int8_t * | mpoly_coords, |
int64_t | mpoly_coords_size, | ||
int32_t * | mpoly_ring_sizes, | ||
int64_t | mpoly_num_rings, | ||
int32_t * | mpoly_poly_sizes, | ||
int64_t | mpoly_num_polys, | ||
int32_t | ic, | ||
int32_t | isr, | ||
int32_t | osr, | ||
bool | ycoord | ||
) |
Definition at line 1324 of file ExtensionFunctionsGeo.hpp.
References centroid_add_polygon(), compression_unit_size(), coord_x(), and coord_y().
EXTENSION_NOINLINE double ST_Centroid_Point | ( | int8_t * | p, |
int64_t | psize, | ||
int32_t | ic, | ||
int32_t | isr, | ||
int32_t | osr, | ||
bool | ycoord | ||
) |
Definition at line 1069 of file ExtensionFunctionsGeo.hpp.
References coord_x(), and coord_y().
EXTENSION_NOINLINE double ST_Centroid_Polygon | ( | int8_t * | poly_coords, |
int64_t | poly_coords_size, | ||
int32_t * | poly_ring_sizes, | ||
int64_t | poly_num_rings, | ||
int32_t | ic, | ||
int32_t | isr, | ||
int32_t | osr, | ||
bool | ycoord | ||
) |
Definition at line 1270 of file ExtensionFunctionsGeo.hpp.
References centroid_add_polygon(), coord_x(), and coord_y().
EXTENSION_NOINLINE bool ST_Contains_LineString_LineString | ( | int8_t * | l1, |
int64_t | l1size, | ||
double * | l1bounds, | ||
int64_t | l1bounds_size, | ||
int32_t | l1i, | ||
int8_t * | l2, | ||
int64_t | l2size, | ||
double * | l2bounds, | ||
int64_t | l2bounds_size, | ||
int32_t | l2i, | ||
int32_t | ic1, | ||
int32_t | isr1, | ||
int32_t | ic2, | ||
int32_t | isr2, | ||
int32_t | osr | ||
) |
Definition at line 2518 of file ExtensionFunctionsGeo.hpp.
References ST_Distance_LineString_LineString(), and tol_zero().
EXTENSION_INLINE bool ST_Contains_LineString_Point | ( | int8_t * | l, |
int64_t | lsize, | ||
double * | lbounds, | ||
int64_t | lbounds_size, | ||
int32_t | li, | ||
int8_t * | p, | ||
int64_t | psize, | ||
int32_t | ic1, | ||
int32_t | isr1, | ||
int32_t | ic2, | ||
int32_t | isr2, | ||
int32_t | osr | ||
) |
Definition at line 2501 of file ExtensionFunctionsGeo.hpp.
References ST_Distance_Point_LineString(), and tol_zero().
EXTENSION_NOINLINE bool ST_Contains_LineString_Polygon | ( | int8_t * | l, |
int64_t | lsize, | ||
double * | lbounds, | ||
int64_t | lbounds_size, | ||
int32_t | li, | ||
int8_t * | poly_coords, | ||
int64_t | poly_coords_size, | ||
int32_t * | poly_ring_sizes, | ||
int64_t | poly_num_rings, | ||
double * | poly_bounds, | ||
int64_t | poly_bounds_size, | ||
int32_t | ic1, | ||
int32_t | isr1, | ||
int32_t | ic2, | ||
int32_t | isr2, | ||
int32_t | osr | ||
) |
Definition at line 2547 of file ExtensionFunctionsGeo.hpp.
EXTENSION_NOINLINE bool ST_Contains_MultiPolygon_LineString | ( | int8_t * | mpoly_coords, |
int64_t | mpoly_coords_size, | ||
int32_t * | mpoly_ring_sizes, | ||
int64_t | mpoly_num_rings, | ||
int32_t * | mpoly_poly_sizes, | ||
int64_t | mpoly_num_polys, | ||
double * | mpoly_bounds, | ||
int64_t | mpoly_bounds_size, | ||
int8_t * | l, | ||
int64_t | lsize, | ||
double * | lbounds, | ||
int64_t | lbounds_size, | ||
int32_t | li, | ||
int32_t | ic1, | ||
int32_t | isr1, | ||
int32_t | ic2, | ||
int32_t | isr2, | ||
int32_t | osr | ||
) |
Definition at line 2787 of file ExtensionFunctionsGeo.hpp.
References box_contains_box(), box_contains_point(), compression_unit_size(), coord_x(), coord_y(), ST_Contains_MultiPolygon_Point(), and ST_Contains_Polygon_LineString().
EXTENSION_NOINLINE bool ST_Contains_MultiPolygon_Point | ( | int8_t * | mpoly_coords, |
int64_t | mpoly_coords_size, | ||
int32_t * | mpoly_ring_sizes, | ||
int64_t | mpoly_num_rings, | ||
int32_t * | mpoly_poly_sizes, | ||
int64_t | mpoly_num_polys, | ||
double * | mpoly_bounds, | ||
int64_t | mpoly_bounds_size, | ||
int8_t * | p, | ||
int64_t | psize, | ||
int32_t | ic1, | ||
int32_t | isr1, | ||
int32_t | ic2, | ||
int32_t | isr2, | ||
int32_t | osr | ||
) |
Definition at line 2720 of file ExtensionFunctionsGeo.hpp.
References box_contains_point(), compression_unit_size(), coord_x(), coord_y(), and ST_Contains_Polygon_Point().
Referenced by ST_Contains_MultiPolygon_LineString(), ST_Intersects_LineString_MultiPolygon(), ST_Intersects_MultiPolygon_Point(), and ST_Intersects_Point_MultiPolygon().
EXTENSION_NOINLINE bool ST_Contains_Point_LineString | ( | int8_t * | p, |
int64_t | psize, | ||
int8_t * | l, | ||
int64_t | lsize, | ||
double * | lbounds, | ||
int64_t | lbounds_size, | ||
int32_t | li, | ||
int32_t | ic1, | ||
int32_t | isr1, | ||
int32_t | ic2, | ||
int32_t | isr2, | ||
int32_t | osr | ||
) |
Definition at line 2432 of file ExtensionFunctionsGeo.hpp.
References compression_unit_size(), coord_x(), coord_y(), and tol_eq().
Referenced by ST_Contains_Point_Polygon().
EXTENSION_NOINLINE bool ST_Contains_Point_Point | ( | int8_t * | p1, |
int64_t | p1size, | ||
int8_t * | p2, | ||
int64_t | p2size, | ||
int32_t | ic1, | ||
int32_t | isr1, | ||
int32_t | ic2, | ||
int32_t | isr2, | ||
int32_t | osr | ||
) |
Definition at line 2414 of file ExtensionFunctionsGeo.hpp.
References coord_x(), coord_y(), tol(), and tol_eq().
EXTENSION_NOINLINE bool ST_Contains_Point_Polygon | ( | int8_t * | p, |
int64_t | psize, | ||
int8_t * | poly_coords, | ||
int64_t | poly_coords_size, | ||
int32_t * | poly_ring_sizes, | ||
int64_t | poly_num_rings, | ||
double * | poly_bounds, | ||
int64_t | poly_bounds_size, | ||
int32_t | ic1, | ||
int32_t | isr1, | ||
int32_t | ic2, | ||
int32_t | isr2, | ||
int32_t | osr | ||
) |
Definition at line 2467 of file ExtensionFunctionsGeo.hpp.
References compression_unit_size(), and ST_Contains_Point_LineString().
EXTENSION_NOINLINE bool ST_Contains_Polygon_LineString | ( | int8_t * | poly_coords, |
int64_t | poly_coords_size, | ||
int32_t * | poly_ring_sizes, | ||
int64_t | poly_num_rings, | ||
double * | poly_bounds, | ||
int64_t | poly_bounds_size, | ||
int8_t * | l, | ||
int64_t | lsize, | ||
double * | lbounds, | ||
int64_t | lbounds_size, | ||
int32_t | li, | ||
int32_t | ic1, | ||
int32_t | isr1, | ||
int32_t | ic2, | ||
int32_t | isr2, | ||
int32_t | osr | ||
) |
Definition at line 2615 of file ExtensionFunctionsGeo.hpp.
References box_contains_box(), box_contains_point(), compression_unit_size(), coord_x(), coord_y(), polygon_contains_linestring(), and polygon_contains_point().
Referenced by ST_Contains_MultiPolygon_LineString(), and ST_Contains_Polygon_Polygon().
EXTENSION_NOINLINE bool ST_Contains_Polygon_Point | ( | int8_t * | poly_coords, |
int64_t | poly_coords_size, | ||
int32_t * | poly_ring_sizes, | ||
int64_t | poly_num_rings, | ||
double * | poly_bounds, | ||
int64_t | poly_bounds_size, | ||
int8_t * | p, | ||
int64_t | psize, | ||
int32_t | ic1, | ||
int32_t | isr1, | ||
int32_t | ic2, | ||
int32_t | isr2, | ||
int32_t | osr | ||
) |
Definition at line 2568 of file ExtensionFunctionsGeo.hpp.
References box_contains_point(), compression_unit_size(), coord_x(), coord_y(), and polygon_contains_point().
Referenced by ST_Contains_MultiPolygon_Point(), ST_Intersects_LineString_Polygon(), ST_Intersects_Point_Polygon(), and ST_Intersects_Polygon_Point().
EXTENSION_NOINLINE bool ST_Contains_Polygon_Polygon | ( | int8_t * | poly1_coords, |
int64_t | poly1_coords_size, | ||
int32_t * | poly1_ring_sizes, | ||
int64_t | poly1_num_rings, | ||
double * | poly1_bounds, | ||
int64_t | poly1_bounds_size, | ||
int8_t * | poly2_coords, | ||
int64_t | poly2_coords_size, | ||
int32_t * | poly2_ring_sizes, | ||
int64_t | poly2_num_rings, | ||
double * | poly2_bounds, | ||
int64_t | poly2_bounds_size, | ||
int32_t | ic1, | ||
int32_t | isr1, | ||
int32_t | ic2, | ||
int32_t | isr2, | ||
int32_t | osr | ||
) |
Definition at line 2666 of file ExtensionFunctionsGeo.hpp.
References box_contains_box(), compression_unit_size(), and ST_Contains_Polygon_LineString().
EXTENSION_NOINLINE double ST_Distance_LineString_LineString | ( | int8_t * | l1, |
int64_t | l1size, | ||
int32_t | l1index, | ||
int8_t * | l2, | ||
int64_t | l2size, | ||
int32_t | l2index, | ||
int32_t | ic1, | ||
int32_t | isr1, | ||
int32_t | ic2, | ||
int32_t | isr2, | ||
int32_t | osr | ||
) |
Definition at line 1743 of file ExtensionFunctionsGeo.hpp.
References compression_unit_size(), coord_x(), coord_y(), distance_line_line(), ST_Distance_Point_LineString(), and tol_zero().
Referenced by ST_Contains_LineString_LineString(), and ST_Intersects_LineString_Linestring().
EXTENSION_NOINLINE double ST_Distance_LineString_LineString_Geodesic | ( | int8_t * | l1, |
int64_t | l1size, | ||
int32_t | l1index, | ||
int8_t * | l2, | ||
int64_t | l2size, | ||
int32_t | l2index, | ||
int32_t | ic1, | ||
int32_t | isr1, | ||
int32_t | ic2, | ||
int32_t | isr2, | ||
int32_t | osr | ||
) |
Definition at line 1504 of file ExtensionFunctionsGeo.hpp.
References compression_unit_size(), coord_x(), coord_y(), and distance_in_meters().
EXTENSION_NOINLINE double ST_Distance_LineString_MultiPolygon | ( | int8_t * | l, |
int64_t | lsize, | ||
int32_t | lindex, | ||
int8_t * | mpoly_coords, | ||
int64_t | mpoly_coords_size, | ||
int32_t * | mpoly_ring_sizes, | ||
int64_t | mpoly_num_rings, | ||
int32_t * | mpoly_poly_sizes, | ||
int64_t | mpoly_num_polys, | ||
int32_t | ic1, | ||
int32_t | isr1, | ||
int32_t | ic2, | ||
int32_t | isr2, | ||
int32_t | osr | ||
) |
Definition at line 1883 of file ExtensionFunctionsGeo.hpp.
References compression_unit_size(), ST_Distance_LineString_Polygon(), ST_Distance_Point_MultiPolygon(), and tol_zero().
Referenced by ST_Distance_MultiPolygon_LineString(), and ST_Intersects_LineString_MultiPolygon().
EXTENSION_INLINE double ST_Distance_LineString_Point | ( | int8_t * | l, |
int64_t | lsize, | ||
int32_t | lindex, | ||
int8_t * | p, | ||
int64_t | psize, | ||
int32_t | ic1, | ||
int32_t | isr1, | ||
int32_t | ic2, | ||
int32_t | isr2, | ||
int32_t | osr | ||
) |
Definition at line 1728 of file ExtensionFunctionsGeo.hpp.
References ST_Distance_Point_LineString().
EXTENSION_INLINE double ST_Distance_LineString_Point_Geodesic | ( | int8_t * | l, |
int64_t | lsize, | ||
int32_t | lindex, | ||
int8_t * | p, | ||
int64_t | psize, | ||
int32_t | ic1, | ||
int32_t | isr1, | ||
int32_t | ic2, | ||
int32_t | isr2, | ||
int32_t | osr | ||
) |
Definition at line 1488 of file ExtensionFunctionsGeo.hpp.
References ST_Distance_Point_LineString_Geodesic().
EXTENSION_NOINLINE double ST_Distance_LineString_Polygon | ( | int8_t * | l, |
int64_t | lsize, | ||
int32_t | lindex, | ||
int8_t * | poly_coords, | ||
int64_t | poly_coords_size, | ||
int32_t * | poly_ring_sizes, | ||
int64_t | poly_num_rings, | ||
int32_t | ic1, | ||
int32_t | isr1, | ||
int32_t | ic2, | ||
int32_t | isr2, | ||
int32_t | osr | ||
) |
Definition at line 1814 of file ExtensionFunctionsGeo.hpp.
References compression_unit_size(), distance_ring_linestring(), ST_Distance_Point_Polygon(), and tol_zero().
Referenced by ST_Distance_LineString_MultiPolygon(), ST_Distance_Polygon_LineString(), and ST_Intersects_LineString_Polygon().
EXTENSION_INLINE double ST_Distance_MultiPolygon_LineString | ( | int8_t * | mpoly_coords, |
int64_t | mpoly_coords_size, | ||
int32_t * | mpoly_ring_sizes, | ||
int64_t | mpoly_num_rings, | ||
int32_t * | mpoly_poly_sizes, | ||
int64_t | mpoly_num_polys, | ||
int8_t * | l, | ||
int64_t | lsize, | ||
int32_t | lindex, | ||
int32_t | ic1, | ||
int32_t | isr1, | ||
int32_t | ic2, | ||
int32_t | isr2, | ||
int32_t | osr | ||
) |
Definition at line 2180 of file ExtensionFunctionsGeo.hpp.
References ST_Distance_LineString_MultiPolygon().
EXTENSION_NOINLINE double ST_Distance_MultiPolygon_MultiPolygon | ( | int8_t * | mpoly1_coords, |
int64_t | mpoly1_coords_size, | ||
int32_t * | mpoly1_ring_sizes, | ||
int64_t | mpoly1_num_rings, | ||
int32_t * | mpoly1_poly_sizes, | ||
int64_t | mpoly1_num_polys, | ||
int8_t * | mpoly2_coords, | ||
int64_t | mpoly2_coords_size, | ||
int32_t * | mpoly2_ring_sizes, | ||
int64_t | mpoly2_num_rings, | ||
int32_t * | mpoly2_poly_sizes, | ||
int64_t | mpoly2_num_polys, | ||
int32_t | ic1, | ||
int32_t | isr1, | ||
int32_t | ic2, | ||
int32_t | isr2, | ||
int32_t | osr | ||
) |
Definition at line 2244 of file ExtensionFunctionsGeo.hpp.
References compression_unit_size(), ST_Distance_Polygon_MultiPolygon(), and tol_zero().
Referenced by ST_Intersects_MultiPolygon_MultiPolygon().
EXTENSION_INLINE double ST_Distance_MultiPolygon_Point | ( | int8_t * | mpoly_coords, |
int64_t | mpoly_coords_size, | ||
int32_t * | mpoly_ring_sizes, | ||
int64_t | mpoly_num_rings, | ||
int32_t * | mpoly_poly_sizes, | ||
int64_t | mpoly_num_polys, | ||
int8_t * | p, | ||
int64_t | psize, | ||
int32_t | ic1, | ||
int32_t | isr1, | ||
int32_t | ic2, | ||
int32_t | isr2, | ||
int32_t | osr | ||
) |
Definition at line 2151 of file ExtensionFunctionsGeo.hpp.
References ST_Distance_Point_MultiPolygon().
EXTENSION_INLINE double ST_Distance_MultiPolygon_Polygon | ( | int8_t * | mpoly_coords, |
int64_t | mpoly_coords_size, | ||
int32_t * | mpoly_ring_sizes, | ||
int64_t | mpoly_num_rings, | ||
int32_t * | mpoly_poly_sizes, | ||
int64_t | mpoly_num_polys, | ||
int8_t * | poly1_coords, | ||
int64_t | poly1_coords_size, | ||
int32_t * | poly1_ring_sizes, | ||
int64_t | poly1_num_rings, | ||
int32_t | ic1, | ||
int32_t | isr1, | ||
int32_t | ic2, | ||
int32_t | isr2, | ||
int32_t | osr | ||
) |
Definition at line 2211 of file ExtensionFunctionsGeo.hpp.
References ST_Distance_Polygon_MultiPolygon().
EXTENSION_NOINLINE double ST_Distance_Point_ClosedLineString | ( | int8_t * | p, |
int64_t | psize, | ||
int8_t * | l, | ||
int64_t | lsize, | ||
int32_t | lindex, | ||
int32_t | ic1, | ||
int32_t | isr1, | ||
int32_t | ic2, | ||
int32_t | isr2, | ||
int32_t | osr | ||
) |
Definition at line 1585 of file ExtensionFunctionsGeo.hpp.
References distance_point_linestring().
Referenced by ST_Distance_Point_Polygon().
EXTENSION_NOINLINE double ST_Distance_Point_LineString | ( | int8_t * | p, |
int64_t | psize, | ||
int8_t * | l, | ||
int64_t | lsize, | ||
int32_t | lindex, | ||
int32_t | ic1, | ||
int32_t | isr1, | ||
int32_t | ic2, | ||
int32_t | isr2, | ||
int32_t | osr | ||
) |
Definition at line 1600 of file ExtensionFunctionsGeo.hpp.
References compression_unit_size(), coord_x(), coord_y(), distance_point_linestring(), and distance_point_point().
Referenced by ST_Contains_LineString_Point(), ST_Distance_LineString_LineString(), ST_Distance_LineString_Point(), and ST_Intersects_Point_LineString().
EXTENSION_NOINLINE double ST_Distance_Point_LineString_Geodesic | ( | int8_t * | p, |
int64_t | psize, | ||
int8_t * | l, | ||
int64_t | lsize, | ||
int32_t | lindex, | ||
int32_t | ic1, | ||
int32_t | isr1, | ||
int32_t | ic2, | ||
int32_t | isr2, | ||
int32_t | osr | ||
) |
Definition at line 1465 of file ExtensionFunctionsGeo.hpp.
References compression_unit_size(), coord_x(), coord_y(), and distance_in_meters().
Referenced by ST_Distance_LineString_Point_Geodesic().
EXTENSION_NOINLINE double ST_Distance_Point_MultiPolygon | ( | int8_t * | p, |
int64_t | psize, | ||
int8_t * | mpoly_coords, | ||
int64_t | mpoly_coords_size, | ||
int32_t * | mpoly_ring_sizes, | ||
int64_t | mpoly_num_rings, | ||
int32_t * | mpoly_poly_sizes, | ||
int64_t | mpoly_num_polys, | ||
int32_t | ic1, | ||
int32_t | isr1, | ||
int32_t | ic2, | ||
int32_t | isr2, | ||
int32_t | osr | ||
) |
Definition at line 1671 of file ExtensionFunctionsGeo.hpp.
References compression_unit_size(), ST_Distance_Point_Polygon(), and tol_zero().
Referenced by ST_Distance_LineString_MultiPolygon(), and ST_Distance_MultiPolygon_Point().
EXTENSION_NOINLINE double ST_Distance_Point_Point | ( | int8_t * | p1, |
int64_t | p1size, | ||
int8_t * | p2, | ||
int64_t | p2size, | ||
int32_t | ic1, | ||
int32_t | isr1, | ||
int32_t | ic2, | ||
int32_t | isr2, | ||
int32_t | osr | ||
) |
Definition at line 1414 of file ExtensionFunctionsGeo.hpp.
References coord_x(), coord_y(), and distance_point_point().
Referenced by ST_Intersects_Point_LineString(), and ST_Intersects_Point_Point().
EXTENSION_NOINLINE double ST_Distance_Point_Point_Geodesic | ( | int8_t * | p1, |
int64_t | p1size, | ||
int8_t * | p2, | ||
int64_t | p2size, | ||
int32_t | ic1, | ||
int32_t | isr1, | ||
int32_t | ic2, | ||
int32_t | isr2, | ||
int32_t | osr | ||
) |
Definition at line 1448 of file ExtensionFunctionsGeo.hpp.
References coord_x(), coord_y(), and distance_in_meters().
EXTENSION_NOINLINE double ST_Distance_Point_Point_Squared | ( | int8_t * | p1, |
int64_t | p1size, | ||
int8_t * | p2, | ||
int64_t | p2size, | ||
int32_t | ic1, | ||
int32_t | isr1, | ||
int32_t | ic2, | ||
int32_t | isr2, | ||
int32_t | osr | ||
) |
Definition at line 1431 of file ExtensionFunctionsGeo.hpp.
References coord_x(), coord_y(), and distance_point_point_squared().
EXTENSION_NOINLINE double ST_Distance_Point_Polygon | ( | int8_t * | p, |
int64_t | psize, | ||
int8_t * | poly, | ||
int64_t | polysize, | ||
int32_t * | poly_ring_sizes, | ||
int64_t | poly_num_rings, | ||
int32_t | ic1, | ||
int32_t | isr1, | ||
int32_t | ic2, | ||
int32_t | isr2, | ||
int32_t | osr | ||
) |
Definition at line 1628 of file ExtensionFunctionsGeo.hpp.
References compression_unit_size(), coord_x(), coord_y(), polygon_contains_point(), and ST_Distance_Point_ClosedLineString().
Referenced by ST_Distance_LineString_Polygon(), ST_Distance_Point_MultiPolygon(), and ST_Distance_Polygon_Point().
EXTENSION_INLINE double ST_Distance_Polygon_LineString | ( | int8_t * | poly_coords, |
int64_t | poly_coords_size, | ||
int32_t * | poly_ring_sizes, | ||
int64_t | poly_num_rings, | ||
int8_t * | l, | ||
int64_t | lsize, | ||
int32_t | li, | ||
int32_t | ic1, | ||
int32_t | isr1, | ||
int32_t | ic2, | ||
int32_t | isr2, | ||
int32_t | osr | ||
) |
Definition at line 1990 of file ExtensionFunctionsGeo.hpp.
References ST_Distance_LineString_Polygon().
EXTENSION_NOINLINE double ST_Distance_Polygon_MultiPolygon | ( | int8_t * | poly1_coords, |
int64_t | poly1_coords_size, | ||
int32_t * | poly1_ring_sizes, | ||
int64_t | poly1_num_rings, | ||
int8_t * | mpoly_coords, | ||
int64_t | mpoly_coords_size, | ||
int32_t * | mpoly_ring_sizes, | ||
int64_t | mpoly_num_rings, | ||
int32_t * | mpoly_poly_sizes, | ||
int64_t | mpoly_num_polys, | ||
int32_t | ic1, | ||
int32_t | isr1, | ||
int32_t | ic2, | ||
int32_t | isr2, | ||
int32_t | osr | ||
) |
Definition at line 2093 of file ExtensionFunctionsGeo.hpp.
References compression_unit_size(), ST_Distance_Polygon_Polygon(), and tol_zero().
Referenced by ST_Distance_MultiPolygon_MultiPolygon(), ST_Distance_MultiPolygon_Polygon(), and ST_Intersects_Polygon_MultiPolygon().
EXTENSION_INLINE double ST_Distance_Polygon_Point | ( | int8_t * | poly_coords, |
int64_t | poly_coords_size, | ||
int32_t * | poly_ring_sizes, | ||
int64_t | poly_num_rings, | ||
int8_t * | p, | ||
int64_t | psize, | ||
int32_t | ic1, | ||
int32_t | isr1, | ||
int32_t | ic2, | ||
int32_t | isr2, | ||
int32_t | osr | ||
) |
Definition at line 1965 of file ExtensionFunctionsGeo.hpp.
References ST_Distance_Point_Polygon().
Referenced by ST_Distance_Polygon_Polygon().
EXTENSION_NOINLINE double ST_Distance_Polygon_Polygon | ( | int8_t * | poly1_coords, |
int64_t | poly1_coords_size, | ||
int32_t * | poly1_ring_sizes, | ||
int64_t | poly1_num_rings, | ||
int8_t * | poly2_coords, | ||
int64_t | poly2_coords_size, | ||
int32_t * | poly2_ring_sizes, | ||
int64_t | poly2_num_rings, | ||
int32_t | ic1, | ||
int32_t | isr1, | ||
int32_t | ic2, | ||
int32_t | isr2, | ||
int32_t | osr | ||
) |
Definition at line 2017 of file ExtensionFunctionsGeo.hpp.
References compression_unit_size(), distance_ring_ring(), ST_Distance_Polygon_Point(), and tol_zero().
Referenced by ST_Distance_Polygon_MultiPolygon(), and ST_Intersects_Polygon_Polygon().
EXTENSION_NOINLINE bool ST_Intersects_LineString_Linestring | ( | int8_t * | l1, |
int64_t | l1size, | ||
double * | l1bounds, | ||
int64_t | l1bounds_size, | ||
int32_t | l1i, | ||
int8_t * | l2, | ||
int64_t | l2size, | ||
double * | l2bounds, | ||
int64_t | l2bounds_size, | ||
int32_t | l2i, | ||
int32_t | ic1, | ||
int32_t | isr1, | ||
int32_t | ic2, | ||
int32_t | isr2, | ||
int32_t | osr | ||
) |
Definition at line 3024 of file ExtensionFunctionsGeo.hpp.
References box_overlaps_box(), compression_unit_size(), ST_Distance_LineString_LineString(), ST_Intersects_LineString_Point(), and tol_zero().
EXTENSION_NOINLINE bool ST_Intersects_LineString_MultiPolygon | ( | int8_t * | l, |
int64_t | lsize, | ||
double * | lbounds, | ||
int64_t | lbounds_size, | ||
int32_t | li, | ||
int8_t * | mpoly_coords, | ||
int64_t | mpoly_coords_size, | ||
int32_t * | mpoly_ring_sizes, | ||
int64_t | mpoly_num_rings, | ||
int32_t * | mpoly_poly_sizes, | ||
int64_t | mpoly_num_polys, | ||
double * | mpoly_bounds, | ||
int64_t | mpoly_bounds_size, | ||
int32_t | ic1, | ||
int32_t | isr1, | ||
int32_t | ic2, | ||
int32_t | isr2, | ||
int32_t | osr | ||
) |
Definition at line 3143 of file ExtensionFunctionsGeo.hpp.
References box_overlaps_box(), compression_unit_size(), ST_Contains_MultiPolygon_Point(), ST_Distance_LineString_MultiPolygon(), and tol_zero().
Referenced by ST_Intersects_MultiPolygon_LineString().
EXTENSION_INLINE bool ST_Intersects_LineString_Point | ( | int8_t * | l, |
int64_t | lsize, | ||
double * | lbounds, | ||
int64_t | lbounds_size, | ||
int32_t | li, | ||
int8_t * | p, | ||
int64_t | psize, | ||
int32_t | ic1, | ||
int32_t | isr1, | ||
int32_t | ic2, | ||
int32_t | isr2, | ||
int32_t | osr | ||
) |
Definition at line 3007 of file ExtensionFunctionsGeo.hpp.
References ST_Intersects_Point_LineString().
Referenced by ST_Intersects_LineString_Linestring().
EXTENSION_NOINLINE bool ST_Intersects_LineString_Polygon | ( | int8_t * | l, |
int64_t | lsize, | ||
double * | lbounds, | ||
int64_t | lbounds_size, | ||
int32_t | li, | ||
int8_t * | poly, | ||
int64_t | polysize, | ||
int32_t * | poly_ring_sizes, | ||
int64_t | poly_num_rings, | ||
double * | poly_bounds, | ||
int64_t | poly_bounds_size, | ||
int32_t | ic1, | ||
int32_t | isr1, | ||
int32_t | ic2, | ||
int32_t | isr2, | ||
int32_t | osr | ||
) |
Definition at line 3075 of file ExtensionFunctionsGeo.hpp.
References box_overlaps_box(), compression_unit_size(), ST_Contains_Polygon_Point(), ST_Distance_LineString_Polygon(), and tol_zero().
Referenced by ST_Intersects_Polygon_LineString().
EXTENSION_INLINE bool ST_Intersects_MultiPolygon_LineString | ( | int8_t * | mpoly_coords, |
int64_t | mpoly_coords_size, | ||
int32_t * | mpoly_ring_sizes, | ||
int64_t | mpoly_num_rings, | ||
int32_t * | mpoly_poly_sizes, | ||
int64_t | mpoly_num_polys, | ||
double * | mpoly_bounds, | ||
int64_t | mpoly_bounds_size, | ||
int8_t * | l, | ||
int64_t | lsize, | ||
double * | lbounds, | ||
int64_t | lbounds_size, | ||
int32_t | li, | ||
int32_t | ic1, | ||
int32_t | isr1, | ||
int32_t | ic2, | ||
int32_t | isr2, | ||
int32_t | osr | ||
) |
Definition at line 3398 of file ExtensionFunctionsGeo.hpp.
References ST_Intersects_LineString_MultiPolygon().
EXTENSION_INLINE bool ST_Intersects_MultiPolygon_MultiPolygon | ( | int8_t * | mpoly1_coords, |
int64_t | mpoly1_coords_size, | ||
int32_t * | mpoly1_ring_sizes, | ||
int64_t | mpoly1_num_rings, | ||
int32_t * | mpoly1_poly_sizes, | ||
int64_t | mpoly1_num_polys, | ||
double * | mpoly1_bounds, | ||
int64_t | mpoly1_bounds_size, | ||
int8_t * | mpoly2_coords, | ||
int64_t | mpoly2_coords_size, | ||
int32_t * | mpoly2_ring_sizes, | ||
int64_t | mpoly2_num_rings, | ||
int32_t * | mpoly2_poly_sizes, | ||
int64_t | mpoly2_num_polys, | ||
double * | mpoly2_bounds, | ||
int64_t | mpoly2_bounds_size, | ||
int32_t | ic1, | ||
int32_t | isr1, | ||
int32_t | ic2, | ||
int32_t | isr2, | ||
int32_t | osr | ||
) |
Definition at line 3478 of file ExtensionFunctionsGeo.hpp.
References box_overlaps_box(), ST_Distance_MultiPolygon_MultiPolygon(), and tol_zero().
EXTENSION_INLINE bool ST_Intersects_MultiPolygon_Point | ( | int8_t * | mpoly_coords, |
int64_t | mpoly_coords_size, | ||
int32_t * | mpoly_ring_sizes, | ||
int64_t | mpoly_num_rings, | ||
int32_t * | mpoly_poly_sizes, | ||
int64_t | mpoly_num_polys, | ||
double * | mpoly_bounds, | ||
int64_t | mpoly_bounds_size, | ||
int8_t * | p, | ||
int64_t | psize, | ||
int32_t | ic1, | ||
int32_t | isr1, | ||
int32_t | ic2, | ||
int32_t | isr2, | ||
int32_t | osr | ||
) |
Definition at line 3365 of file ExtensionFunctionsGeo.hpp.
References ST_Contains_MultiPolygon_Point().
EXTENSION_INLINE bool ST_Intersects_MultiPolygon_Polygon | ( | int8_t * | mpoly_coords, |
int64_t | mpoly_coords_size, | ||
int32_t * | mpoly_ring_sizes, | ||
int64_t | mpoly_num_rings, | ||
int32_t * | mpoly_poly_sizes, | ||
int64_t | mpoly_num_polys, | ||
double * | mpoly_bounds, | ||
int64_t | mpoly_bounds_size, | ||
int8_t * | poly_coords, | ||
int64_t | poly_coords_size, | ||
int32_t * | poly_ring_sizes, | ||
int64_t | poly_num_rings, | ||
double * | poly_bounds, | ||
int64_t | poly_bounds_size, | ||
int32_t | ic1, | ||
int32_t | isr1, | ||
int32_t | ic2, | ||
int32_t | isr2, | ||
int32_t | osr | ||
) |
Definition at line 3437 of file ExtensionFunctionsGeo.hpp.
References ST_Intersects_Polygon_MultiPolygon().
EXTENSION_NOINLINE bool ST_Intersects_Point_LineString | ( | int8_t * | p, |
int64_t | psize, | ||
int8_t * | l, | ||
int64_t | lsize, | ||
double * | lbounds, | ||
int64_t | lbounds_size, | ||
int32_t | li, | ||
int32_t | ic1, | ||
int32_t | isr1, | ||
int32_t | ic2, | ||
int32_t | isr2, | ||
int32_t | osr | ||
) |
Definition at line 2907 of file ExtensionFunctionsGeo.hpp.
References box_contains_point(), compression_unit_size(), coord_x(), coord_y(), ST_Distance_Point_LineString(), ST_Distance_Point_Point(), and tol_zero().
Referenced by ST_Intersects_LineString_Point().
EXTENSION_INLINE bool ST_Intersects_Point_MultiPolygon | ( | int8_t * | p, |
int64_t | psize, | ||
int8_t * | mpoly_coords, | ||
int64_t | mpoly_coords_size, | ||
int32_t * | mpoly_ring_sizes, | ||
int64_t | mpoly_num_rings, | ||
int32_t * | mpoly_poly_sizes, | ||
int64_t | mpoly_num_polys, | ||
double * | mpoly_bounds, | ||
int64_t | mpoly_bounds_size, | ||
int32_t | ic1, | ||
int32_t | isr1, | ||
int32_t | ic2, | ||
int32_t | isr2, | ||
int32_t | osr | ||
) |
Definition at line 2974 of file ExtensionFunctionsGeo.hpp.
References ST_Contains_MultiPolygon_Point().
EXTENSION_INLINE bool ST_Intersects_Point_Point | ( | int8_t * | p1, |
int64_t | p1size, | ||
int8_t * | p2, | ||
int64_t | p2size, | ||
int32_t | ic1, | ||
int32_t | isr1, | ||
int32_t | ic2, | ||
int32_t | isr2, | ||
int32_t | osr | ||
) |
Definition at line 2893 of file ExtensionFunctionsGeo.hpp.
References ST_Distance_Point_Point(), and tol_zero().
EXTENSION_INLINE bool ST_Intersects_Point_Polygon | ( | int8_t * | p, |
int64_t | psize, | ||
int8_t * | poly, | ||
int64_t | polysize, | ||
int32_t * | poly_ring_sizes, | ||
int64_t | poly_num_rings, | ||
double * | poly_bounds, | ||
int64_t | poly_bounds_size, | ||
int32_t | ic1, | ||
int32_t | isr1, | ||
int32_t | ic2, | ||
int32_t | isr2, | ||
int32_t | osr | ||
) |
Definition at line 2945 of file ExtensionFunctionsGeo.hpp.
References ST_Contains_Polygon_Point().
EXTENSION_INLINE bool ST_Intersects_Polygon_LineString | ( | int8_t * | poly, |
int64_t | polysize, | ||
int32_t * | poly_ring_sizes, | ||
int64_t | poly_num_rings, | ||
double * | poly_bounds, | ||
int64_t | poly_bounds_size, | ||
int8_t * | l, | ||
int64_t | lsize, | ||
double * | lbounds, | ||
int64_t | lbounds_size, | ||
int32_t | li, | ||
int32_t | ic1, | ||
int32_t | isr1, | ||
int32_t | ic2, | ||
int32_t | isr2, | ||
int32_t | osr | ||
) |
Definition at line 3246 of file ExtensionFunctionsGeo.hpp.
References ST_Intersects_LineString_Polygon().
EXTENSION_NOINLINE bool ST_Intersects_Polygon_MultiPolygon | ( | int8_t * | poly_coords, |
int64_t | poly_coords_size, | ||
int32_t * | poly_ring_sizes, | ||
int64_t | poly_num_rings, | ||
double * | poly_bounds, | ||
int64_t | poly_bounds_size, | ||
int8_t * | mpoly_coords, | ||
int64_t | mpoly_coords_size, | ||
int32_t * | mpoly_ring_sizes, | ||
int64_t | mpoly_num_rings, | ||
int32_t * | mpoly_poly_sizes, | ||
int64_t | mpoly_num_polys, | ||
double * | mpoly_bounds, | ||
int64_t | mpoly_bounds_size, | ||
int32_t | ic1, | ||
int32_t | isr1, | ||
int32_t | ic2, | ||
int32_t | isr2, | ||
int32_t | osr | ||
) |
Definition at line 3321 of file ExtensionFunctionsGeo.hpp.
References box_overlaps_box(), ST_Distance_Polygon_MultiPolygon(), and tol_zero().
Referenced by ST_Intersects_MultiPolygon_Polygon().
EXTENSION_INLINE bool ST_Intersects_Polygon_Point | ( | int8_t * | poly, |
int64_t | polysize, | ||
int32_t * | poly_ring_sizes, | ||
int64_t | poly_num_rings, | ||
double * | poly_bounds, | ||
int64_t | poly_bounds_size, | ||
int8_t * | p, | ||
int64_t | psize, | ||
int32_t | ic1, | ||
int32_t | isr1, | ||
int32_t | ic2, | ||
int32_t | isr2, | ||
int32_t | osr | ||
) |
Definition at line 3217 of file ExtensionFunctionsGeo.hpp.
References ST_Contains_Polygon_Point().
EXTENSION_NOINLINE bool ST_Intersects_Polygon_Polygon | ( | int8_t * | poly1_coords, |
int64_t | poly1_coords_size, | ||
int32_t * | poly1_ring_sizes, | ||
int64_t | poly1_num_rings, | ||
double * | poly1_bounds, | ||
int64_t | poly1_bounds_size, | ||
int8_t * | poly2_coords, | ||
int64_t | poly2_coords_size, | ||
int32_t * | poly2_ring_sizes, | ||
int64_t | poly2_num_rings, | ||
double * | poly2_bounds, | ||
int64_t | poly2_bounds_size, | ||
int32_t | ic1, | ||
int32_t | isr1, | ||
int32_t | ic2, | ||
int32_t | isr2, | ||
int32_t | osr | ||
) |
Definition at line 3281 of file ExtensionFunctionsGeo.hpp.
References box_overlaps_box(), ST_Distance_Polygon_Polygon(), and tol_zero().
EXTENSION_NOINLINE double ST_Length_LineString | ( | int8_t * | coords, |
int64_t | coords_sz, | ||
int32_t | ic, | ||
int32_t | isr, | ||
int32_t | osr | ||
) |
Definition at line 761 of file ExtensionFunctionsGeo.hpp.
References length_linestring().
EXTENSION_NOINLINE double ST_Length_LineString_Geodesic | ( | int8_t * | coords, |
int64_t | coords_sz, | ||
int32_t | ic, | ||
int32_t | isr, | ||
int32_t | osr | ||
) |
Definition at line 770 of file ExtensionFunctionsGeo.hpp.
References length_linestring().
EXTENSION_NOINLINE double ST_MaxDistance_LineString_Point | ( | int8_t * | l, |
int64_t | lsize, | ||
int32_t | lindex, | ||
int8_t * | p, | ||
int64_t | psize, | ||
int32_t | ic1, | ||
int32_t | isr1, | ||
int32_t | ic2, | ||
int32_t | isr2, | ||
int32_t | osr | ||
) |
Definition at line 2395 of file ExtensionFunctionsGeo.hpp.
References max_distance_point_linestring().
EXTENSION_NOINLINE double ST_MaxDistance_Point_LineString | ( | int8_t * | p, |
int64_t | psize, | ||
int8_t * | l, | ||
int64_t | lsize, | ||
int32_t | lindex, | ||
int32_t | ic1, | ||
int32_t | isr1, | ||
int32_t | ic2, | ||
int32_t | isr2, | ||
int32_t | osr | ||
) |
Definition at line 2380 of file ExtensionFunctionsGeo.hpp.
References max_distance_point_linestring().
EXTENSION_INLINE int32_t ST_NPoints | ( | int8_t * | coords, |
int64_t | coords_sz, | ||
int32_t | ic | ||
) |
Definition at line 1399 of file ExtensionFunctionsGeo.hpp.
References compression_unit_size().
Referenced by com.mapd.calcite.parser.MapDSqlOperatorTable::addUDF().
EXTENSION_INLINE int32_t ST_NRings | ( | int32_t * | poly_ring_sizes, |
int64_t | poly_num_rings | ||
) |
Definition at line 1405 of file ExtensionFunctionsGeo.hpp.
Referenced by com.mapd.calcite.parser.MapDSqlOperatorTable::addUDF().
EXTENSION_NOINLINE double ST_Perimeter_MultiPolygon | ( | int8_t * | mpoly_coords, |
int64_t | mpoly_coords_size, | ||
int32_t * | mpoly_ring_sizes, | ||
int64_t | mpoly_num_rings, | ||
int32_t * | mpoly_poly_sizes, | ||
int64_t | mpoly_num_polys, | ||
int32_t | ic, | ||
int32_t | isr, | ||
int32_t | osr | ||
) |
Definition at line 861 of file ExtensionFunctionsGeo.hpp.
References perimeter_multipolygon().
EXTENSION_NOINLINE double ST_Perimeter_MultiPolygon_Geodesic | ( | int8_t * | mpoly_coords, |
int64_t | mpoly_coords_size, | ||
int32_t * | mpoly_ring_sizes, | ||
int64_t | mpoly_num_rings, | ||
int32_t * | mpoly_poly_sizes, | ||
int64_t | mpoly_num_polys, | ||
int32_t | ic, | ||
int32_t | isr, | ||
int32_t | osr | ||
) |
Definition at line 883 of file ExtensionFunctionsGeo.hpp.
References perimeter_multipolygon().
EXTENSION_NOINLINE double ST_Perimeter_Polygon | ( | int8_t * | poly, |
int64_t | polysize, | ||
int32_t * | poly_ring_sizes, | ||
int64_t | poly_num_rings, | ||
int32_t | ic, | ||
int32_t | isr, | ||
int32_t | osr | ||
) |
Definition at line 783 of file ExtensionFunctionsGeo.hpp.
References compression_unit_size(), and length_linestring().
EXTENSION_NOINLINE double ST_Perimeter_Polygon_Geodesic | ( | int8_t * | poly, |
int64_t | polysize, | ||
int32_t * | poly_ring_sizes, | ||
int64_t | poly_num_rings, | ||
int32_t | ic, | ||
int32_t | isr, | ||
int32_t | osr | ||
) |
Definition at line 801 of file ExtensionFunctionsGeo.hpp.
References compression_unit_size(), and length_linestring().