Point

org.nspl.Point
case class Point(x: Double, y: Double)

2D point

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

def distance(p: Point): Double
def translate(dx: Double, dy: Double): Point

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product