# compute_segment

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-livecharts/kernel/line_spline_math/function-compute_segment/

**function** · [`ferroui-livecharts`](/docs/0.5.0/api/ferroui-livecharts/) · v0.5.0

```rust
fn compute_segment(previous: super::Coordinate, pys: f64, current: super::Coordinate, cys: f64, next: super::Coordinate, nys: f64, after_next: super::Coordinate, nnys: f64, smoothness: f64) -> BezierData
```



[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.LiveCharts/kernel/line_spline_math.rs#L41)

## Availability

Extracted for `aarch64-apple-darwin`. Cargo features are listed in the [crate index](/docs/0.5.0/api/).
