Polygon

object Polygon
Companion
class
trait Sum
trait Mirror
class Object
trait Matchable
class Any

Type members

Classlikes

final case
class Closed(vertices: List[Vertex]) extends Polygon
Companion
object
object Closed
Companion
class
final case
class Open(vertices: List[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
type MirroredLabel <: String

The name of the type

The name of the type

Inherited from
Mirror

Value members

Concrete methods

def fromRectangle(rectangle: Rectangle): Closed
def toLineSegments(polygon: Polygon): List[LineSegment]

Concrete fields

lazy