Struct rgeometry::data::HalfLineSoS
source · [−]pub struct HalfLineSoS<'a, T, const N: usize> { /* private fields */ }
Implementations
sourceimpl<'a, T, const N: usize> HalfLineSoS<'a, T, N>
impl<'a, T, const N: usize> HalfLineSoS<'a, T, N>
pub fn new(
origin: &'a Point<T, N>,
direction: Direction<'a, T, N>
) -> HalfLineSoS<'a, T, N>
pub fn new_directed(
origin: &'a Point<T, N>,
vector: &'a Vector<T, N>
) -> HalfLineSoS<'a, T, N>
pub fn new_through(
origin: &'a Point<T, N>,
through: &'a Point<T, N>
) -> HalfLineSoS<'a, T, N>
Trait Implementations
sourceimpl<'a, T, const N: usize> Clone for HalfLineSoS<'a, T, N>
impl<'a, T, const N: usize> Clone for HalfLineSoS<'a, T, N>
sourceimpl<'a, T, const N: usize> From<HalfLineSoS<'a, T, N>> for LineSoS<'a, T, N>
impl<'a, T, const N: usize> From<HalfLineSoS<'a, T, N>> for LineSoS<'a, T, N>
sourcefn from(ray: HalfLineSoS<'a, T, N>) -> LineSoS<'a, T, N>
fn from(ray: HalfLineSoS<'a, T, N>) -> LineSoS<'a, T, N>
Converts to this type from the input type.
sourceimpl<'a, T, const N: usize> From<HalfLineSoS<'a, T, N>> for Line<'a, T, N>
impl<'a, T, const N: usize> From<HalfLineSoS<'a, T, N>> for Line<'a, T, N>
sourcefn from(ray: HalfLineSoS<'a, T, N>) -> Line<'a, T, N>
fn from(ray: HalfLineSoS<'a, T, N>) -> Line<'a, T, N>
Converts to this type from the input type.
sourceimpl<'a, T, const N: usize> From<Line<'a, T, N>> for HalfLineSoS<'a, T, N>
impl<'a, T, const N: usize> From<Line<'a, T, N>> for HalfLineSoS<'a, T, N>
sourcefn from(line: Line<'a, T, N>) -> HalfLineSoS<'a, T, N>
fn from(line: Line<'a, T, N>) -> HalfLineSoS<'a, T, N>
Converts to this type from the input type.
sourceimpl<'a, T, const N: usize> From<LineSoS<'a, T, N>> for HalfLineSoS<'a, T, N>
impl<'a, T, const N: usize> From<LineSoS<'a, T, N>> for HalfLineSoS<'a, T, N>
sourcefn from(sos: LineSoS<'a, T, N>) -> HalfLineSoS<'a, T, N>
fn from(sos: LineSoS<'a, T, N>) -> HalfLineSoS<'a, T, N>
Converts to this type from the input type.
sourceimpl<T> Intersects<DirectedEdge<'_, T, 2_usize>> for &HalfLineSoS<'_, T, 2> where
T: PolygonScalar,
impl<T> Intersects<DirectedEdge<'_, T, 2_usize>> for &HalfLineSoS<'_, T, 2> where
T: PolygonScalar,
type Result = IHalfLineLineSegmentSoS
fn intersect(self, other: DirectedEdge<'_, T, 2>) -> Option<Self::Result>
sourceimpl<T> Intersects<LineSegmentView<'_, T, 2_usize>> for &HalfLineSoS<'_, T, 2> where
T: PolygonScalar,
impl<T> Intersects<LineSegmentView<'_, T, 2_usize>> for &HalfLineSoS<'_, T, 2> where
T: PolygonScalar,
type Result = IHalfLineLineSegmentSoS
fn intersect(self, other: LineSegmentView<'_, T, 2>) -> Option<Self::Result>
impl<'a, T, const N: usize> Copy for HalfLineSoS<'a, T, N>
Auto Trait Implementations
impl<'a, T, const N: usize> RefUnwindSafe for HalfLineSoS<'a, T, N> where
T: RefUnwindSafe,
impl<'a, T, const N: usize> Send for HalfLineSoS<'a, T, N> where
T: Sync,
impl<'a, T, const N: usize> Sync for HalfLineSoS<'a, T, N> where
T: Sync,
impl<'a, T, const N: usize> Unpin for HalfLineSoS<'a, T, N>
impl<'a, T, const N: usize> UnwindSafe for HalfLineSoS<'a, T, N> where
T: RefUnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more