Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Stoeoef/spade
/ functions
Functions
805 in github.com/Stoeoef/spade
⨍
Functions
805
◇
Types & classes
106
Method
fmt
(&self, f: &mut core::fmt::Formatter)
src/delaunay_core/handles/handle_impls.rs:16
Method
fmt
(&self, f: &mut core::fmt::Formatter<'_>)
examples/svg_renderer/quicksketch/color.rs:11
Method
fmt
(&self, f: &mut core::fmt::Formatter<'_>)
fuzz/fuzz_targets/fuzz_shared.rs:17
Method
fmt
(&self, f: &mut core::fmt::Formatter<'_>)
fuzz/fuzz_targets/bulk_load_int_fuzz.rs:30
Method
from
(point: Point2<S>)
src/point.rs:93
Method
from
(value: mint::Point2<S>)
src/mint_support.rs:15
Method
from
(color: SketchColor)
examples/svg_renderer/quicksketch/mod.rs:21
Method
from_cdt
( cdt: ConstrainedDelaunayTriangulation<V, DE, UE, F, L>, )
src/delaunay_triangulation.rs:360
Method
from_deg
Create a new angle limit from an angle given in degrees. Note that angles larger than 30 degrees will quickly lead to overrefinement as the algorithm
src/delaunay_core/refinement.rs:62
Method
from_determinant
(s: f64)
src/delaunay_core/line_side_info.rs:21
Method
from_index
Creates a new vertex handle from a `usize`. Ideally, this method should only be used in advanced scenarios as it allows to create invalid vertex hand
src/delaunay_core/handles/handle_defs.rs:57
Method
from_iterator
(iterator: impl IntoIterator<Item = SketchElement>)
examples/svg_renderer/quicksketch/mod.rs:632
Method
from_parts
( dcel: Dcel<Self::Vertex, Self::DirectedEdge, Self::UndirectedEdge, Self::Face>, hint_generat
src/delaunay_triangulation.rs:435
Method
from_parts
( dcel: Dcel<Self::Vertex, Self::DirectedEdge, Self::UndirectedEdge, Self::Face>, hint_generat
src/cdt.rs:233
Method
from_rad
Create a new angle limit from an angle given in radians. Note angles larger than 30 degrees (≈0.52rad = PI / 6) will quickly lead to poor refinement
src/delaunay_core/refinement.rs:72
Method
from_radius_to_shortest_edge_ratio
Creates a new angle limit by specifying the circumradius to shortest edge ratio that must be kept. For each face, this ratio is calculated by dividin
src/delaunay_core/refinement.rs:116
Method
from_rgb
(red: u8, green: u8, blue: u8)
examples/svg_renderer/quicksketch/color.rs:17
Method
from_triangulation
(triangulation: &T, center: Point2<f64>)
src/delaunay_core/bulk_load.rs:813
Function
fuzz_test_bulk_load_cdt
()
src/cdt.rs:2466
Function
fuzz_test_bulk_load_cdt_2
()
src/cdt.rs:2483
Function
fuzz_test_bulk_load_cdt_3
()
src/cdt.rs:2502
Function
fuzz_test_bulk_load_cdt_4
()
src/cdt.rs:2547
Function
fuzz_test_on_grid
()
src/cdt.rs:1716
Function
fuzz_test_on_line
()
src/cdt.rs:1691
Method
get_conflicting_edges_between_points
Returns all constraint edges that would prevent creating a new constraint between two points. # See also See also [Self::get_conflicting_edges_betwe
src/cdt.rs:691
Method
get_conflicting_edges_between_vertices
Returns all constraint edges that would prevent inserting a new constraint connecting two existing vertices. # See also See also [Self::get_conflict
src/cdt.rs:707
Method
get_edge_from_neighbors
( &self, from: FixedVertexHandle, to: FixedVertexHandle, )
src/triangulation.rs:456
Method
get_first_intersection
( delaunay: &'a T, line_from: Point2<V::Scalar>, line_to: Point2<V::Scalar>, )
src/intersection_iterator.rs:216
Method
get_item_bounding_box
(item: &SketchElement)
examples/svg_renderer/quicksketch/convert.rs:291
Method
get_items_bounding_box
( items: I, )
examples/svg_renderer/quicksketch/convert.rs:277
Method
get_start_edges
( t: &'a T, metric: &M, start_point: Point2<<T::Vertex as HasPosition>::Scalar>, )
src/flood_fill_iterator.rs:333
Method
get_style_attribute
(&self)
examples/svg_renderer/quicksketch/mod.rs:51
Function
get_try_cdt_for_duplicate_vertices
()
src/cdt.rs:2026
Method
get_vertex
( &self, handle: FixedVertexHandle, )
src/triangulation.rs:348
Method
get_vertex
(&self, handle: FixedVertexHandle)
src/delaunay_core/dcel.rs:128
Method
handle_legal_edge_split
(&mut self, _: [FixedDirectedEdgeHandle; 2])
src/triangulation.rs:77
Method
hash
(&self, state: &mut HA)
src/delaunay_core/handles/handle_impls.rs:139
Function
hierarchy_hint_generator_removal_test
()
src/delaunay_core/hint_generator.rs:405
Function
hierarchy_hint_generator_test
()
src/delaunay_core/hint_generator.rs:336
Method
hint_generator_mut
(&mut self)
src/delaunay_triangulation.rs:431
Function
infinite_loop_2
()
src/cdt.rs:1979
Function
infinite_loop_bug
()
src/cdt.rs:1919
Method
init
(&mut self, vertices: impl Iterator<Item = [f64; 2]>)
delaunay_compare/src/delaunator_crate.rs:11
Method
init
(&mut self, vertices: impl IntoIterator<Item = [f64; 2]>)
delaunay_compare/src/spade_crate.rs:36
Method
initialize_from_triangulation
(_: &TR)
src/delaunay_core/hint_generator.rs:118
Method
inner_faces
An iterator visiting all inner faces. The iterator type is [FaceHandle<InnerTag, ...>](FaceHandle).
src/triangulation.rs:371
Method
insert
Inserts a new vertex into the triangulation. This operation runs in O(log(n)) on average when using a tree lookup to back up the triangulation, or in
src/triangulation.rs:572
Function
interpolation_benchmark
(c: &mut Criterion)
benches/interpolation_benchmark.rs:7
Method
intersects_constraint
Checks if a line intersects a constraint edge. Returns `true` if the edge from `from` to `to` intersects a constraint edge.
src/cdt.rs:454
Method
is_defined_legal
(&self, _: FixedUndirectedEdgeHandle)
src/triangulation.rs:72
Method
is_fixed_edge
(edge: UndirectedEdgeHandle<V, DE, CdtEdge<UE>, F>)
src/delaunay_core/refinement.rs:757
Method
is_point_inside
(&self, point: Point2<S>)
src/flood_fill_iterator.rs:36
Method
is_uniform_insertion_expensive
()
delaunay_compare/src/spade_crate.rs:19
Method
line
(from: Point, to: Point)
examples/svg_renderer/quicksketch/mod.rs:534
Function
locate_benchmark
(c: &mut Criterion)
benches/locate_benchmark.rs:12
Function
main
Used for rendering SVGs for documentation. These are inlined (via #[doc = include_str!(...)]) into the doc comment of a few items. That makes sure the
examples/svg_renderer/main.rs:14
Function
main
()
examples/interpolation/main.rs:54
Function
main
()
delaunay_compare/examples/real_data_benchmark.rs:7
Method
map_vertices
(self, f: M)
src/delaunay_core/dcel.rs:132
Method
nearest_point
Yields the nearest point on this edge.
src/delaunay_core/handles/handle_impls.rs:561
Method
new
(center: Point2<S>, radius_2: S)
src/flood_fill_iterator.rs:52
Method
new
Creates a new triangulation. A newly created triangulation contains no vertices, no edges and the single outer face. # Example ``` use spade::{Delau
src/triangulation.rs:131
Method
new
(x: S, y: S)
src/point.rs:41
Method
new
Creates a new `LineIntersectionIterator` covering an arbitrary line. See [LineIntersectionIterator] for more information.
src/intersection_iterator.rs:154
Method
new
(triangulation: &'a T)
src/delaunay_core/interpolation.rs:156
Method
new
(normalized: HalfEdgeEntry, not_normalized: HalfEdgeEntry)
src/delaunay_core/dcel.rs:49
Method
new
(from: FloatOrd<f64>, to: FloatOrd<f64>)
src/delaunay_core/bulk_load.rs:750
Method
new
(factor: S, length_2: S)
src/delaunay_core/math.rs:172
Method
new
Creates a new set of `RefinementParameters`. The following values will be used by `new` and `Self::default`: `exclude_outer_faces`: disabled - all fa
src/delaunay_core/refinement.rs:204
Method
new
(index: usize)
src/delaunay_core/handles/handle_defs.rs:65
Method
new
(start_edge: DirectedEdgeHandle<'a, V, DE, UE, F>)
src/delaunay_core/handles/iterators/circular_iterator.rs:23
Method
new
(dcel: &'a Dcel<V, DE, UE, F>)
src/delaunay_core/handles/iterators/hull_iterator.rs:28
Method
new
(to: usize)
src/delaunay_core/handles/iterators/fixed_iterators.rs:15
Method
new
(x: f64, y: f64)
examples/svg_renderer/scenario.rs:20
Method
new
()
examples/svg_renderer/quicksketch/mod.rs:134
Method
new
(unique_prefix: S)
examples/svg_renderer/quicksketch/convert.rs:23
Method
new
(x: f64, y: f64, height: f64)
examples/interpolation/main.rs:17
Method
new_empty
(some_edge: DirectedEdgeHandle<'a, V, DE, UE, F>)
src/delaunay_core/handles/iterators/circular_iterator.rs:32
Method
new_from_handles
Creates a new line iterator covering the line spanned by two existing vertices. Both start and end vertex are part of the iteration result. # Exampl
src/intersection_iterator.rs:196
Method
new_internal
(index: u32)
src/delaunay_core/handles/handle_defs.rs:97
Method
new_normalized
(index: usize)
src/delaunay_core/handles/handle_impls.rs:72
Method
next
Returns the edge that is connected to this edge in counterclockwise order. See also [prev](Self::prev)
src/delaunay_core/handles/public_handles.rs:334
Method
next
(&mut self)
src/delaunay_core/handles/iterators/circular_iterator.rs:45
Method
next
( edge_handle: DirectedEdgeHandle<V, DE, UE, F>, )
src/delaunay_core/handles/iterators/hull_iterator.rs:14
Method
next
(&mut self)
src/delaunay_core/handles/iterators/fixed_iterators.rs:29
Method
next_back
( edge_handle: DirectedEdgeHandle<V, DE, UE, F>, )
src/delaunay_core/handles/handle_impls.rs:728
Method
next_back
(&mut self)
src/delaunay_core/handles/iterators/circular_iterator.rs:61
Method
next_back
( edge_handle: DirectedEdgeHandle<V, DE, UE, F>, )
src/delaunay_core/handles/iterators/hull_iterator.rs:20
Method
next_back
(&mut self)
src/delaunay_core/handles/iterators/fixed_iterators.rs:50
Method
nth_back
(&mut self, n: usize)
src/delaunay_core/handles/iterators/fixed_iterators.rs:54
Method
num_elements
(dcel: &Dcel<V, DE, UE, F>)
src/delaunay_core/handles/handle_defs.rs:181
Method
num_vertices
Returns the number vertices in this triangulation.
src/triangulation.rs:322
Method
out_edge
Returns a voronoi edge going out of this vertex.
src/delaunay_core/handles/public_handles.rs:262
Method
outer_face
Returns a reference handle to the single outer face of this triangulation.
src/triangulation.rs:215
Method
path
()
examples/svg_renderer/quicksketch/mod.rs:549
Method
position
(&self)
src/point.rs:137
Method
position
(&self)
src/mint_support.rs:9
Method
position
(&self)
examples/interpolation/main.rs:28
Method
position
(&self)
fuzz/fuzz_targets/fuzz_shared.rs:11
Method
prev
Returns the edge that is connected to this edge in clockwise order. See also [next](Self::next)
src/delaunay_core/handles/public_handles.rs:341
← previous
next →
501–600 of 805, ranked by callers