Triangle

ostrat.geom.Triangle
See theTriangle companion trait
object Triangle

Companion object for Triangle trait. Contains apply factory methods and TriangleImp 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 TriangleImp(val arrayUnsafe: Array[Double]) extends Triangle, AffinePreserve

Attributes

Companion
object
Supertypes
trait Triangle
trait Polygon3Plus
trait Polygon
trait PolygonLike[Pt2]
trait Pt2SeqSpec
trait SeqSpecDbl2[Pt2]
trait SeqSpecDblN[Pt2]
trait SeqSpec[Pt2]
trait Pt2SeqLike
trait SeqLikeDbl2[Pt2]
trait SeqLikeDblN[Pt2]
trait SpecialT
trait PointSeqLike[Pt2]
trait SeqLike[Pt2]
trait Approx[Double]
trait Equals
trait Shape
trait BoundedElem
trait Fillable
trait Drawable
trait GeomElem
class Object
trait Matchable
class Any
Show all
object TriangleImp

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
def apply(v1: Pt2, v2: Pt2, v3: Pt2): Triangle