PtM3

ostrat.geom.PtM3
See thePtM3 companion object
final class PtM3 extends PtLength3

3-dimensional point specified using Metres as units rather than pure numbers.

Attributes

Companion
object
Graph
Supertypes
trait PtLength3
trait PointDbl3
trait Dbl3Elem
trait PointDblN
trait DblNElem
trait ValueNElem
trait SpecialT
trait Point
class Object
trait Matchable
class Any
Show all

Members list

Type members

Types

override type LineSegT = LineSegM3

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

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

Attributes

override type ThisT = PtM3

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

def /(operator: Length): Pt3
def dbl1: Double
def dbl2: Double
def dbl3: Double
def dot(operand: PtM3): Metrares

Produces the dot product of this 2-dimensional distance Vector and the operand.

Produces the dot product of this 2-dimensional distance Vector and the operand.

Attributes

def ifZNonNeg[A](vPos: => A, vNeg: => A): A
def kmStr: String
override def lineSegFrom(startPt: PtLength3): LineSegM3

Attributes

Definition Classes
override def lineSegTo(endPt: PtLength3): LineSegM3

Attributes

Definition Classes
def rotateX(a: AngleVec): PtM3

Rotate around the X axis, viewed from positive X. A positive angle is anti clockwise.

Rotate around the X axis, viewed from positive X. A positive angle is anti clockwise.

Attributes

def rotateY(a: AngleVec): PtM3

Rotates this vector around the Y axis, viewed form positive Y through the given angle around the origin.

Rotates this vector around the Y axis, viewed form positive Y through the given angle around the origin.

Attributes

Rotates the vector around the Y axis 180 degrees or Pi radians.

Rotates the vector around the Y axis 180 degrees or Pi radians.

Attributes

rotates the vector around the Y axis 90 degrees or Pi/2 radians, clockwise.

rotates the vector around the Y axis 90 degrees or Pi/2 radians, clockwise.

Attributes

rotates the vector around the Y axis, 90 degrees or Pi/2 radians, anticlockwise.

rotates the vector around the Y axis, 90 degrees or Pi/2 radians, anticlockwise.

Attributes

def rotateZ(a: AngleVec): PtM3

Rotate around the Z axis, viewed from positive Z. A positive angle is anti clockwise.

Rotate around the Z axis, viewed from positive Z. A positive angle is anti clockwise.

Attributes

Rotates the vector around the Z axis 180 degrees or Pi radians.

Rotates the vector around the Z axis 180 degrees or Pi radians.

Attributes

rotates the vector around the Z axis 270 degrees anti clockwise or, 90 degrees or Pi/2 radians, clockwise.

rotates the vector around the Z axis 270 degrees anti clockwise or, 90 degrees or Pi/2 radians, clockwise.

Attributes

rotates the vector around the Z axis, 90 degrees or Pi/2 radians, anticlockwise.

rotates the vector around the Z axis, 90 degrees or Pi/2 radians, anticlockwise.

Attributes

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
Any

Converts this 3-dimensional Metres point to a SomePtM2 point of the X and Y values, returns None if the Z value is negative.

Converts this 3-dimensional Metres point to a SomePtM2 point of the X and Y values, returns None if the Z value is negative.

Attributes

def x: Metres
override def xKilometresNum: Double

Number of metres in the X component of this point.

Number of metres in the X component of this point.

Attributes

Definition Classes
def xNeg: Boolean
def xRotateRadians(rotationRadians: Double): PtM3

Rotate this 3D point defined in metres around the X Axis by the given parameter given in radians. Returns a new PtM3 point.

Rotate this 3D point defined in metres around the X Axis by the given parameter given in radians. Returns a new PtM3 point.

Attributes

def xy: PtM2
def xyLengthFrom(operand: PtM2): Metres

The distance in the XY plane from an operand PtM2, the default being from the origin.

The distance in the XY plane from an operand PtM2, the default being from the origin.

Attributes

def y: Metres
override def yKilometresNum: Double

Number of metres in the Y component of this point.

Number of metres in the Y component of this point.

Attributes

Definition Classes
def yNeg: Boolean
def z: Metres
override def zKilometresNum: Double

Number of metres in the Z component of this point.

Number of metres in the Z component of this point.

Attributes

Definition Classes
def zNeg: Boolean

Inherited methods

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:
Dbl3Elem
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:
Dbl3Elem
def dblsApprox(that: Dbl3Elem, delta: Double): Boolean

Attributes

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

Attributes

Inherited from:
Dbl3Elem

Concrete fields

Number of metres in the X component of this point.

Number of metres in the X component of this point.

Attributes

Number of metres in the Y component of this point.

Number of metres in the Y component of this point.

Attributes

Number of metres in the Z component of this point.

Number of metres in the Z component of this point.

Attributes