DoubleImplicitGeom

class DoubleImplicitGeom(thisDouble: Double)

Extension methods class for Double, for the geom package.

class Object
trait Matchable
class Any

Value members

Concrete methods

def *(operand: Pt2): Pt2
def *(operand: Vec2): Vec2

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

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

Converts this Double into an AngleVec an angle of rotation from - infinity to + infinity.

Converts this Double into an AngleVec an angle of rotation from - infinity to + infinity.

def ll(longDegs: Double): LatLong

Creates a LatLong, a position of Latitude and Longitude from 2 numbers.

Creates a LatLong, a position of Latitude and Longitude from 2 numbers.

@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 pp 4 pp -7.25

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