pub struct Silhouette {
pub face: FaceId,
pub curve: NurbCurve3D,
/* private fields */
}Expand description
A piece of a face’s silhouette.
Fields§
§face: FaceId§curve: NurbCurve3DImplementations§
Source§impl Silhouette
impl Silhouette
Sourcepub fn exact_point(
&self,
model: &Model,
d: &Vector3,
near: &Vector3,
) -> GeopResult<Vector3>
pub fn exact_point( &self, model: &Model, d: &Vector3, near: &Vector3, ) -> GeopResult<Vector3>
The point of this silhouette near near, exactly on it: near
projected onto the surface from the nearest exact sample, then moved
onto the silhouette.
Trait Implementations§
Source§impl Clone for Silhouette
impl Clone for Silhouette
Source§fn clone(&self) -> Silhouette
fn clone(&self) -> Silhouette
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for Silhouette
impl RefUnwindSafe for Silhouette
impl Send for Silhouette
impl Sync for Silhouette
impl Unpin for Silhouette
impl UnsafeUnpin for Silhouette
impl UnwindSafe for Silhouette
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more