MCPcopy Index your code

hub / github.com/dorianprill/stroke / functions

Functions296 in github.com/dorianprill/stroke

↓ 1 callersMethodknot_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 callersMethodknot_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 callersMethodknot_span_start_for_t_clamped_end
(&self, t: P::Scalar)
src/bspline.rs:871
↓ 1 callersMethodknot_span_start_for_t_clamped_start
(&self, t: P::Scalar)
src/bspline.rs:837
↓ 1 callersMethodknot_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 callersMethodnormal
Return the principal normal direction at `t`. Returns `None` if the velocity is zero or curvature is undefined.
src/quadratic_bezier.rs:158
↓ 1 callersMethodnormal
Return the principal normal direction at `t`. Lines have zero curvature, so this always returns `None`.
src/line.rs:133
↓ 1 callersMethodnormal
Return the principal normal direction at `t`. Returns `None` if the path is empty or curvature is undefined.
src/bspline_path.rs:168
↓ 1 callersMethodnormal
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 callersFunctionopen_uniform_knots
Open uniform (clamped) knot vector for a cubic spline with uniform spacing.
examples/bspline_signal_1d.rs:87
↓ 1 callersMethodparameter_domain
(&self)
src/bezier.rs:580
↓ 1 callersMethodpoint_at_length
Evaluate the point at arc length `s` using a default resolution.
src/bezier.rs:208
↓ 1 callersMethodpoint_at_length
Evaluate the point at arc length `s` using a default resolution.
src/quadratic_bezier.rs:395
↓ 1 callersMethodpoint_at_length
Evaluate the point at arc length `s` using a default resolution.
src/cubic_bezier.rs:387
↓ 1 callersMethodpoint_at_length
Evaluate the point at arc length `s` using a default resolution.
src/line.rs:172
↓ 1 callersMethodpoint_at_length
Evaluate the point at arc length `s` using a default resolution.
src/bspline_path.rs:232
↓ 1 callersMethodpoint_at_length
Evaluate the point at arc length `s` using a default resolution.
src/bspline.rs:1023
↓ 1 callersMethodpoint_at_length
Evaluate the point at arc length `s` using a default resolution.
src/bezier_segment.rs:191
↓ 1 callersMethodpoint_at_length
Evaluate the point at arc length `s` using a default resolution.
src/path.rs:204
↓ 1 callersMethodpoint_at_length_approx
Evaluate the point at arc length `s`.
src/bezier.rs:200
↓ 1 callersMethodpoint_at_length_approx
Evaluate the point at arc length `s`.
src/quadratic_bezier.rs:387
↓ 1 callersMethodpoint_at_length_approx
Evaluate the point at arc length `s`.
src/cubic_bezier.rs:379
↓ 1 callersMethodpoint_at_length_approx
Evaluate the point at arc length `s`.
src/bspline_path.rs:222
↓ 1 callersMethodpoint_at_length_approx
Evaluate the point at arc length `s`.
src/bspline.rs:1013
↓ 1 callersMethodpoint_at_length_approx
Evaluate the point at arc length `s`.
src/bezier_segment.rs:183
↓ 1 callersMethodpoint_at_length_approx
Evaluate the point at arc length `s`.
src/path.rs:195
↓ 1 callersMethodpush_cubic
Push a cubic segment, returning false if the path is at capacity.
src/path.rs:95
↓ 1 callersMethodpush_quadratic
Push a quadratic segment, returning false if the path is at capacity.
src/path.rs:90
↓ 1 callersMethodreal_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 callersMethodreverse
Return a curve with reversed direction.
src/bezier.rs:84
↓ 1 callersMethodreverse
Return a curve with reversed direction.
src/quadratic_bezier.rs:71
↓ 1 callersMethodreverse
Return a curve with reversed direction.
src/cubic_bezier.rs:93
↓ 1 callersMethodreverse
Return a segment with reversed direction.
src/line.rs:43
↓ 1 callersMethodreverse
Return a path with reversed direction.
src/bspline_path.rs:125
↓ 1 callersMethodreverse
Return a curve with reversed direction.
src/bspline.rs:181
↓ 1 callersMethodreverse
Return a segment with reversed direction.
src/bezier_segment.rs:52
↓ 1 callersMethodreverse
Return a path with reversed direction.
src/path.rs:119
↓ 1 callersMethodroot
(&self, a: P::Scalar, b: P::Scalar)
src/line.rs:179
↓ 1 callersMethodsplit
Split the curve at `t` into two sub-curves.
src/bezier.rs:216
↓ 1 callersMethodsplit
Split the curve at `t` into two sub-curves.
src/quadratic_bezier.rs:80
↓ 1 callersMethodsplit
Split the curve at `t` into two sub-curves.
src/cubic_bezier.rs:154
↓ 1 callersMethodsplit
Split the segment at `t` into two sub-segments.
src/line.rs:56
↓ 1 callersMethodt_at_length
Approximate parameter `t` at arc length `s` using a default resolution.
src/bezier.rs:192
↓ 1 callersMethodt_at_length
Approximate parameter `t` at arc length `s` using a default resolution.
src/quadratic_bezier.rs:379
↓ 1 callersMethodt_at_length
Approximate parameter `t` at arc length `s` using a default resolution.
src/cubic_bezier.rs:371
↓ 1 callersMethodt_at_length
Approximate parameter `t` at arc length `s` using a default resolution.
src/line.rs:156
↓ 1 callersMethodt_at_length
Approximate parameter `t` at arc length `s` using a default resolution.
src/bspline_path.rs:213
↓ 1 callersMethodt_at_length
Approximate parameter `t` at arc length `s` using a default resolution.
src/bspline.rs:1004
↓ 1 callersMethodt_at_length
Approximate parameter `t` at arc length `s` using a default resolution.
src/bezier_segment.rs:175
↓ 1 callersMethodt_at_length
Approximate parameter `t` at arc length `s` using a default resolution.
src/path.rs:187
↓ 1 callersMethodtangent
Return the unit tangent direction at `t`.
src/bezier.rs:260
↓ 1 callersMethodtangent
Return the unit tangent direction at `t`.
src/quadratic_bezier.rs:115
↓ 1 callersMethodtangent
Return the unit tangent direction at `t`.
src/cubic_bezier.rs:195
↓ 1 callersMethodtangent
Return the unit tangent direction at `t`.
src/bspline_path.rs:134
↓ 1 callersMethodtangent
Return the unit tangent direction at `t`.
src/bspline.rs:1082
↓ 1 callersMethodtangent
Return the unit tangent direction at `t`.
src/bezier_segment.rs:125
↓ 1 callersMethodtangent
Return the unit tangent direction at `t`.
src/path.rs:128
Methodadd
(self, other: PointN<T, N>)
src/point_generic.rs:53
Functionarclen_line_approx
()
src/bezier.rs:645
Functionarclen_line_approx
()
src/quadratic_bezier.rs:548
Functionarclen_line_approx
()
src/bspline.rs:1360
Methodaxis_derivative
(&self, t: P::Scalar, axis: usize)
src/bspline.rs:1230
Methodbaseline
Return the baseline line segment between start and end.
src/bezier_segment.rs:77
Functionbasis_functions_linear
()
src/bspline.rs:1683
Methodbasis_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
Functionbezier_api_parity
()
src/bezier.rs:860
Functionbezier_path_api_parity
()
src/path.rs:384
Functionbezier_path_bounds_union
()
src/path.rs:331
Functionbezier_path_capacity
()
src/path.rs:367
Functionbezier_path_clamps_out_of_range
()
src/path.rs:348
Functionbezier_path_eval_segments
()
src/path.rs:309
Functionbezier_segment_api_parity
()
src/bezier_segment.rs:241
Methodbounding_box
Return the bounding box across all axes.
src/bezier_segment.rs:87
Functionbounding_box_contains
()
src/quadratic_bezier.rs:604
Functionbounding_box_contains
()
src/cubic_bezier.rs:814
Functionbounding_box_cubic_1d_extrema
()
src/bezier.rs:788
Functionbounding_box_matches_cubic_specialization
()
src/bezier.rs:834
Functionbspline_api_parity
()
src/bspline.rs:1655
Functionbspline_bounding_box_contains_samples
()
src/bspline.rs:1754
Functionbspline_curvature_nonzero
()
src/bspline.rs:1704
Functionbspline_path_api_parity
()
src/bspline_path.rs:426
Functionbspline_path_bounds_control_points
()
src/bspline_path.rs:409
Functionbspline_path_clamps_out_of_range
()
src/bspline_path.rs:390
Functionbspline_path_curvature_nonzero
()
src/bspline_path.rs:457
Functionbspline_path_eval_segments
()
src/bspline_path.rs:371
Functioncircle_approximation_error
()
src/cubic_bezier.rs:628
Functioncircle_circumference_approximation
()
src/cubic_bezier.rs:688
Methodcontrol_points
Return the control points array.
src/quadratic_bezier.rs:54
Methodcontrol_points
Return the control points array.
src/cubic_bezier.rs:76
Methodcontrol_points
Returns an iterator over the control points.
src/bspline.rs:200
Functioncubic_api_parity
()
src/cubic_bezier.rs:782
Methoddd
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
Methoddd
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
Methoddefault
()
src/point_generic.rs:28
Methoddefault
()
src/bspline_path.rs:326
Methoddefault
()
src/bspline.rs:85
Methoddefault
()
src/bezier_segment.rs:230
Methoddefault
()
src/path.rs:298
Functiondegree_1_clamped_construct_and_eval_endpoints
()
src/bspline.rs:1286
Functiondegree_1_unclamped_construct_and_eval
()
src/bspline.rs:1326
← previousnext →101–200 of 296, ranked by callers