pub struct ProjectPointsToPlaneBuilder<S: State = Empty> { /* private fields */ }Expand description
Use builder syntax to set the inputs and finish with build().
Implementations§
Source§impl<S: State> ProjectPointsToPlaneBuilder<S>
impl<S: State> ProjectPointsToPlaneBuilder<S>
Sourcepub fn build(self) -> ProjectPointsToPlanewhere
S: IsComplete,
pub fn build(self) -> ProjectPointsToPlanewhere
S: IsComplete,
Finish building and return the requested object
Sourcepub fn plane_id(self, value: Uuid) -> ProjectPointsToPlaneBuilder<SetPlaneId<S>>where
S::PlaneId: IsUnset,
pub fn plane_id(self, value: Uuid) -> ProjectPointsToPlaneBuilder<SetPlaneId<S>>where
S::PlaneId: IsUnset,
Required.
The id of the plane used for the projection.
Sourcepub fn points(
self,
value: Vec<Point3d<f64>>,
) -> ProjectPointsToPlaneBuilder<SetPoints<S>>where
S::Points: IsUnset,
pub fn points(
self,
value: Vec<Point3d<f64>>,
) -> ProjectPointsToPlaneBuilder<SetPoints<S>>where
S::Points: IsUnset,
Required.
The list of points that will be projected.
Sourcepub fn use_plane_coords(
self,
value: bool,
) -> ProjectPointsToPlaneBuilder<SetUsePlaneCoords<S>>where
S::UsePlaneCoords: IsUnset,
pub fn use_plane_coords(
self,
value: bool,
) -> ProjectPointsToPlaneBuilder<SetUsePlaneCoords<S>>where
S::UsePlaneCoords: IsUnset,
Required.
If true: the projected points are returned in the plane_id’s coordinate sysetm. else: the projected points are returned in the world coordinate system.
Auto Trait Implementations§
impl<S> Freeze for ProjectPointsToPlaneBuilder<S>
impl<S> RefUnwindSafe for ProjectPointsToPlaneBuilder<S>
impl<S> Send for ProjectPointsToPlaneBuilder<S>
impl<S> Sync for ProjectPointsToPlaneBuilder<S>
impl<S> Unpin for ProjectPointsToPlaneBuilder<S>
impl<S> UnsafeUnpin for ProjectPointsToPlaneBuilder<S>
impl<S> UnwindSafe for ProjectPointsToPlaneBuilder<S>
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more