Type Definition building_blocks_core::point::Point2 [−][src]
pub type Point2<T> = PointN<[T; 2]>;
Expand description
A 2-dimensional point with scalar type T
.
Implementations
Trait Implementations
The L1 distance between points.
The square of the L2 (Euclidean) distance between points.
type Scalar = T
Returns the point after applying f
component-wise.
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more