[][src]Struct pbrt::accelerators::kdtreeaccel::KdAccelNode

pub struct KdAccelNode {
    pub pub_union: PublicUnion,
    // some fields omitted
}

Fields

pub_union: PublicUnion

Implementations

impl KdAccelNode[src]

pub fn init_leaf(
    &mut self,
    prim_nums: &[usize],
    np: usize,
    primitive_indices: &mut Vec<i32>
)
[src]

pub fn init_interior(&mut self, axis: i32, ac: i32, s: Float)[src]

pub fn split_pos(&self) -> Float[src]

pub fn n_primitives(&self) -> i32[src]

pub fn split_axis(&self) -> i32[src]

pub fn is_leaf(&self) -> bool[src]

pub fn above_child(&self) -> i32[src]

Auto Trait Implementations

impl RefUnwindSafe for KdAccelNode

impl Send for KdAccelNode

impl Sync for KdAccelNode

impl Unpin for KdAccelNode

impl UnwindSafe for KdAccelNode

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.