IntGeomImplicit

class IntGeomImplicit(thisInt: Int)

Extension methods class for Int, for the geom package.

class Object
trait Matchable
class Any

Value members

Concrete methods

Converts this Int into an absolute angle of the given degrees from 0 until 360 degrees.

Converts this Int into an absolute angle of the given degrees from 0 until 360 degrees.

Converts this Int into an AngleVec an angle of rotation for any positive or negative value of Int.

Converts this Int into an AngleVec an angle of rotation for any positive or negative value of Int.

def ll(longDegs: Double): LatLong
@inline
def pp(y: Double): Pt2

Succinct syntax for creating 2 dimensional points Pt2s, from 2 numbers. Note the low precedence of this method relative to most numerical operators. A third number as example

Succinct syntax for creating 2 dimensional points Pt2s, from 2 numbers. Note the low precedence of this method relative to most numerical operators. A third number as example

3.1 pp 4 pp -7.25

can be used to create a Pt3. 3.1 pp 4 pp -7.25 }}}

@inline
def vv(y: Double): Vec2

Succinct syntax for creating 2 dimensional vectors, Vec2s from 2 numbers. Note the low precedence of this method relative to most numerical operators. A third number as example

Succinct syntax for creating 2 dimensional vectors, Vec2s from 2 numbers. Note the low precedence of this method relative to most numerical operators. A third number as example

3.1 vv 4 vv -7.25

can be used to create a Vec3. 3.1 vv 4 vv -7.25 }}}

def °: Angle