Polygon

object Polygon
Companion:
class
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Polygon.type

Type members

Classlikes

final case class Closed(vertices: Batch[Vertex]) extends Polygon
Companion:
object
object Closed
Companion:
class
final case class Open(vertices: Batch[Vertex]) extends Polygon
Companion:
object
object Open
Companion:
class

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Inherited from:
Mirror

The name of the type

The name of the type

Inherited from:
Mirror

Value members

Concrete methods

def fromRectangle(rectangle: Rectangle): Closed

Givens

Givens

given derived$CanEqual: CanEqual[Polygon, Polygon]