Trait fj_kernel::builder::SurfaceBuilder
source · pub trait SurfaceBuilder: Sized {
// Required methods
fn from_axes(u: GlobalPath, v: impl Into<Vector<3>>) -> Self;
fn update_as_plane_from_points(
&mut self,
points: [impl Into<Point<3>>; 3]
) -> ([Point<2>; 3], SurfaceGeometry);
}Expand description
Builder API for PartialSurface
Required Methods§
sourcefn from_axes(u: GlobalPath, v: impl Into<Vector<3>>) -> Self
fn from_axes(u: GlobalPath, v: impl Into<Vector<3>>) -> Self
Build a surface from its two axes
sourcefn update_as_plane_from_points(
&mut self,
points: [impl Into<Point<3>>; 3]
) -> ([Point<2>; 3], SurfaceGeometry)
fn update_as_plane_from_points(
&mut self,
points: [impl Into<Point<3>>; 3]
) -> ([Point<2>; 3], SurfaceGeometry)
Construct a plane from 3 points