trait PointSet[D] extends Equals
- Alphabetic
- By Inheritance
- PointSet
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Abstract Value Members
- abstract def boundingBox: BoxDomain[D]
Returns the smallest continuous box domain that fully contains all the domain points.
Returns the smallest continuous box domain that fully contains all the domain points.
The bounding box is always oriented along the dimensions of the space (i.e. this method does not return rotated boxes)
- abstract def findClosestPoint(pt: Point[D]): PointWithId[D]
* Returns the point belonging to the domain that is closest to the indicated position.
* Returns the point belonging to the domain that is closest to the indicated position. The point identifier within th e domain is also returned.
- abstract def findNClosestPoints(pt: Point[D], n: Int): Seq[PointWithId[D]]
- abstract def isDefinedAt(pt: Point[D]): Boolean
- abstract def numberOfPoints: Int
- abstract def point(id: PointId): Point[D]
- abstract def pointId(pt: Point[D]): Option[PointId]
- abstract def points: Iterator[Point[D]]
- abstract def pointsInChunks(nChunks: Int): Seq[Iterator[Point[D]]]
* Returns the domain points in n chunks.
* Returns the domain points in n chunks. Each chunk of the points is given as an iterator
The main idea behind this method is to be able to easily parallelize on the domain points, as parallel operations on a single iterator in Scala end up more costly than sequential access in our case. Using this method, one would parallelize on the Seq of iterators instead.
- abstract def transform(t: (Point[D]) => Point[D]): PointSet[D]
Concrete Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##(): Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def canEqual(that: Any): Boolean
- Definition Classes
- PointSet → Equals
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(that: Any): Boolean
- Definition Classes
- PointSet → Equals → AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- PointSet → AnyRef → Any
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def pointIds: Iterator[PointId]
- def pointsWithId: Iterator[(Point[D], PointId)]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()