Prepare for follow-on change

This commit is contained in:
Hanno Braun 2025-04-08 11:33:39 +02:00
parent f65c731e59
commit e643be2974

View File

@ -29,7 +29,7 @@ impl SweptCurve {
pub fn point_from_local(&self, point: impl Into<Point<2>>) -> Point<3> {
let [u, v] = point.into().coords.components;
self.curve.point_from_line_coords([u]) + self.v() * v
self.curve.point_from_line_coords(Point::from([u])) + self.v() * v
}
pub fn project_point(&self, point: impl Into<Point<3>>) -> Point<2> {