Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/dorianprill/stroke
/ functions
Functions
296 in github.com/dorianprill/stroke
⨍
Functions
296
◇
Types & classes
17
↓ 1 callers
Method
knot_domain_unclamped
Returns the knot domain for an unclamped B-Spline where the first and last knot has multiplicity 1 fn knot_domain_unclamped(&self) -> (P::Scalar, P::S
src/bspline.rs:483
↓ 1 callers
Method
knot_span_start_for_t_clamped
Return the index of the start of the knot span for given `t` for a clamped B-Spline. This is the index of the first element that satisfies: knots[i] <
src/bspline.rs:816
↓ 1 callers
Method
knot_span_start_for_t_clamped_end
(&self, t: P::Scalar)
src/bspline.rs:871
↓ 1 callers
Method
knot_span_start_for_t_clamped_start
(&self, t: P::Scalar)
src/bspline.rs:837
↓ 1 callers
Method
knot_span_start_for_t_unclamped
Return the index of the start of the knot span for given `t` for an unclamped B-Spline. This is the index of the first element that satisfies: knots[i
src/bspline.rs:787
↓ 1 callers
Method
normal
Return the principal normal direction at `t`. Returns `None` if the velocity is zero or curvature is undefined.
src/quadratic_bezier.rs:158
↓ 1 callers
Method
normal
Return the principal normal direction at `t`. Lines have zero curvature, so this always returns `None`.
src/line.rs:133
↓ 1 callers
Method
normal
Return the principal normal direction at `t`. Returns `None` if the path is empty or curvature is undefined.
src/bspline_path.rs:168
↓ 1 callers
Method
normal
Return the principal normal direction at `t`. Requires `D >= 2` so that the second derivative exists. Returns `None` if the velocity is zero or curva
src/bspline.rs:1145
↓ 1 callers
Function
open_uniform_knots
Open uniform (clamped) knot vector for a cubic spline with uniform spacing.
examples/bspline_signal_1d.rs:87
↓ 1 callers
Method
parameter_domain
(&self)
src/bezier.rs:580
↓ 1 callers
Method
point_at_length
Evaluate the point at arc length `s` using a default resolution.
src/bezier.rs:208
↓ 1 callers
Method
point_at_length
Evaluate the point at arc length `s` using a default resolution.
src/quadratic_bezier.rs:395
↓ 1 callers
Method
point_at_length
Evaluate the point at arc length `s` using a default resolution.
src/cubic_bezier.rs:387
↓ 1 callers
Method
point_at_length
Evaluate the point at arc length `s` using a default resolution.
src/line.rs:172
↓ 1 callers
Method
point_at_length
Evaluate the point at arc length `s` using a default resolution.
src/bspline_path.rs:232
↓ 1 callers
Method
point_at_length
Evaluate the point at arc length `s` using a default resolution.
src/bspline.rs:1023
↓ 1 callers
Method
point_at_length
Evaluate the point at arc length `s` using a default resolution.
src/bezier_segment.rs:191
↓ 1 callers
Method
point_at_length
Evaluate the point at arc length `s` using a default resolution.
src/path.rs:204
↓ 1 callers
Method
point_at_length_approx
Evaluate the point at arc length `s`.
src/bezier.rs:200
↓ 1 callers
Method
point_at_length_approx
Evaluate the point at arc length `s`.
src/quadratic_bezier.rs:387
↓ 1 callers
Method
point_at_length_approx
Evaluate the point at arc length `s`.
src/cubic_bezier.rs:379
↓ 1 callers
Method
point_at_length_approx
Evaluate the point at arc length `s`.
src/bspline_path.rs:222
↓ 1 callers
Method
point_at_length_approx
Evaluate the point at arc length `s`.
src/bspline.rs:1013
↓ 1 callers
Method
point_at_length_approx
Evaluate the point at arc length `s`.
src/bezier_segment.rs:183
↓ 1 callers
Method
point_at_length_approx
Evaluate the point at arc length `s`.
src/path.rs:195
↓ 1 callers
Method
push_cubic
Push a cubic segment, returning false if the path is at capacity.
src/path.rs:95
↓ 1 callers
Method
push_quadratic
Push a quadratic segment, returning false if the path is at capacity.
src/path.rs:90
↓ 1 callers
Method
real_roots
Solve for the roots of the polynomial at^2 + bt + c Returns an ArrayVec of roots in the order needs to be called for x and y components separately
src/quadratic_bezier.rs:255
↓ 1 callers
Method
reverse
Return a curve with reversed direction.
src/bezier.rs:84
↓ 1 callers
Method
reverse
Return a curve with reversed direction.
src/quadratic_bezier.rs:71
↓ 1 callers
Method
reverse
Return a curve with reversed direction.
src/cubic_bezier.rs:93
↓ 1 callers
Method
reverse
Return a segment with reversed direction.
src/line.rs:43
↓ 1 callers
Method
reverse
Return a path with reversed direction.
src/bspline_path.rs:125
↓ 1 callers
Method
reverse
Return a curve with reversed direction.
src/bspline.rs:181
↓ 1 callers
Method
reverse
Return a segment with reversed direction.
src/bezier_segment.rs:52
↓ 1 callers
Method
reverse
Return a path with reversed direction.
src/path.rs:119
↓ 1 callers
Method
root
(&self, a: P::Scalar, b: P::Scalar)
src/line.rs:179
↓ 1 callers
Method
split
Split the curve at `t` into two sub-curves.
src/bezier.rs:216
↓ 1 callers
Method
split
Split the curve at `t` into two sub-curves.
src/quadratic_bezier.rs:80
↓ 1 callers
Method
split
Split the curve at `t` into two sub-curves.
src/cubic_bezier.rs:154
↓ 1 callers
Method
split
Split the segment at `t` into two sub-segments.
src/line.rs:56
↓ 1 callers
Method
t_at_length
Approximate parameter `t` at arc length `s` using a default resolution.
src/bezier.rs:192
↓ 1 callers
Method
t_at_length
Approximate parameter `t` at arc length `s` using a default resolution.
src/quadratic_bezier.rs:379
↓ 1 callers
Method
t_at_length
Approximate parameter `t` at arc length `s` using a default resolution.
src/cubic_bezier.rs:371
↓ 1 callers
Method
t_at_length
Approximate parameter `t` at arc length `s` using a default resolution.
src/line.rs:156
↓ 1 callers
Method
t_at_length
Approximate parameter `t` at arc length `s` using a default resolution.
src/bspline_path.rs:213
↓ 1 callers
Method
t_at_length
Approximate parameter `t` at arc length `s` using a default resolution.
src/bspline.rs:1004
↓ 1 callers
Method
t_at_length
Approximate parameter `t` at arc length `s` using a default resolution.
src/bezier_segment.rs:175
↓ 1 callers
Method
t_at_length
Approximate parameter `t` at arc length `s` using a default resolution.
src/path.rs:187
↓ 1 callers
Method
tangent
Return the unit tangent direction at `t`.
src/bezier.rs:260
↓ 1 callers
Method
tangent
Return the unit tangent direction at `t`.
src/quadratic_bezier.rs:115
↓ 1 callers
Method
tangent
Return the unit tangent direction at `t`.
src/cubic_bezier.rs:195
↓ 1 callers
Method
tangent
Return the unit tangent direction at `t`.
src/bspline_path.rs:134
↓ 1 callers
Method
tangent
Return the unit tangent direction at `t`.
src/bspline.rs:1082
↓ 1 callers
Method
tangent
Return the unit tangent direction at `t`.
src/bezier_segment.rs:125
↓ 1 callers
Method
tangent
Return the unit tangent direction at `t`.
src/path.rs:128
Method
add
(self, other: PointN<T, N>)
src/point_generic.rs:53
Function
arclen_line_approx
()
src/bezier.rs:645
Function
arclen_line_approx
()
src/quadratic_bezier.rs:548
Function
arclen_line_approx
()
src/bspline.rs:1360
Method
axis_derivative
(&self, t: P::Scalar, axis: usize)
src/bspline.rs:1230
Method
baseline
Return the baseline line segment between start and end.
src/bezier_segment.rs:77
Function
basis_functions_linear
()
src/bspline.rs:1683
Method
basis_functions_with_derivatives
Evaluate the basis functions and their derivatives up to order `R`. Returns a `(R + 1) x (D + 1)` table `ders[k][j]` where `k` is the derivative orde
src/bspline.rs:351
Function
bezier_api_parity
()
src/bezier.rs:860
Function
bezier_path_api_parity
()
src/path.rs:384
Function
bezier_path_bounds_union
()
src/path.rs:331
Function
bezier_path_capacity
()
src/path.rs:367
Function
bezier_path_clamps_out_of_range
()
src/path.rs:348
Function
bezier_path_eval_segments
()
src/path.rs:309
Function
bezier_segment_api_parity
()
src/bezier_segment.rs:241
Method
bounding_box
Return the bounding box across all axes.
src/bezier_segment.rs:87
Function
bounding_box_contains
()
src/quadratic_bezier.rs:604
Function
bounding_box_contains
()
src/cubic_bezier.rs:814
Function
bounding_box_cubic_1d_extrema
()
src/bezier.rs:788
Function
bounding_box_matches_cubic_specialization
()
src/bezier.rs:834
Function
bspline_api_parity
()
src/bspline.rs:1655
Function
bspline_bounding_box_contains_samples
()
src/bspline.rs:1754
Function
bspline_curvature_nonzero
()
src/bspline.rs:1704
Function
bspline_path_api_parity
()
src/bspline_path.rs:426
Function
bspline_path_bounds_control_points
()
src/bspline_path.rs:409
Function
bspline_path_clamps_out_of_range
()
src/bspline_path.rs:390
Function
bspline_path_curvature_nonzero
()
src/bspline_path.rs:457
Function
bspline_path_eval_segments
()
src/bspline_path.rs:371
Function
circle_approximation_error
()
src/cubic_bezier.rs:628
Function
circle_circumference_approximation
()
src/cubic_bezier.rs:688
Method
control_points
Return the control points array.
src/quadratic_bezier.rs:54
Method
control_points
Return the control points array.
src/cubic_bezier.rs:76
Method
control_points
Returns an iterator over the control points.
src/bspline.rs:200
Function
cubic_api_parity
()
src/cubic_bezier.rs:782
Method
dd
Direct Derivative - Sample the axis coordinate at 'axis' of the curve's derivative at t without creating a new curve. This is a convenience function f
src/quadratic_bezier.rs:187
Method
dd
Direct Derivative - Sample the axis coordinate at 'axis' of the curve's derivative at t without creating a new curve. This is a convenience function f
src/cubic_bezier.rs:267
Method
default
()
src/point_generic.rs:28
Method
default
()
src/bspline_path.rs:326
Method
default
()
src/bspline.rs:85
Method
default
()
src/bezier_segment.rs:230
Method
default
()
src/path.rs:298
Function
degree_1_clamped_construct_and_eval_endpoints
()
src/bspline.rs:1286
Function
degree_1_unclamped_construct_and_eval
()
src/bspline.rs:1326
← previous
next →
101–200 of 296, ranked by callers