Packages

package d2

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. Protected

Type Members

  1. trait Flat extends Geometry2D
  2. trait Geometry2D extends PrimitiveGeometry

    Basic interface of all two-dimensional geometry.

  3. 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.

    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

    See also

    Vector3

  4. final case class Rectangle(top: Float, right: Float, base: Float, left: Float, inPlane: AxisAlignment2D) extends Flat with Product with Serializable

    An axis-aligned planar region.

    An axis-aligned planar region.

    top

    the highest "vertical" coordinate

    right

    the furthest "horizontal" coordinate

    base

    the highest "vertical" coordinate

    left

    the nearest "horizontal" coordinate

    inPlane

    the axis plan that the geometry occupies; for example, an XY-axis rectangle is Z-up

Value Members

  1. object Point extends Serializable
  2. object Rectangle extends Serializable

Ungrouped