Pt2

ostrat.geom.Pt2
See thePt2 companion class
object Pt2

Companion object for Pt2. Contains apply factory and unapply methods. Persist and EqT implicit type classes instances and instances for all the 2D geometric transformation type classes.

Attributes

Companion
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Pt2.type

Members list

Type members

Classlikes

implicit class Pt2Implicit(thisPt: Pt2)

Attributes

Supertypes
class Object
trait Matchable
class Any

Value members

Concrete methods

def apply(x: Double, y: Double): Pt2

apply factory method for Pt2s.

apply factory method for Pt2s.

Attributes

def circlePt(radiansNum: Double): Pt2

Returns point on a circle of radius 1 from the angle in radians. Gives an anti-clockwise effect.

Returns point on a circle of radius 1 from the angle in radians. Gives an anti-clockwise effect.

Attributes

def circlePtClockwise(radiansNum: Double): Pt2

Returns point on a circle of radius 1 from the negative of the angle in radians. Gives a clockwise effect.

Returns point on a circle of radius 1 from the negative of the angle in radians. Gives a clockwise effect.

Attributes

def unapply(orig: Pt2): Option[(Double, Double)]

unapply extractor method for Pt2s.

unapply extractor method for Pt2s.

Attributes

Givens

Givens

given eqTImplicit: EqT[Pt2]

Implicit EqT equality type class instance / evidence for Pt2.

Implicit EqT equality type class instance / evidence for Pt2.

Attributes

implicit Show and Unshow type class instances / evidence for Pt2s.

implicit Show and Unshow type class instances / evidence for Pt2s.

Attributes

Implicit instance evidence for PolygonBase map builder.

Implicit instance evidence for PolygonBase map builder.

Attributes

given polygonPairBuildEv[A2](using ctA: ClassTag[A2]): PolygonGenPairBuilder[A2]

Implicit instance for the PolygonGenPair builder. This has to go in the Pt2 companion object so it can be found by an A => B function where Pt2 is the type B parameter.

Implicit instance for the PolygonGenPair builder. This has to go in the Pt2 companion object so it can be found by an A => B function where Pt2 is the type B parameter.

Attributes

given rotateEv: Rotate[Pt2]
given scaleEv: Scale[Pt2]
given shearEv: Shear[Pt2]
given slateEv: Slate2[Pt2]

Implicits

Implicits

final implicit def Pt2Implicit(thisPt: Pt2): Pt2Implicit
implicit def pairArrBuiderImplicit[B2](implicit ct: ClassTag[B2]): Pt2PairArrMapBuider[B2]