final case class Point(a: Float, b: Float, inPlane: AxisAlignment2D) extends Geometry2D with geometry.Point with Product with Serializable
The instance of a coordinate position in two-dimensional space.
- a
the first coordinate of the position
- b
the second coordinate of the position
- inPlane
the planar orientation of "out", e.g., the XY-axis excludes z-coordinates; includes the identity of the coordinates as they are in-order
- Source
- Point.scala
- See also
Vector3
- Alphabetic
- By Inheritance
- Point
- Serializable
- Product
- Equals
- Point
- Geometry2D
- PrimitiveGeometry
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new Point(a: Float, b: Float, inPlane: AxisAlignment2D)
- a
the first coordinate of the position
- b
the second coordinate of the position
- inPlane
the planar orientation of "out", e.g., the XY-axis excludes z-coordinates; includes the identity of the coordinates as they are in-order
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
- val a: Float
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def asVector3: Vector3
Transform the point into the common interchangeable format for coordinates.
- val b: Float
- def center: Point
The centroid of the geometry.
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- 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()
- val inPlane: AxisAlignment2D
- Definition Classes
- Point → Geometry2D
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def moveCenter(point: geometry.Point): Point
Move the centroid of the shape to the given point
Move the centroid of the shape to the given point
- point
the new center point
- returns
geometry centered on the new point; ideally, should be the same type of geometry as the original object
- Definition Classes
- Point → PrimitiveGeometry
- 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()
- def pointOnOutside(v: Vector3): Point
- Definition Classes
- Geometry2D
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- 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()