Locate

Trait Locate 

Source
pub trait Locate<T>
where T: ?Sized,
{ // Required method fn locate(&self, target: &T) -> DVec3; }
Expand description

Locate a point.

Required Methods§

Source

fn locate(&self, target: &T) -> DVec3

Locate self on the target

Implementations on Foreign Types§

Source§

impl Locate<Arc> for Focus

Source§

fn locate(&self, target: &Arc) -> DVec3

Source§

impl Locate<Arc> for Origin

Source§

fn locate(&self, target: &Arc) -> DVec3

Source§

impl Locate<ArcBetweenPoints> for Focus

Source§

fn locate(&self, target: &ArcBetweenPoints) -> DVec3

Source§

impl Locate<ArcBetweenPoints> for Origin

Source§

fn locate(&self, target: &ArcBetweenPoints) -> DVec3

Source§

impl Locate<Circle> for Focus

Source§

fn locate(&self, target: &Circle) -> DVec3

Source§

impl Locate<Circle> for Origin

Source§

fn locate(&self, target: &Circle) -> DVec3

Source§

impl Locate<Ellipse> for Focus

Source§

fn locate(&self, target: &Ellipse) -> DVec3

Source§

impl Locate<Ellipse> for Origin

Source§

fn locate(&self, target: &Ellipse) -> DVec3

Source§

impl Locate<EllipticArc> for Focus

Source§

fn locate(&self, target: &EllipticArc) -> DVec3

Source§

impl Locate<EllipticArc> for Origin

Source§

fn locate(&self, target: &EllipticArc) -> DVec3

Source§

impl Locate<Line> for f64

Source§

fn locate(&self, target: &Line) -> DVec3

Source§

impl Locate<TextItem> for Origin

Source§

fn locate(&self, target: &TextItem) -> DVec3

Source§

impl<T> Locate<T> for DVec3
where T: ?Sized,

Source§

fn locate(&self, _target: &T) -> DVec3

Implementors§

Source§

impl Locate<DVec3> for Centroid

Source§

impl<T> Locate<[T]> for Centroid
where Centroid: Locate<T>,

Source§

impl<T> Locate<T> for AabbPoint
where T: Aabb + ?Sized,