Octant
object Octant
Methods for computing and working with octants of the Cartesian plane Octants are numbered as follows:
<pre> \2|1/ 3 \|/ 0 ---+-- 4 /|\ 7 /5|6\ </pre>
If line segments lie along a coordinate axis, the octant is the lower of the two possible values.
- Version
1.7
class Object
trait Matchable
class Any
Value members
Concrete methods
Returns the octant of a directed line segment (specified as x and y displacements, which cannot both be 0).
Returns the octant of a directed line segment (specified as x and y displacements, which cannot both be 0).