object Geometry
- Alphabetic
- By Inheritance
- Geometry
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def closeToInsignificance(d: Float, epsilon: Float = 10f): Float
Is the value close enough to be zero to be equivalently replaceable with zero?
Is the value close enough to be zero to be equivalently replaceable with zero?
- d
the original number
- epsilon
how far from zero the value is allowed to stray
- returns
the original number, or zero
- See also
math.abs
math.signum
math.ulp
Vector3.closeToInsignificance
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equalFloats(value1: Float, value2: Float, off: Float = 0.001f): Boolean
Are two
Float
numbers equal enough to be considered equal?Are two
Float
numbers equal enough to be considered equal?- value1
the first value
- value2
the second value
- off
how far the number can be inequal from each other
- returns
true
, if the twoFloat
numbers are close enough to be considered equal;false
, otherwise
- def equalVectors(value1: Vector3, value2: Vector3, off: Vector3): Boolean
Are two
Vector3
entities equal enough to be considered equal?Are two
Vector3
entities equal enough to be considered equal?- value1
the first coordinate triple
- value2
the second coordinate triple
- off
how far each individual coordinate can be inequal from the other
- returns
true
, if the twoVector3
entities are close enough to be considered equal;false
, otherwise
- See also
equalFloats
- def equalVectors(value1: Vector3, value2: Vector3, off: Float = 0.001f): Boolean
Are two
Vector3
entities equal enough to be considered equal?Are two
Vector3
entities equal enough to be considered equal?- value1
the first coordinate triple
- value2
the second coordinate triple
- off
how far any individual coordinate can be inequal from each other
- returns
true
, if the twoVector3
entities are close enough to be considered equal;false
, otherwise
- See also
equalFloats
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()