pub fn point2(&self, axis: Coord, cross_axis: Coord) -> Point {
        match self {
            Self::Horizontal => point2(axis, cross_axis),
            Self::Vertical => point2(cross_axis, axis),
        }
    }
/// Create a point based on this direction.
Create a point based on this direction.
Create a point based on this direction .
pub fn point2(&self, axis: Coord, cross_axis: Coord) -> Point {
        match self {
            Self::Horizontal => point2(axis, cross_axis),
            Self::Vertical => point2(cross_axis, axis),
        }
    }
pub fn point2 ( & self , axis : Coord , cross_axis : Coord ) -> Point { match self { Self :: Horizontal => point2 ( axis , cross_axis ) , Self :: Vertical => point2 ( cross_axis , axis ) , } }
Create a point based on this direction.
Create a point based on this direction .
&self
axis
Coord
cross_axis
Coord
&self
axis
Coord
cross_axis
Coord