Circle

ostrat.geom.Circle
See theCircle companion class
object Circle extends ShapeIcon

This is the companion object for the Circle case class. It provides factory methods for creating Circles.

Attributes

Companion
class
Graph
Supertypes
trait ShapeIcon
class Object
trait Matchable
class Any
Self type
Circle.type

Members list

Type members

Types

override type ShapeT = Circle

Value members

Concrete methods

def apply(radius: Double, cen: Pt2): Circle

Factory apply method for creating a circle. The first parameter gives the radius of the circle. The default centre is at the origin. There is an apply method name overload that takes the X and Y centre values as parameters There are corresponding d methods that take a diameter as the first parameter.

Factory apply method for creating a circle. The first parameter gives the radius of the circle. The default centre is at the origin. There is an apply method name overload that takes the X and Y centre values as parameters There are corresponding d methods that take a diameter as the first parameter.

Attributes

def apply(radius: Double, cenX: Double, cenY: Double): Circle

Factory apply method for creating a circle. The first parameter gives the radius of the circle, followed by the X and Y centre values. There is an apply method name overload that takes a Pt2 as a second parameter with a default value of the origin.

Factory apply method for creating a circle. The first parameter gives the radius of the circle, followed by the X and Y centre values. There is an apply method name overload that takes a Pt2 as a second parameter with a default value of the origin.

Attributes

def d(diameter: Double, cen: Pt2): Circle

Factory method for creating a circle. The first parameter gives the diameter of the circle. The default centre is at the origin. There is a name overload that takes the X and Y centre values as parameters. There are corresponding apply methods that take a radius as the first parameter.

Factory method for creating a circle. The first parameter gives the diameter of the circle. The default centre is at the origin. There is a name overload that takes the X and Y centre values as parameters. There are corresponding apply methods that take a radius as the first parameter.

Attributes

def d(diameter: Double, cenX: Double, cenY: Double): Circle

Factory method for creating a circle. The first parameter gives the diameter of the circle, followed by the X and Y centre values. There is a method name overload that takes a Pt2 as a second parameter with a default value of the origin. There are corresponding apply methods that take a radius as the first parameter.

Factory method for creating a circle. The first parameter gives the diameter of the circle, followed by the X and Y centre values. There is a method name overload that takes a Pt2 as a second parameter with a default value of the origin. There are corresponding apply methods that take a radius as the first parameter.

Attributes

override def fill(colour: Colour): CircleFillIcon

Attributes

Definition Classes
override def reify(scale: Double, cen: Pt2): Circle

Scale the ShapeIcon up and position (translate) it. This method is equivalent to scaling the icon and then translating (repositioning) it.

Scale the ShapeIcon up and position (translate) it. This method is equivalent to scaling the icon and then translating (repositioning) it.

Attributes

Definition Classes
override def reify(scale: Double, xCen: Double, yCen: Double): Circle

Scale the ShapeIcon up and position (translate) it. This method is equivalent to scaling the icon and then translating (repositioning) it.

Scale the ShapeIcon up and position (translate) it. This method is equivalent to scaling the icon and then translating (repositioning) it.

Attributes

Definition Classes

Concrete fields

Filling type class instance / evidence for Circle and CircleFill

Filling type class instance / evidence for Circle and CircleFill

Attributes

Givens

Givens

Implicit Prolign type class instance / evidence for Circle

Implicit Prolign type class instance / evidence for Circle

Attributes

Implicit Rotate type class instance / evidence for Circle

Implicit Rotate type class instance / evidence for Circle

Attributes

given scaleEv: Scale[Circle]

Implicit Scale type class instance / evidence for Circle

Implicit Scale type class instance / evidence for Circle

Attributes

Implicit Slate2 type class instance / evidence for Circle

Implicit Slate2 type class instance / evidence for Circle

Attributes

Implicit TransAxes type class instance / evidence for Circle

Implicit TransAxes type class instance / evidence for Circle

Attributes