package d2
Ordering
- Alphabetic
Visibility
- Public
- Protected
Type Members
- trait Flat extends Geometry2D
- trait Geometry2D extends PrimitiveGeometry
Basic interface of all two-dimensional geometry.
- 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
- 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
- object Point extends Serializable
- object Rectangle extends Serializable