SqlignM2

ostrat.geom.SqlignM2
See theSqlignM2 companion object
class SqlignM2(val v0xMNum: Double, val v0yMNum: Double, val v1xMNum: Double, val v1yMNum: Double, val v2xMNum: Double, val v2yMNum: Double) extends SqlignLen2[PtM2], RectM2

Square specified in metres aligned to the X and Y axes.

Attributes

Companion
object
Graph
Supertypes
trait RectM2
trait RectangleM2
trait QuadM2
trait PolygonM2P4
trait PolygonM2P3
trait PolygonM2
trait SqlignLen2[PtM2]
trait RectLen2[PtM2]
trait SquareLen2[PtM2]
trait QuadLen2[PtM2]
trait PolygonLen2[PtM2]
trait ShapeLen2
trait FillableLen2
trait DrawableLen2
trait PolygonDbl2[PtM2]
trait SeqSpecDbl2[PtM2]
trait SeqLikeDbl2[PtM2]
trait PolygonDblN[PtM2]
trait SeqSpecDblN[PtM2]
trait SpecialT
trait PolygonBase[PtM2]
trait VertSeqSpec[PtM2]
trait SeqSpec[PtM2]
trait SeqLike[PtM2]
trait GeomLen2Elem
class Object
trait Matchable
class Any
Show all

Members list

Type members

Types

type ThisT = SqlignM2

Gives the final type of this class.

Gives the final type of this class.

Attributes

Inherited types

override type SideT = LSegM2

Attributes

Inherited from:
RectM2

Value members

Concrete methods

override def arrayUnsafe: Array[Double]

Attributes

Definition Classes
override def diags: LineSegM2Arr

Attributes

Definition Classes
override def elemFromDbls(d1: Double, d2: Double): PtM2

Constructs a Dbl2Elem from 2 Doubles.

Constructs a Dbl2Elem from 2 Doubles.

Attributes

Definition Classes
override def elemsStr: String

The element String allows the composition of toString for the whole collection. The syntax of the output will be reworked.

The element String allows the composition of toString for the whole collection. The syntax of the output will be reworked.

Attributes

Definition Classes
override def fElemStr: PtM2 => String

String for element, can be overridden.

String for element, can be overridden.

Attributes

Definition Classes
override def fromArray(array: Array[Double]): SqlignM2

Attributes

Definition Classes
inline def heightMNum: Double
override def mapGeom2(operand: Length): Sqlign

Divides by a Length to produce an equivalent Aff2Elem without Length units.

Divides by a Length to produce an equivalent Aff2Elem without Length units.

Attributes

Definition Classes
def revY: SqlignM2
def revYIf(cond: Boolean): SqlignM2
override def scale(operand: Double): SqlignM2

Uniform 2 Length dimension geometric scaling transformation. The scale name was chosen for this operation as it is normally the desired operation and preserves Circles and Squares. The Return type will be narrowed in sub traits / classes.

Uniform 2 Length dimension geometric scaling transformation. The scale name was chosen for this operation as it is normally the desired operation and preserves Circles and Squares. The Return type will be narrowed in sub traits / classes.

Attributes

Definition Classes
override def side(index: Int): LSegM2

Returns a side of the appropriate type for the PolygonBase from the given index. The index cycles.

Returns a side of the appropriate type for the PolygonBase from the given index. The index cycles.

Attributes

Definition Classes
override def sidesForeach[U](f: LSegM2 => U): Unit

Attributes

Definition Classes
override def slate(operand: VecPtLen2): SqlignM2

Translate 2 Length dimension geometric transformation GeomLen2Elem. The Return type will be narrowed in sub traits. There is a name overload taking the X and Y Deltas as separate parameters, slateX and slateY methods are also available.

Translate 2 Length dimension geometric transformation GeomLen2Elem. The Return type will be narrowed in sub traits. There is a name overload taking the X and Y Deltas as separate parameters, slateX and slateY methods are also available.

Attributes

Definition Classes
override def slate(xOperand: Length, yOperand: Length): SqlignM2

Translate 2 Length dimension geometric transformation, taking the xDelta and yDelta as parameters on this GeomLen2Elem returning a GeomLen2Elem. The Return type will be narrowed in sub traits. There is a name overload method taking a Pt2 or Vec2 as a parameter, slateX and slateY methods are also available.

Translate 2 Length dimension geometric transformation, taking the xDelta and yDelta as parameters on this GeomLen2Elem returning a GeomLen2Elem. The Return type will be narrowed in sub traits. There is a name overload method taking a Pt2 or Vec2 as a parameter, slateX and slateY methods are also available.

Attributes

Definition Classes
override def slateX(xOperand: Length): SqlignM2

Translate 2 Length dimension geometric transformation in the X dimension returning a GeomLen2Elem. The Return type will be narrowed in sub traits.

Translate 2 Length dimension geometric transformation in the X dimension returning a GeomLen2Elem. The Return type will be narrowed in sub traits.

Attributes

Definition Classes
override def slateY(yOperand: Length): SqlignM2

Translate 2 Length dimension geometric transformation in the Y dimension returning a GeomLen2Elem. The Return type will be narrowed in sub traits.

Translate 2 Length dimension geometric transformation in the Y dimension returning a GeomLen2Elem. The Return type will be narrowed in sub traits.

Attributes

Definition Classes
override def typeStr: String

String specifying the type of this object.

String specifying the type of this object.

Attributes

Definition Classes
override def v3xMNum: Double

Attributes

Definition Classes
override def v3yMNum: Double

Attributes

Definition Classes
override def verts: Arr[PtM2]

Attributes

Definition Classes

Inherited methods

def appendArray(appendProductsLength: Int): Array[Double]

Builder helper method that provides a longer array, with the underlying array copied into the new extended Array.

Builder helper method that provides a longer array, with the underlying array copied into the new extended Array.

Attributes

Inherited from:
SeqSpecDblN

Maps the 1st Doubles of each element to a double with one functions and then the second Doubles with a second Double.

Maps the 1st Doubles of each element to a double with one functions and then the second Doubles with a second Double.

Attributes

Inherited from:
SeqLikeImutDbl2

Maps the 1st Double of each element to a new Array[Double], copies the 2nd elements.

Maps the 1st Double of each element to a new Array[Double], copies the 2nd elements.

Attributes

Inherited from:
SeqLikeImutDbl2

Maps the 2nd Double of each element with the parameter function to a new Array[Double], copies the 1st Double of each element.

Maps the 2nd Double of each element with the parameter function to a new Array[Double], copies the 1st Double of each element.

Attributes

Inherited from:
SeqLikeImutDbl2

Maps the 2 Doubles of each element to a new Array[Double].

Maps the 2 Doubles of each element to a new Array[Double].

Attributes

Inherited from:
SeqLikeImutDbl2
override protected def arrayForSides: Array[Double]

Creates the Array[Double] need to implement the sides method.

Creates the Array[Double] need to implement the sides method.

Attributes

Definition Classes
Inherited from:
PolygonDbl2
final def arrayLen: Int

The length of the backing Array Double.

The length of the backing Array Double.

Attributes

Inherited from:
ArrayDblBacked

Maps the Tuple2[Double, Double]s to Tuple2[Double, Double}.

Maps the Tuple2[Double, Double]s to Tuple2[Double, Double}.

Attributes

Inherited from:
SeqLikeImutDbl2

Produces a new Array[Double] of the same size, with the functions acting on the first and second Double of each element.

Produces a new Array[Double] of the same size, with the functions acting on the first and second Double of each element.

Attributes

Inherited from:
SeqLikeImutDbl2

The number of metres in the bottom Y coordinate.

The number of metres in the bottom Y coordinate.

Attributes

Inherited from:
RectM2
override def cenX: Metres

The X component of the centre of the quadrilateral, defined as where the diagonals cross.

The X component of the centre of the quadrilateral, defined as where the diagonals cross.

Attributes

Definition Classes
Inherited from:
RectM2

Attributes

Inherited from:
QuadM2
override def cenY: Metres

The Y component of the centre of the quadrilateral, defined as where the diagonals cross.

The Y component of the centre of the quadrilateral, defined as where the diagonals cross.

Attributes

Definition Classes
Inherited from:
RectM2

Attributes

Inherited from:
QuadM2
def dblsMap(f1: Double => Double, f2: Double => Double): ThisT

This maps from the final type to the final type by just using functions on the underlying Doubles.

This maps from the final type to the final type by just using functions on the underlying Doubles.

Attributes

Inherited from:
SeqLikeImutDbl2
override def diag0: LSegM2

The diagonal from vertex 2 to vertex 0.

The diagonal from vertex 2 to vertex 0.

Attributes

Definition Classes
Inherited from:
QuadM2
override def diag1: LSegM2

The diagonal from vertex 3 to vertex 1.

The diagonal from vertex 3 to vertex 1.

Attributes

Definition Classes
Inherited from:
QuadM2
override def diagTriangle0: TriangleM2

The triangle defined vertex 0, the centre and vertex 3.

The triangle defined vertex 0, the centre and vertex 3.

Attributes

Definition Classes
Inherited from:
QuadM2
override def diagTriangle1: TriangleM2

The triangle defined vertex 1, the centre and vertex 0.

The triangle defined vertex 1, the centre and vertex 0.

Attributes

Definition Classes
Inherited from:
QuadM2
override def diagTriangle2: TriangleM2

The triangle defined vertex 2, the centre and vertex 2.

The triangle defined vertex 2, the centre and vertex 2.

Attributes

Definition Classes
Inherited from:
QuadM2
override def diagTriangle3: TriangleM2

The triangle defined vertex 3, the centre and vertex 2.

The triangle defined vertex 3, the centre and vertex 2.

Attributes

Definition Classes
Inherited from:
QuadM2
override def draw(lineWidth: Double, lineColour: Colour): GraphicLen2Elem

Draws the object. The line width is defined in pixels.

Draws the object. The line width is defined in pixels.

Attributes

Definition Classes
Inherited from:
PolygonLen2
final override def elem(index: Int): PtM2

Accesses the specifying sequence element by a 0 based index. For Sequs this will an alternative name for apply.

Accesses the specifying sequence element by a 0 based index. For Sequs this will an alternative name for apply.

Attributes

Definition Classes
Inherited from:
SeqLikeImutDbl2

Attributes

Inherited from:
SeqLikeImutDbl2

Attributes

Inherited from:
SeqLikeImutDbl2
final override def elemEq(a1: PtM2, a2: PtM2): Boolean

Checks if 2 values of the specifying sequence are equal.

Checks if 2 values of the specifying sequence are equal.

Attributes

Definition Classes
Inherited from:
SeqLikeDbl2
final override def elemProdSize: Int

The number of atomic values, Ints, Doubles, Longs etc that specify / construct an element of this immutable flat Array based collection class.

The number of atomic values, Ints, Doubles, Longs etc that specify / construct an element of this immutable flat Array based collection class.

Attributes

Definition Classes
Inherited from:
SeqLikeDbl2

Attributes

Inherited from:
SeqSpecValueN
override def fill(fillFacet: FillFacet): SqlignLen2Fill

Graphically fills this object.

Graphically fills this object.

Attributes

Definition Classes
Inherited from:
SqlignLen2
override def fillDraw(fillFacet: FillFacet, lineColour: Colour, lineWidth: Double): GraphicLen2Elem

Graphically fills and draws this object.

Graphically fills and draws this object.

Attributes

Definition Classes
Inherited from:
PolygonLen2
def flatMap[B <: ValueNElem, BB <: PolygonBase[B]](f: PtM2 => SeqLike[B])(implicit build: PolygonLikeFlatBuilder[B, BB]): BB

FlatMaps the vertices of this PolygonBase to a new to PolygonLike class of type BB.

FlatMaps the vertices of this PolygonBase to a new to PolygonLike class of type BB.

Attributes

Inherited from:
PolygonBase
def foldLeft[B](initVal: B)(f: (B, PtM2) => B): B

foldLeft over the specifying sequence.

foldLeft over the specifying sequence.

Attributes

Inherited from:
SeqSpec
override def foreach[U](f: PtM2 => U): Unit

Performs a side effecting function on each element of the specifying sequence in order.

Performs a side effecting function on each element of the specifying sequence in order.

Attributes

Definition Classes
Inherited from:
SeqSpec
override def height: Metres

The height of this rectangle in Length units.

The height of this rectangle in Length units.

Attributes

Definition Classes
Inherited from:
RectM2
def iForeach[U](initIndex: Int)(f: (Int, PtM2) => U): Unit

Index with foreach on the data elements. Performs a side effecting function on the index and each element of the data sequence. It takes a function as a parameter. The function may return Unit. If it does return a non-Unit value it is discarded. The [U] type parameter is there just to avoid warnings about discarded values and can be ignored by method users. The method has 2 versions / name overloads. The default start for the index is 0 if just the function parameter is passed. The second version name overload takes an Int for the first parameter list, to set the start value of the index. Note the function signature follows the foreach based convention of putting the collection element 2nd or last as seen for example in fold methods' (accumulator, element) => B signature.

Index with foreach on the data elements. Performs a side effecting function on the index and each element of the data sequence. It takes a function as a parameter. The function may return Unit. If it does return a non-Unit value it is discarded. The [U] type parameter is there just to avoid warnings about discarded values and can be ignored by method users. The method has 2 versions / name overloads. The default start for the index is 0 if just the function parameter is passed. The second version name overload takes an Int for the first parameter list, to set the start value of the index. Note the function signature follows the foreach based convention of putting the collection element 2nd or last as seen for example in fold methods' (accumulator, element) => B signature.

Attributes

Inherited from:
SeqSpec
def iForeach[U](f: (Int, PtM2) => Any): Unit

Index with foreach on the specifying sequence elements. Performs a side effecting function on the index and each element of the specifying sequence. It takes a function as a parameter. The function may return Unit. If it does return a non-Unit value it is discarded. The [U] type parameter is there just to avoid warnings about discarded values and can be ignored by method users. The method has 2 versions / name overloads. The default start for the index is 0 if just the function parameter is passed. The second version name overload takes an Int for the first parameter list, to set the start value of the index. Note the function signature follows the foreach based convention of putting the collection element 2nd or last as seen for example in fold methods' (accumulator, element) => B signature.

Index with foreach on the specifying sequence elements. Performs a side effecting function on the index and each element of the specifying sequence. It takes a function as a parameter. The function may return Unit. If it does return a non-Unit value it is discarded. The [U] type parameter is there just to avoid warnings about discarded values and can be ignored by method users. The method has 2 versions / name overloads. The default start for the index is 0 if just the function parameter is passed. The second version name overload takes an Int for the first parameter list, to set the start value of the index. Note the function signature follows the foreach based convention of putting the collection element 2nd or last as seen for example in fold methods' (accumulator, element) => B signature.

Attributes

Inherited from:
SeqSpec
def innerForeach[U](f: PtM2 => U): Unit

Foreachs over the inner of the specifying sequence, excludes the first and last element. Performs a side effecting function on each element of the tail of the specifying sequence in order.

Foreachs over the inner of the specifying sequence, excludes the first and last element. Performs a side effecting function on each element of the tail of the specifying sequence in order.

Attributes

Inherited from:
SeqSpec
def last: PtM2

Last element of the specifying sequence.

Last element of the specifying sequence.

Attributes

Inherited from:
SeqSpec
override def lb: PtM2

left bottom point.

left bottom point.

Attributes

Definition Classes
Inherited from:
RectM2
override def lbrtDiag: LSegM2

leftBottom => topRight diagonal

leftBottom => topRight diagonal

Attributes

Definition Classes
Inherited from:
RectM2

The number of metres in the left X coordinate.

The number of metres in the left X coordinate.

Attributes

Inherited from:
RectM2
override def lt: PtM2

Left top point.

Left top point.

Attributes

Definition Classes
Inherited from:
RectM2
override def ltrbDiag: LSegM2

leftTop => bottomRight diagonal

leftTop => bottomRight diagonal

Attributes

Definition Classes
Inherited from:
RectM2
def map[B <: ValueNElem, BB <: PolygonBase[B]](f: PtM2 => B)(implicit build: PolygonLikeBuilderMap[B, BB]): BB

Maps the vertices of this PolygonBase to a new to PolygonLike class of type BB.

Maps the vertices of this PolygonBase to a new to PolygonLike class of type BB.

Attributes

Inherited from:
PolygonBase
def mapArr[B, ArrB <: Arr[B]](f: PtM2 => B)(implicit ev: BuilderArrMap[B, ArrB]): ArrB

Specialised map to an immutable Arr of B. For Sequ dataMap is the same as map, but for other structures it will be different, for example a PolygonLike will map to another PolygonLike.

Specialised map to an immutable Arr of B. For Sequ dataMap is the same as map, but for other structures it will be different, for example a PolygonLike will map to another PolygonLike.

Attributes

Inherited from:
SeqSpec
def mutateElemUnsafe(index: Int, f: PtM2 => PtM2): Unit

Mutates an element in the Arr at the given index. This method should rarely be needed by end users, but is used by the initialisation and factory methods.

Mutates an element in the Arr at the given index. This method should rarely be needed by end users, but is used by the initialisation and factory methods.

Attributes

Inherited from:
SeqLikeBacked
final override def numElems: Int

The number of data elements in the defining sequence. These collections use underlying mutable Arrays and ArrayBuffers. The length of the underlying Array will be a multiple of this number. For Sequs this will be an alternative name for length.

The number of data elements in the defining sequence. These collections use underlying mutable Arrays and ArrayBuffers. The length of the underlying Array will be a multiple of this number. For Sequs this will be an alternative name for length.

Attributes

Definition Classes
Inherited from:
SeqLikeImutDbl2
override def numVerts: Int

The number of vertices.

The number of vertices.

Attributes

Definition Classes
Inherited from:
PolygonValueN
def optMap[B <: ValueNElem, BB <: PolygonBase[B]](f: PtM2 => Option[B])(implicit build: PolygonLikeBuilderMap[B, BB]): Option[BB]

Optionally maps the vertices of this PolygonBase to vertices of a new to PolygonLike class of type BB. If the new PolygonBase has at least 3 vertices returns Some else returns None.

Optionally maps the vertices of this PolygonBase to vertices of a new to PolygonLike class of type BB. If the new PolygonBase has at least 3 vertices returns Some else returns None.

Attributes

Inherited from:
PolygonBase
override def rb: PtM2

Right bottom point.

Right bottom point.

Attributes

Definition Classes
Inherited from:
RectM2
override def reverse: ThisT

Reverses the order of the elements of the specifying sequence.

Reverses the order of the elements of the specifying sequence.

Attributes

Definition Classes
Inherited from:
SeqSpecDblN
def reverseForeach[U](f: PtM2 => U): Unit

Performs a side effecting function on each element of the specifying-sequence in reverse order. The function may return Unit. If it does return a non-Unit value it is discarded. The [U] type parameter is there just to avoid warnings about discarded values and can be ignored by method users.

Performs a side effecting function on each element of the specifying-sequence in reverse order. The function may return Unit. If it does return a non-Unit value it is discarded. The [U] type parameter is there just to avoid warnings about discarded values and can be ignored by method users.

Attributes

Inherited from:
SeqSpec

The number of metres in the right X coordinate.

The number of metres in the right X coordinate.

Attributes

Inherited from:
RectM2
override def rt: PtM2

Right top point.

Right top point.

Attributes

Definition Classes
Inherited from:
RectM2
override def setElemUnsafe(index: Int, newElem: PtM2): Unit

Sets / mutates an element in the Arr at the given index. This method should rarely be needed by end users, but is used by the initialisation and factory methods.

Sets / mutates an element in the Arr at the given index. This method should rarely be needed by end users, but is used by the initialisation and factory methods.

Attributes

Definition Classes
Inherited from:
SeqLikeImutDbl2
def setElemsUnsafe(index: Int, elems: PtM2*): Unit

Sets / mutates elements in the Arr. This method should rarely be needed by end users, but is used by the initialisation and factory methods.

Sets / mutates elements in the Arr. This method should rarely be needed by end users, but is used by the initialisation and factory methods.

Attributes

Inherited from:
SeqLikeBacked
override def sides: LineSegM2Arr

Attributes

Definition Classes
Inherited from:
RectM2
def tailFold[B](initial: B)(f: (B, PtM2) => B): B

FoldLeft over the tail of the specifying sequence.

FoldLeft over the tail of the specifying sequence.

Attributes

Inherited from:
SeqSpec
def tailForeach[U](f: PtM2 => U): Unit

Foreachs over the tail of the specifying sequence. Performs a side effecting function on each element of the tail of the specifying sequence in order.

Foreachs over the tail of the specifying sequence. Performs a side effecting function on each element of the tail of the specifying sequence in order.

Attributes

Inherited from:
SeqSpec
def tailForeachPair[U](f: (Double, Double) => U): Unit

Attributes

Inherited from:
SeqSpecDbl2
override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
SeqLike -> Any
Inherited from:
SeqLike

The number of metres in the top Y coordinate.

The number of metres in the top Y coordinate.

Attributes

Inherited from:
RectM2

Reverses the order of the elements in a new Array[Double] which is returned.

Reverses the order of the elements in a new Array[Double] which is returned.

Attributes

Inherited from:
SeqSpecDblN
def unsafeSameSize(length: Int): ThisT

Attributes

Inherited from:
SeqLikeImutDblN
final override def v0: PtM2

Vertex v0, will throw on a 0 vertices polygon. By convention the default position for this vertex is at the top or 12 o'clock position of the polygon or the vertex immediately anti-clockwise if there is no vertex in this position.

Vertex v0, will throw on a 0 vertices polygon. By convention the default position for this vertex is at the top or 12 o'clock position of the polygon or the vertex immediately anti-clockwise if there is no vertex in this position.

Attributes

Definition Classes
Inherited from:
PolygonM2
final override def v0x: Metres

The X component of vertex v0, will throw on a 0 vertices polygon.

The X component of vertex v0, will throw on a 0 vertices polygon.

Attributes

Definition Classes
Inherited from:
PolygonM2
final override def v0y: Metres

The Y component of vertex v1, will throw on a 0 vertices polygon.

The Y component of vertex v1, will throw on a 0 vertices polygon.

Attributes

Definition Classes
Inherited from:
PolygonM2
final override def v1: PtM2

Attributes

Definition Classes
Inherited from:
PolygonM2P3
final override def v1x: Metres

Attributes

Definition Classes
Inherited from:
PolygonM2P3
final override def v1y: Metres

Attributes

Definition Classes
Inherited from:
PolygonM2P3
final override def v2: PtM2

Attributes

Definition Classes
Inherited from:
PolygonM2P3
final override def v2x: Metres

Attributes

Definition Classes
Inherited from:
PolygonM2P3
final override def v2y: Metres

Attributes

Definition Classes
Inherited from:
PolygonM2P3
final override def v3: PtM2

Attributes

Definition Classes
Inherited from:
PolygonM2P4
final override def v3x: Metres

Attributes

Definition Classes
Inherited from:
PolygonM2P4
final override def v3y: Metres

Attributes

Definition Classes
Inherited from:
PolygonM2P4
def vert(vertNum: Int): PtM2

Returns the vertex of the given index. Cycles around if the index is out of range, vert 3 returns vert 0 on a triangle.

Returns the vertex of the given index. Cycles around if the index is out of range, vert 3 returns vert 0 on a triangle.

Attributes

Inherited from:
PolygonBase

This method should be overridden in final classes.

This method should be overridden in final classes.

Attributes

Inherited from:
PolygonBase
override def vertsForeach[U](f: PtM2 => U): Unit

Performs the side effecting function on the value of each vertex.

Performs the side effecting function on the value of each vertex.

Attributes

Definition Classes
Inherited from:
PolygonValueN
def vertsMap[B, ArrB <: Arr[B]](f: PtM2 => B)(implicit builder: BuilderArrMap[B, ArrB]): ArrB

Maps the vertices of this polygon to an immutable Array like sequence of type B.

Maps the vertices of this polygon to an immutable Array like sequence of type B.

Type parameters

ArrB

The type of the immutable Array like sequence of B.

B

The element type of the returned sequence.

Attributes

Returns

the immutable sequence collection by applying the supplied function to each vertex.

Inherited from:
PolygonBase

Checks this polygon has at least 3 vertices.

Checks this polygon has at least 3 vertices.

Attributes

Inherited from:
PolygonBase
def vertsPrevForEach[U](f: (PtM2, PtM2) => U): Unit

This method does nothing if the vertNum < 2. Foreach vertex applies the side effecting function to the previous vertex with each vertex. The previous vertex to the first vertex is the last vertex of the PolygonBase. Note the function signature (previous, vertex) => U follows the foreach based convention of putting the collection element 2nd or last as seen for example in fold methods'(accumulator, element) => B signature.

This method does nothing if the vertNum < 2. Foreach vertex applies the side effecting function to the previous vertex with each vertex. The previous vertex to the first vertex is the last vertex of the PolygonBase. Note the function signature (previous, vertex) => U follows the foreach based convention of putting the collection element 2nd or last as seen for example in fold methods'(accumulator, element) => B signature.

Attributes

Inherited from:
PolygonBase
override def width: Metres

The width of this rectangle in Length units.

The width of this rectangle in Length units.

Attributes

Definition Classes
Inherited from:
RectM2

Concrete fields