mirror of
https://github.com/hannobraun/Fornjot
synced 2025-03-10 07:02:36 +00:00
Improve documentation of Polyline
This commit is contained in:
parent
10db20edcf
commit
5170ff47cb
@ -8,10 +8,10 @@ use crate::geometry::{traits::GenPolyline, CurveBoundary, Tolerance};
|
|||||||
///
|
///
|
||||||
/// Can be 2- or 3-dimensional, as specified by the `D` type parameter.
|
/// Can be 2- or 3-dimensional, as specified by the `D` type parameter.
|
||||||
pub struct Polyline<const D: usize> {
|
pub struct Polyline<const D: usize> {
|
||||||
/// # The points that make up the vertices between the line segments
|
/// # The connecting points between line segments
|
||||||
pub points: Vec<Point<D>>,
|
pub points: Vec<Point<D>>,
|
||||||
|
|
||||||
/// # The same points as the ones in the `points` field, but in curve coords
|
/// # The connecting points between line segments, in curve coordinates
|
||||||
pub points_curve: Vec<Point<1>>,
|
pub points_curve: Vec<Point<1>>,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user