Triangle

ostrat.geom.Triangle
See theTriangle companion trait
object Triangle

Companion object for Triangle trait. Contains apply factory methods and TriangleGen implementation for non-specialised triangles.

Attributes

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

Members list

Type members

Classlikes

final class TriangleGen(val v0x: Double, val v0y: Double, val v1x: Double, val v1y: Double, val v2x: Double, val v2y: Double) extends Triangle, AffinePreserve

Implementation for the general case of triangle

Implementation for the general case of triangle

Attributes

Companion
object
Supertypes
trait Triangle
trait Polygon3Plus
trait Polygon
trait PolygonBase[Pt2]
trait VertSeqSpec[Pt2]
trait SeqSpec[Pt2]
trait SeqLike[Pt2]
trait Approx[Double]
trait Equals
trait Shape
trait BoundedElem
trait Fillable
trait Drawable
trait Aff2Elem
trait Simil2Elem
trait Axlign2Elem
class Object
trait Matchable
class Any
Show all
object TriangleGen

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type

Value members

Concrete methods

def apply(x1: Double, y1: Double, x2: Double, y2: Double, x3: Double, y3: Double): Triangle

Factory apply method for Trinagle. There is an apply name overload that takes the Pt2s as parameters.

Factory apply method for Trinagle. There is an apply name overload that takes the Pt2s as parameters.

Attributes

def apply(v1: Pt2, v2: Pt2, v3: Pt2): Triangle

Factory apply method for Trinagle. There is an apply name overload that takes Doubles as parameters.

Factory apply method for Trinagle. There is an apply name overload that takes Doubles as parameters.

Attributes