[−][src]Trait rust_3d::IsBuildableND
IsBuildableND is a trait used for types which are positioned in n-dimensional space and can be constructed
Required methods
fn new_nd(coords: &[f64]) -> Result<Self>
Should build an object from the correct number of coordinates
fn from_nd<P>(&mut self, other: P) -> Result<()> where
P: IsBuildableND,
P: IsBuildableND,
Should use the coordinates of another as its own
Provided methods
fn zero_nd() -> Result<Self>
Returns a new object with 0 for all coordinates
fn center_nd<P>(&self, other: &P, buffer: &mut Vec<f64>) -> Result<Self> where
P: IsND,
P: IsND,
Returns the center between this and other
Implementors
impl IsBuildableND for Box2D
[src]
fn new_nd(coords: &[f64]) -> Result<Self>
[src]
fn from_nd<P>(&mut self, other: P) -> Result<()> where
P: IsBuildableND,
[src]
P: IsBuildableND,
impl IsBuildableND for Box3D
[src]
fn new_nd(coords: &[f64]) -> Result<Self>
[src]
fn from_nd<P>(&mut self, other: P) -> Result<()> where
P: IsBuildableND,
[src]
P: IsBuildableND,
impl IsBuildableND for Circle
[src]
fn new_nd(coords: &[f64]) -> Result<Self>
[src]
fn from_nd<P>(&mut self, other: P) -> Result<()> where
P: IsBuildableND,
[src]
P: IsBuildableND,
impl IsBuildableND for FilterBox2D
[src]
fn new_nd(coords: &[f64]) -> Result<Self>
[src]
fn from_nd<P>(&mut self, other: P) -> Result<()> where
P: IsBuildableND,
[src]
P: IsBuildableND,
impl IsBuildableND for FilterBox3D
[src]
fn new_nd(coords: &[f64]) -> Result<Self>
[src]
fn from_nd<P>(&mut self, other: P) -> Result<()> where
P: IsBuildableND,
[src]
P: IsBuildableND,
impl IsBuildableND for FilterCircle
[src]
fn new_nd(coords: &[f64]) -> Result<Self>
[src]
fn from_nd<P>(&mut self, other: P) -> Result<()> where
P: IsBuildableND,
[src]
P: IsBuildableND,
impl IsBuildableND for FilterSphere
[src]
fn new_nd(coords: &[f64]) -> Result<Self>
[src]
fn from_nd<P>(&mut self, other: P) -> Result<()> where
P: IsBuildableND,
[src]
P: IsBuildableND,
impl IsBuildableND for Point2D
[src]
fn new_nd(coords: &[f64]) -> Result<Self>
[src]
fn from_nd<P>(&mut self, other: P) -> Result<()> where
P: IsBuildableND,
[src]
P: IsBuildableND,
impl IsBuildableND for Point3D
[src]
fn new_nd(coords: &[f64]) -> Result<Self>
[src]
fn from_nd<P>(&mut self, other: P) -> Result<()> where
P: IsBuildableND,
[src]
P: IsBuildableND,