Polygon

ostrat.geom.Polygon
See thePolygon companion trait

Companion object for the Polygon trait, contains factory apply methods and implicit instances for all 2D affine geometric transformations.

Attributes

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

Members list

Value members

Concrete methods

override def fromArray(array: Array[Double]): Polygon

Method to create the final object from the backing Array[Double]. End users should rarely have to use this method.

Method to create the final object from the backing Array[Double]. End users should rarely have to use this method.

Attributes

Definition Classes

Inherited methods

def apply(elems: Pt2*): Polygon

Apply factory method for creating Arrs of Dbl2Elems.

Apply factory method for creating Arrs of Dbl2Elems.

Attributes

Inherited from:
CompanionSeqLikeDbl2
def empty: Polygon

Attributes

Inherited from:
CompanionSeqLikeDblN
def fromDbls(inp: Double*): Polygon

Factory method for creating the sequence defined object from raw double values. This will throw if the number of parameter Doubles is incorrect.

Factory method for creating the sequence defined object from raw double values. This will throw if the number of parameter Doubles is incorrect.

Attributes

Inherited from:
CompanionSeqLikeDblN
final def numElemDbls: Int

The number of Double values that are needed to construct an element of the defining-sequence.

The number of Double values that are needed to construct an element of the defining-sequence.

Attributes

Inherited from:
CompanionSeqLikeDbl2
def uninitialised(length: Int): Polygon

returns a collection class of type ArrA, whose backing Array is uninitialised.

returns a collection class of type ArrA, whose backing Array is uninitialised.

Attributes

Inherited from:
CompanionSeqLikeDblN

Implicits

Implicits

implicit val eqTEv: EqT[Polygon]

Implicit EqT type class instance / evidence for polygon.

Implicit EqT type class instance / evidence for polygon.

Attributes

implicit val rotateImplicit: Rotate[Polygon]
implicit val scaleImplicit: Scale[Polygon]
implicit val shearImplicit: Shear[Polygon]
implicit val slateImplicit: Slate[Polygon]