Circle

final case
class Circle(diameter: Double, cenX: Double, cenY: Double) extends Ellipselign with OrdinaledElem with AxisFree

Circle class is defined by its centre and radius. It fulfills the interface for an Ellipse.

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

Type members

Types

type ThisT = Circle

Value members

Concrete methods

override
Definition Classes
override
def area: Double
Definition Classes
override
Definition Classes
override
def axesPt1x: Double
Definition Classes
override
def axesPt1y: Double
Definition Classes
override
def axesPt2x: Double
Definition Classes
override
def axesPt2y: Double
Definition Classes
override
def axesPt3x: Double
Definition Classes
override
def axesPt3y: Double
Definition Classes
override
Definition Classes
override
def axesPt4x: Double
Definition Classes
override
def axesPt4y: Double
Definition Classes
override
Definition Classes
override
Definition Classes
override
def cenP1: Vec2
Definition Classes
override
def cenP2: Vec2
Definition Classes
override
def cenP3: Vec2
Definition Classes
override
def cenP4: Vec2
Definition Classes
override
def draw(lineColour: Colour, lineWidth: Double): CircleDraw
Definition Classes
override
def e: Double
Definition Classes
override
def fTrans(f: Pt2 => Pt2): Circle
Definition Classes
override
def fill(fillColour: Colour): CircleFill
Definition Classes
override
def fillDraw(fillColour: Colour, lineColour: Colour, lineWidth: Double): CircleCompound
Definition Classes
override
def fillInt(intValue: Int): CircleFill
Definition Classes
def fillRadial(cenColour: Colour, outerColour: Colour): CircleCompound
override
def h: Double
Definition Classes
override
Definition Classes
@inline
override
def rMajor: Double
Definition Classes
@inline
override
def rMinor: Double
Definition Classes
@inline
def radius: Double

Diameter of the circle. This has the same value as width, a property that hasn't been created yet.

Diameter of the circle. This has the same value as width, a property that hasn't been created yet.

@inline
override
def radius1: Double
Definition Classes
@inline
override
def radius2: Double
Definition Classes
override
def reflect(lineLike: LineLike): Circle
Definition Classes
override
def rotate(angle: AngleVec): Circle
Definition Classes
override
def scale(operand: Double): Circle

uniform scaling transformation on a Circle returns a circle. Use the xyScale method for differential scaling.

uniform scaling transformation on a Circle returns a circle. Use the xyScale method for differential scaling.

Definition Classes
override
def slateXY(xDelta: Double, yDelta: Double): Circle

Translate geometric transformation on a Circle returns a Circle.

Translate geometric transformation on a Circle returns a Circle.

Definition Classes
override
Definition Classes
override
Definition Classes
@inline
override
def xRadius: Double
Definition Classes
@inline
override
def yRadius: Double
Definition Classes

Inherited methods

final
Inherited from
Ellipse
final
Inherited from
Ellipse
override
Definition Classes
Inherited from
Ellipse
Inherited from
BoundedElem
Inherited from
OrdinalEdgePoints
@inline
final

The centre of the bounding rectangle. consider also using cenDefault.

The centre of the bounding rectangle. consider also using cenDefault.

Inherited from
BoundedElem
def boundingHeight: Double
Inherited from
BoundedElem
def boundingWidth: Double

The width of the BoundingRect of this object.

The width of the BoundingRect of this object.

Inherited from
BoundedElem
Inherited from
BoundedElem
Inherited from
OrdinalEdgePoints
def canEqual(that: Any): Boolean

This canEqual override allow the comparison of Shapes.

This canEqual override allow the comparison of Shapes.

Inherited from
Shape
final override
def cen: Pt2
Definition Classes
Inherited from
Ellipse
final override

The default centre of this object is the centre. The centre will not change if the object type is capable of being rotated and is rotated.

The default centre of this object is the centre. The centre will not change if the object type is capable of being rotated and is rotated.

Definition Classes
Inherited from
CentredElem
Inherited from
Ellipse
Inherited from
Ellipse
final
def diameter1: Double

Diameter 1 of the ellipse. By default this is the horizontal axis of the ellipse.This can be the major or minor axis.

Diameter 1 of the ellipse. By default this is the horizontal axis of the ellipse.This can be the major or minor axis.

Inherited from
EllipseBased
final
def diameter2: Double

Diameter 2 of this ellipse. By default this is the vertical axis of the ellipse. This can be the major or minor axis.

Diameter 2 of this ellipse. By default this is the vertical axis of the ellipse. This can be the major or minor axis.

Inherited from
EllipseBased
override
def negX: ThisT
Definition Classes
Inherited from
AxisFree
override
def negY: ThisT
Definition Classes
Inherited from
AxisFree
def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product
override
Definition Classes
Inherited from
AxisFree
override
Definition Classes
Inherited from
AxisFree
override
Definition Classes
Inherited from
AxisFree
Inherited from
Ellipse
Inherited from
Ellipse
override
def scaleXY(xOperand: Double, yOperand: Double): Ellipse
Definition Classes
Inherited from
Ellipse
override
def shearX(operand: Double): Ellipse
Definition Classes
Inherited from
Ellipse
override
def shearY(operand: Double): Ellipse
Definition Classes
Inherited from
Ellipse
Inherited from
BoundedElem
Inherited from
OrdinalEdgePoints
Inherited from
BoundedElem

Top right offset from centre.

Top right offset from centre.

Inherited from
OrdinalEdgePoints