pub trait CurveBuilder {
    fn update_as_u_axis(&mut self) -> SurfacePath;
    fn update_as_v_axis(&mut self) -> SurfacePath;
    fn update_as_circle_from_radius(
        &mut self,
        radius: impl Into<Scalar>
    ) -> SurfacePath; fn update_as_circle_from_center_and_radius(
        &mut self,
        center: impl Into<Point<2>>,
        radius: impl Into<Scalar>
    ) -> SurfacePath; fn update_as_line_from_points(
        &mut self,
        points: [impl Into<Point<2>>; 2]
    ) -> SurfacePath; }
Expand description

Builder API for PartialCurve

Required Methods§

Update partial curve to represent the u-axis of the surface it is on

Returns the updated path.

Update partial curve to represent the v-axis of the surface it is on

Returns the updated path.

Update partial curve to be a circle, from the provided radius

Returns the updated path.

Update partial curve to be a circle, from the provided radius

Returns the updated path.

Update partial curve to be a line, from the provided points

Returns the updated path.

Implementors§