Ellipse

ostrat.geom.Ellipse$
See theEllipse companion trait
object Ellipse

Companion object for the Ellipse trait contains the EllipseImp implementation class and factory methods for Ellipse that delegate to EllipseImp.

Attributes

Companion:
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Ellipse.type

Members list

Concise view

Type members

Classlikes

final case class EllipseImp(cenX: Double, cenY: Double, axesPt1x: Double, axesPt1y: Double, radius2: Double) extends Ellipse with AxisFree

The implementation class for Ellipses that are not Circles. The Ellipse is encoded as 3 Vec2s or 6 scalars although it is possible to encode an ellipse with 5 scalars. Encoding the Ellipse this way greatly helps human visualisation of transformations upon an ellipse.

The implementation class for Ellipses that are not Circles. The Ellipse is encoded as 3 Vec2s or 6 scalars although it is possible to encode an ellipse with 5 scalars. Encoding the Ellipse this way greatly helps human visualisation of transformations upon an ellipse.

Attributes

Companion:
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait AxisFree
trait Ellipse
trait Shape
trait Fillable
trait Drawable
trait GeomElem
class Object
trait Matchable
class Any
object EllipseImp

Companion object for the EllipseImp class, contains factory methods.

Companion object for the EllipseImp class, contains factory methods.

Attributes

Companion:
class
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type

Value members

Concrete methods

def apply(radius1: Double, radius0: Double): Ellipse

Factory method for an Ellipse. The apply factory methods in this Ellipse companion object default to an EllipseImp class.

Factory method for an Ellipse. The apply factory methods in this Ellipse companion object default to an EllipseImp class.

Attributes

def apply(radius1: Double, radius0: Double, cen: Pt2): Ellipse

Factory method for an Ellipse. The apply factory methods in this Ellipse companion object default to an EllipseImp class.

Factory method for an Ellipse. The apply factory methods in this Ellipse companion object default to an EllipseImp class.

Attributes

def cenAxes1Radius2(xCen: Double, yCen: Double, xAxes1: Double, yAxes1: Double, radius2: Double): Ellipse
def cenAxes1axes4(cen: Pt2, axes1: Pt2, axes4: Pt2): EllipseImp

Factory method that creates an ellipse from the centre point, axes point 1 and axes point 4.

Factory method that creates an ellipse from the centre point, axes point 1 and axes point 4.

Attributes

Implicits