LING71671/moon_strtree/src/api does not have a README file
fn GeofenceMonitor::update_point(self : GeofenceMonitor, item_id : Int, x : Double, y : Double) -> Array[GeofenceEvent]fn GeofenceMonitor::update_rect(self : GeofenceMonitor, item_id : Int, bounds : Rect) -> Array[GeofenceEvent]fn StrMeshTree3D::query_all_ray_hits(self : StrMeshTree3D, ox : Double, oy : Double, oz : Double, dx : Double, dy : Double, dz : Double, max_distance? : Double) -> Array[(Int, Double)]fn StrMeshTree3D::query_first_ray_hit(self : StrMeshTree3D, ox : Double, oy : Double, oz : Double, dx : Double, dy : Double, dz : Double, max_distance? : Double) -> (Int, Double)?fn StrMeshTree3D::query_segment(self : StrMeshTree3D, x1 : Double, y1 : Double, z1 : Double, x2 : Double, y2 : Double, z2 : Double) -> Array[Int]fn StrPolygonIndex::query_clipped_polygons(self : StrPolygonIndex, window : Rect) -> Array[Polygon2D]fn StrTree::aggregate_grid(self : StrTree, cell_width : Double, cell_height : Double, hotspot_threshold? : Int) -> GridDensitySummaryfn StrTree::query_spatial_predicate(self : StrTree, rect : Rect, predicate : SpatialPredicate) -> Array[Int]fn StrTree::spatial_join_predicate(self : StrTree, other : StrTree, predicate : SpatialPredicate) -> Array[(Int, Int)]fn StreamingTrajectoryCompressor::equal(StreamingTrajectoryCompressor, StreamingTrajectoryCompressor) -> Boolfn StreamingTrajectoryCompressor::finish(self : StreamingTrajectoryCompressor) -> Array[TrajectoryPoint]fn StreamingTrajectoryCompressor::new(epsilon : Double, use_sed? : Bool) -> StreamingTrajectoryCompressorfn StreamingTrajectoryCompressor::not_equal(x : StreamingTrajectoryCompressor, y : StreamingTrajectoryCompressor) -> Boolfn StreamingTrajectoryCompressor::push(self : StreamingTrajectoryCompressor, pt : TrajectoryPoint) -> Array[TrajectoryPoint]fn TrajectorySegment::interpolate_position(self : TrajectorySegment, t : Double) -> (Double, Double)?fn TrajectorySegment::new(p0_x : Double, p0_y : Double, p0_t : Double, p1_x : Double, p1_y : Double, p1_t : Double, track_id : Int, segment_id : Int) -> TrajectorySegmentpub struct TrajectorySimplificationResult {
points : Array[TrajectoryPoint]
original_count : Int
simplified_count : Int
compression_ratio : Double
max_error : Double
} derive(Default, Eq, Debug)fn TrajectorySimplificationResult::not_equal(x : TrajectorySimplificationResult, y : TrajectorySimplificationResult) -> Boolfn TrajectoryWindowIndex::build(segments : Array[TrajectorySegment], node_capacity? : Int) -> TrajectoryWindowIndexfn TrajectoryWindowIndex::query_tracks_in_window(self : TrajectoryWindowIndex, spatial_window : Rect, t_min : Double, t_max : Double) -> Array[Int]fn TrajectoryWindowIndex::query_window(self : TrajectoryWindowIndex, spatial_window : Rect, t_min : Double, t_max : Double) -> Array[Int]fn TrajectoryWindowIndex::segments_from_points(points : Array[TrajectoryPoint]) -> Array[TrajectorySegment]fn Triangle3D::intersects_segment(self : Triangle3D, x1 : Double, y1 : Double, z1 : Double, x2 : Double, y2 : Double, z2 : Double) -> Boolfn Triangle3D::new(p0_x : Double, p0_y : Double, p0_z : Double, p1_x : Double, p1_y : Double, p1_z : Double, p2_x : Double, p2_y : Double, p2_z : Double) -> Triangle3Dfn Triangle3D::ray_intersection(self : Triangle3D, ox : Double, oy : Double, oz : Double, dx : Double, dy : Double, dz : Double) -> Double?fn matches_de9im_pattern(matrix : String, pattern : String) -> Boolfn simplify_trajectory_2d(points : Array[TrajectoryPoint], epsilon : Double) -> TrajectorySimplificationResultfn simplify_trajectory_spatiotemporal(points : Array[TrajectoryPoint], epsilon : Double) -> TrajectorySimplificationResultfn trajectory_dtw_distance(a : Array[TrajectoryPoint], b : Array[TrajectoryPoint], window? : Int) -> Doublefn trajectory_dtw_normalized(a : Array[TrajectoryPoint], b : Array[TrajectoryPoint], window? : Int) -> DoubleInstall
Download zipSTR-packed 2D, 3D and 4D spatial indexes with geometry and trajectory extensions for MoonBit