Sqlign

ostrat.geom.Sqlign
See theSqlign companion class
object Sqlign

Companion object for Sqlign class, a square aligned to the X and Y axes. Contains factory apply methods.

Attributes

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

Members list

Value members

Concrete methods

def apply(width: Double, cen: Pt2, vertOrder: Int): Sqlign

Factory apply method to construct a square aligned to the Xand Y axes, from its width and centre point. There are apply name overloads to specify the centre position by its X and Y components.

Factory apply method to construct a square aligned to the Xand Y axes, from its width and centre point. There are apply name overloads to specify the centre position by its X and Y components.

Attributes

def apply(width: Double, cenX: Double, cenY: Double): Sqlign

Factory apply method to construct a square aligned to the Xand Y axes, from its width and centre point. There is an apply name overloads to specify the centre position by a single Pt2 parameter and a name pverload for the rare occasions when you need to change the vertex order from the default..

Factory apply method to construct a square aligned to the Xand Y axes, from its width and centre point. There is an apply name overloads to specify the centre position by a single Pt2 parameter and a name pverload for the rare occasions when you need to change the vertex order from the default..

Attributes

def apply(width: Double, cenX: Double, cenY: Double, vertOrder: Int): Sqlign

Factory apply method to construct a square aligned to the Xand Y axes, from its width and centre point. There are apply name overloads to specify the centre position by a single Pt2 parameter and a name overload with the default vertex order.

Factory apply method to construct a square aligned to the Xand Y axes, from its width and centre point. There are apply name overloads to specify the centre position by a single Pt2 parameter and a name overload with the default vertex order.

Attributes

def from3(v0: Pt2, v1: Pt2, v2: Pt2): Sqlign

Factory method for constructing Sqlign from the first three vertices.

Factory method for constructing Sqlign from the first three vertices.

Attributes

def from3(v0x: Double, v0y: Double, v1x: Double, v1y: Double, v2x: Double, v2y: Double): Sqlign

Factory method for constructing Sqlign from the first three vertices, given as X and Y parameters.

Factory method for constructing Sqlign from the first three vertices, given as X and Y parameters.

Attributes

Implicits

Implicits

implicit val showEv: Show[Sqlign]