WithCentre

ostrat.geom.WithCentre
trait WithCentre

An object with a 2 dimensional scar centre. The centre is a Pt2. It has the Double properties cenX and CenY

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Members list

Value members

Abstract methods

def cen: Pt2

The centre of this geometric / graphical element. The centre will not change if the object type is capable of being rotated and is rotated. The cenDefault on other bounded elements may move relative to points on the object when the object is rotated.

The centre of this geometric / graphical element. The centre will not change if the object type is capable of being rotated and is rotated. The cenDefault on other bounded elements may move relative to points on the object when the object is rotated.

Attributes

def cenX: Double

The X component of the centre.

The X component of the centre.

Attributes

def cenY: Double

The Y component of the centre.

The Y component of the centre.

Attributes