Closed

final case
class Closed(vertices: List[Vertex]) extends Polygon
Companion
object
trait Serializable
trait Product
trait Equals
trait Polygon
class Object
trait Matchable
class Any

Value members

Concrete methods

def moveBy(amount: Vertex): Closed
def moveTo(newPosition: Vertex): Closed
def scaleBy(vec: Vertex): Closed

Inherited methods

def addVertex(vertex: Vertex): Polygon
Inherited from
Polygon
Inherited from
Polygon
def contains(vertex: Vertex): Boolean
Inherited from
Polygon
def edgeCount: Int
Inherited from
Polygon
def lineIntersectCheck(lineSegment: LineSegment): Boolean
Inherited from
Polygon
def moveBy(amount: Vector2): Polygon
Inherited from
Polygon
def moveBy(x: Double, y: Double): Polygon
Inherited from
Polygon
def moveTo(newPosition: Vector2): Polygon
Inherited from
Polygon
def moveTo(x: Double, y: Double): Polygon
Inherited from
Polygon
def polygonIntersectCheck(polygon: Polygon): Boolean
Inherited from
Polygon
def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product
def rectangleIntersectCheck(rectangle: Rectangle): Boolean
Inherited from
Polygon
Inherited from
Polygon
def scaleBy(amount: Double): Polygon
Inherited from
Polygon
override
def toString: String
Definition Classes
Polygon -> Any
Inherited from
Polygon

Inherited fields

lazy
Inherited from
Polygon