PtFm2

ostrat.geom.PtFm2
See thePtFm2 companion object
final class PtFm2 extends PtLen2, VecPtFm2

A 2-dimensional point specified in Femtometres as units rather than pure scalar numbers.

Attributes

Companion
object
Graph
Supertypes
trait VecPtFm2
trait PtLen2
trait PointDbl2
trait PointDblN
trait Point
trait VecPtLen2
trait TellElemDbl2
trait Dbl2Elem
trait DblNElem
trait ValueNElem
trait SpecialT
trait TellDbl2
trait Tell2[Double, Double]
trait PersistN
trait TellN
trait Tell
trait Persist
trait GeomLen2Elem
class Object
trait Matchable
class Any
Show all

Members list

Type members

Types

override type LineSegT = LSegFm2

The type of LSegBase that this Point can start or ends.

The type of LSegBase that this Point can start or ends.

Attributes

override type ThisT = PtFm2

The type of this point for the purposes of LineSegT. May not be the final type.

The type of this point for the purposes of LineSegT. May not be the final type.

Attributes

Value members

Concrete methods

override def -(operand: VecLen2): PtFm2

Subtracting a vector from a point returns a point. Subtracting a vector from a vector returns a vector. Subtracting a point from a point returns a vector.

Subtracting a vector from a point returns a point. Subtracting a vector from a vector returns a vector. Subtracting a point from a point returns a vector.

Attributes

Definition Classes
override def -(operand: PtLen2): VecFm2

Subtracting a point from a point returns a vector. Subtracting a vector from a point returns a point.

Subtracting a point from a point returns a vector. Subtracting a vector from a point returns a point.

Attributes

Definition Classes
override def lineSegFrom(startPt: PtLen2): LSegFm2

Attributes

Definition Classes
override def lineSegTo(endPt: PtLen2): LSegFm2

Attributes

Definition Classes
override def mapGeom2(operator: Length): Pt2

Divides by a Length to produce an equivalent Aff2Elem without Length units.

Divides by a Length to produce an equivalent Aff2Elem without Length units.

Attributes

Definition Classes
override def revY: PtFm2

Attributes

Definition Classes
override def revYIf(cond: Boolean): PtFm2

Attributes

Definition Classes
override def rotate(a: AngleVec): PtFm2

Attributes

Definition Classes
override def rotate180: PtFm2

Rotates the point 180 degrees around the origin by negating the X and Y components.

Rotates the point 180 degrees around the origin by negating the X and Y components.

Attributes

Definition Classes
override def rotate180If(cond: Boolean): PtFm2

Rotates th point 180 degrees around the origin if the condition is true.

Rotates th point 180 degrees around the origin if the condition is true.

Attributes

Definition Classes
override def rotate180IfNot(cond: Boolean): PtFm2

Rotates th point 180 degrees around the origin if the condition is false.

Rotates th point 180 degrees around the origin if the condition is false.

Attributes

Definition Classes
override def rotateRadians(r: Double): PtFm2

Attributes

Definition Classes
override def scale(operand: Double): PtFm2

Uniform 2 Length dimension geometric scaling transformation. The scale name was chosen for this operation as it is normally the desired operation and preserves Circles and Squares. The Return type will be narrowed in sub traits / classes.

Uniform 2 Length dimension geometric scaling transformation. The scale name was chosen for this operation as it is normally the desired operation and preserves Circles and Squares. The Return type will be narrowed in sub traits / classes.

Attributes

Definition Classes
override def slate(operand: VecPtLen2): PtFm2

Translate 2 Length dimension geometric transformation GeomLen2Elem. The Return type will be narrowed in sub traits. There is a name overload taking the X and Y Deltas as separate parameters, slateX and slateY methods are also available.

Translate 2 Length dimension geometric transformation GeomLen2Elem. The Return type will be narrowed in sub traits. There is a name overload taking the X and Y Deltas as separate parameters, slateX and slateY methods are also available.

Attributes

Definition Classes
override def slate(xOperand: Length, yOperand: Length): PtFm2

Translate 2 Length dimension geometric transformation, taking the xDelta and yDelta as parameters on this GeomLen2Elem returning a GeomLen2Elem. The Return type will be narrowed in sub traits. There is a name overload method taking a Pt2 or Vec2 as a parameter, slateX and slateY methods are also available.

Translate 2 Length dimension geometric transformation, taking the xDelta and yDelta as parameters on this GeomLen2Elem returning a GeomLen2Elem. The Return type will be narrowed in sub traits. There is a name overload method taking a Pt2 or Vec2 as a parameter, slateX and slateY methods are also available.

Attributes

Definition Classes
override def slateFrom(operand: PtLen2): PtFm2

Attributes

Definition Classes
override def slateX(xOperand: Length): PtFm2

Translate 2 Length dimension geometric transformation in the X dimension returning a GeomLen2Elem. The Return type will be narrowed in sub traits.

Translate 2 Length dimension geometric transformation in the X dimension returning a GeomLen2Elem. The Return type will be narrowed in sub traits.

Attributes

Definition Classes
override def slateY(yOperand: Length): PtFm2

Translate 2 Length dimension geometric transformation in the Y dimension returning a GeomLen2Elem. The Return type will be narrowed in sub traits.

Translate 2 Length dimension geometric transformation in the Y dimension returning a GeomLen2Elem. The Return type will be narrowed in sub traits.

Attributes

Definition Classes
override def typeStr: String

The type of the object to be persisted.

The type of the object to be persisted.

Attributes

Definition Classes

Inherited methods

final override def dbl1: Double

Attributes

Definition Classes
Inherited from:
TellElemDbl2
final override def dbl2: Double

Attributes

Definition Classes
Inherited from:
TellElemDbl2
override def dblBufferAppend(buffer: ArrayBuffer[Double]): Unit

Utility method to append this as an element to an ArrayBuffer[Double]. End users should rarely need to use this method.

Utility method to append this as an element to an ArrayBuffer[Double]. End users should rarely need to use this method.

Attributes

Definition Classes
Inherited from:
Dbl2Elem
override def dblForeach(f: Double => Unit): Unit

Performs the side effecting function on each Double in this Product element.

Performs the side effecting function on each Double in this Product element.

Attributes

Definition Classes
Inherited from:
Dbl2Elem
def dblsApprox(that: Dbl2Elem, delta: Double): Boolean

Attributes

Inherited from:
Dbl2Elem
def dblsEqual(that: Dbl2Elem): Boolean

Attributes

Inherited from:
Dbl2Elem
def el1Show(style: ShowStyle, maxPlaces: Int): String

Attributes

Inherited from:
Tell2
def el2Show(style: ShowStyle, maxPlaces: Int): String

Attributes

Inherited from:
Tell2

A StrArr Arr of the element type names of this Show Product class.

A StrArr Arr of the element type names of this Show Product class.

Attributes

Inherited from:
Tell2
override def name1: String

1st parameter name.

1st parameter name.

Attributes

Definition Classes
Inherited from:
VecPtLen2
override def name2: String

2nd parameter name.

2nd parameter name.

Attributes

Definition Classes
Inherited from:
VecPtLen2
override def numParams: Int

Number of parameter constituents of this class.

Number of parameter constituents of this class.

Attributes

Definition Classes
Inherited from:
Persist2
override def opt1: Option[Double]

The optional default value for parameter 1.

The optional default value for parameter 1.

Attributes

Definition Classes
Inherited from:
Tell2Plused
override def opt2: Option[Double]

The optional default value for parameter 2.

The optional default value for parameter 2.

Attributes

Definition Classes
Inherited from:
Tell2Plused
override def paramNames: StrArr

Sequence of the names of parameter constituents of this class.

Sequence of the names of parameter constituents of this class.

Attributes

Definition Classes
Inherited from:
Tell2
override def str: String

The most basic Show method, paralleling the strT method on ShowT type class instances.

The most basic Show method, paralleling the strT method on ShowT type class instances.

Attributes

Definition Classes
TellN -> Tell
Inherited from:
TellN
def str0: String

Show with decimal precision of 0 places.

Show with decimal precision of 0 places.

Attributes

Inherited from:
Tell
def str1: String

Show with decimal precision of 1 place padding with a zero if necessary.

Show with decimal precision of 1 place padding with a zero if necessary.

Attributes

Inherited from:
Tell
def str2: String

Show with decimal precision of 2 places padding with zeros if necessary.

Show with decimal precision of 2 places padding with zeros if necessary.

Attributes

Inherited from:
Tell
def str3: String

Show with decimal precision of 3 places padding with zeros if necessary.

Show with decimal precision of 3 places padding with zeros if necessary.

Attributes

Inherited from:
Tell
override def tell(style: ShowStyle, maxPlaces: Int, minPlaces: Int): String

Intended to be a multiple parameter comprehensive Show method. Intended to be paralleled by show method on Show type class instances.

Intended to be a multiple parameter comprehensive Show method. Intended to be paralleled by show method on Show type class instances.

Attributes

Definition Classes
TellN -> Tell
Inherited from:
TellN
override def tell1: Double

Element 1 of this Tell2+ element product.

Element 1 of this Tell2+ element product.

Attributes

Definition Classes
Inherited from:
VecPtFm2
override def tell2: Double

Element 2 of this Tell2+ element product.

Element 2 of this Tell2+ element product.

Attributes

Definition Classes
Inherited from:
VecPtFm2
final override def tellDepth: Int

The syntactic depth of the tell String for this object.

The syntactic depth of the tell String for this object.

Attributes

Definition Classes
Inherited from:
TellDbl2
override def tellElemStrs(way: ShowStyle, decimalPlaces: Int, minPlaces: Int): StrArr

A StrArr Arr collection of the show methods return values of the elements of this Show Product class.

A StrArr Arr collection of the show methods return values of the elements of this Show Product class.

Attributes

Definition Classes
Inherited from:
Tell2
def tellSemisNames(maxPlaces: Int, minPlaces: Int): String

Attributes

Inherited from:
TellN
override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Tell -> Any
Inherited from:
Tell

This property determines if the type can be used with Multiple syntax.

This property determines if the type can be used with Multiple syntax.

MyObj * 7

. for describing sequences succinctly. This is not desirable for some types such as numerical and mathematical vector types as this could be confusing 3 * 4 should resolve to an Int of value 12, not a Multiple(3, 4).

Attributes

Inherited from:
Persist
def x: Femtometres

The X component of this 2-dimensional Femtometres vector.

The X component of this 2-dimensional Femtometres vector.

Attributes

Inherited from:
VecPtFm2
override def xKilometresNum: Double

The number of kilometres in the X component of this point / vector.

The number of kilometres in the X component of this point / vector.

Attributes

Definition Classes
Inherited from:
VecPtFm2
override def xMetresNum: Double

The number of metres in the X component of this point / vector.

The number of metres in the X component of this point / vector.

Attributes

Definition Classes
Inherited from:
VecPtFm2
override def xNeg: Boolean

Attributes

Definition Classes
Inherited from:
VecPtFm2
override def xPicometresNum: Double

The number of picometres in the X component of this point / vector.

The number of picometres in the X component of this point / vector.

Attributes

Definition Classes
Inherited from:
VecPtFm2
override def xPos: Boolean

Attributes

Definition Classes
Inherited from:
VecPtFm2
def y: Femtometres

The Y component of this 2-dimensional Femtometres vector.

The Y component of this 2-dimensional Femtometres vector.

Attributes

Inherited from:
VecPtFm2
override def yKilometresNum: Double

The number of kilometres in the Y component of this point / vector.

The number of kilometres in the Y component of this point / vector.

Attributes

Definition Classes
Inherited from:
VecPtFm2
override def yMetresNum: Double

The number of metres in the Y component of this point / vector.

The number of metres in the Y component of this point / vector.

Attributes

Definition Classes
Inherited from:
VecPtFm2
override def yNeg: Boolean

Attributes

Definition Classes
Inherited from:
VecPtFm2
override def yPicometresNum: Double

The number of picometres in the Y component of this point / vector.

The number of picometres in the Y component of this point / vector.

Attributes

Definition Classes
Inherited from:
VecPtFm2
override def yPos: Boolean

Attributes

Definition Classes
Inherited from:
VecPtFm2

Concrete fields

The number of femtometres in the X component of this point / vector.

The number of femtometres in the X component of this point / vector.

Attributes

The number of femtometres in the Y component of this point / vector.

The number of femtometres in the Y component of this point / vector.

Attributes

Implicits

Inherited implicits

final implicit override def show1: Show[Double]

Attributes

Definition Classes
Inherited from:
TellDbl2
final implicit override def show2: Show[Double]

Attributes

Definition Classes
Inherited from:
TellDbl2