pub struct Neighbour<'a> { /* private fields */ }Expand description
A face a patch is made tangent to along one of its sides (see
NurbSurface3D::tangent_to, NurbSurface3D::fill): the surface the
side lies on, and which side of it the face is on.
Implementations§
Source§impl<'a> Neighbour<'a>
impl<'a> Neighbour<'a>
Sourcepub fn new(surface: &'a NurbSurface3D, along: bool) -> GeopResult<Self>
pub fn new(surface: &'a NurbSurface3D, along: bool) -> GeopResult<Self>
The face on surface along a side of a patch, the side lying on the
surface: running the side the way the patch runs round it (along)
— the face then lies to the right of the side, seen from its normal
— or the other way.
Sourcepub fn joined(surface: &'a NurbSurface3D, along: bool) -> GeopResult<Self>
pub fn joined(surface: &'a NurbSurface3D, along: bool) -> GeopResult<Self>
The face on surface along a side of a patch as Neighbour::new
says, joined to the patch along that side in one body that the
kernel builds: both are its own, and no boolean ever has to tell
which side of the face the patch leaves it on. So the patch is made
tangent to it untilted, at its abscissae along the side, and that is
not proven between them: no TILT is needed where no approximate
tangency can dip through anything.