Struct linestring::mint_3d::LineStringSet3 [−][src]
A set of linestrings + an aabb Intended to contain related 3d shapes. E.g. outlines of letters with holes
Fields
set: Vec<LineString3<T>>
aabb: Aabb3<T>
Implementations
impl<T> LineStringSet3<T> where
T: Float + Debug + AbsDiffEq + UlpsEq,
[src]
T: Float + Debug + AbsDiffEq + UlpsEq,
pub fn default() -> Self
[src]
pub fn with_capacity(capacity: usize) -> Self
[src]
pub fn set(&self) -> &Vec<LineString3<T>>
[src]
pub fn is_empty(&self) -> bool
[src]
pub fn push(&mut self, ls: LineString3<T>)
[src]
pub fn get_aabb(&self) -> &Aabb3<T>
[src]
pub fn copy_to_2d(&self, plane: Plane) -> LineStringSet2<T>
[src]
Copy this linestringset3 into a linestringset2, populating the axes defined by ‘plane’ An axis will always try to keep it’s position (e.g. y goes to y if possible). That way the operation is reversible (with regards to axis positions).
pub fn take_from(&mut self, other: &mut Self)
[src]
drains the ‘other’ container of all shapes and put them into ‘self’
Trait Implementations
impl<T: Clone> Clone for LineStringSet3<T> where
T: Float + Debug + AbsDiffEq + UlpsEq,
[src]
T: Float + Debug + AbsDiffEq + UlpsEq,
fn clone(&self) -> LineStringSet3<T>
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<T: Eq> Eq for LineStringSet3<T> where
T: Float + Debug + AbsDiffEq + UlpsEq,
[src]
T: Float + Debug + AbsDiffEq + UlpsEq,
impl<T: Hash> Hash for LineStringSet3<T> where
T: Float + Debug + AbsDiffEq + UlpsEq,
[src]
T: Float + Debug + AbsDiffEq + UlpsEq,
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl<T: PartialEq> PartialEq<LineStringSet3<T>> for LineStringSet3<T> where
T: Float + Debug + AbsDiffEq + UlpsEq,
[src]
T: Float + Debug + AbsDiffEq + UlpsEq,
fn eq(&self, other: &LineStringSet3<T>) -> bool
[src]
fn ne(&self, other: &LineStringSet3<T>) -> bool
[src]
impl<T> StructuralEq for LineStringSet3<T> where
T: Float + Debug + AbsDiffEq + UlpsEq,
[src]
T: Float + Debug + AbsDiffEq + UlpsEq,
impl<T> StructuralPartialEq for LineStringSet3<T> where
T: Float + Debug + AbsDiffEq + UlpsEq,
[src]
T: Float + Debug + AbsDiffEq + UlpsEq,
Auto Trait Implementations
impl<T> RefUnwindSafe for LineStringSet3<T> where
T: RefUnwindSafe,
T: RefUnwindSafe,
impl<T> Send for LineStringSet3<T> where
T: Send,
T: Send,
impl<T> Sync for LineStringSet3<T> where
T: Sync,
T: Sync,
impl<T> Unpin for LineStringSet3<T> where
T: Unpin,
T: Unpin,
impl<T> UnwindSafe for LineStringSet3<T> where
T: UnwindSafe,
T: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
SS: SubsetOf<SP>,
pub fn to_subset(&self) -> Option<SS>
pub fn is_in_subset(&self) -> bool
pub fn to_subset_unchecked(&self) -> SS
pub fn from_subset(element: &SS) -> SP
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,