abstract class StructuredPoints[D] extends PointSet[D] with Equals
Defines points in D dimension which are aligned on a regular grid.
The grid points are defined by specifying an origin, a spacing between the grid points, and the size (number of points) in each direction.
A global coordinate system is assumed, and all units are measured in mm.
- D
The dimensionality of the domain
- Alphabetic
- By Inheritance
- StructuredPoints
- PointSet
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Abstract Value Members
- abstract def boundingBox: BoxDomain[D]
a rectangular region that represents the area, which defines the bounding box of the points
a rectangular region that represents the area, which defines the bounding box of the points
- Definition Classes
- StructuredPoints → PointSet
- abstract def directions: SquareMatrix[D]
Direction cosine matrix
- abstract def index(pointId: PointId): IntVector[D]
The index for the given point id
- abstract def origin: Point[D]
the first point (lower-left corner in 2D) of the grid
- abstract def pointId(idx: IntVector[D]): PointId
converts a grid index into a id that identifies a point
- abstract def points: Iterator[Point[D]]
- Definition Classes
- PointSet
- abstract def pointsInChunks(nbChunks: Int): IndexedSeq[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.
- Definition Classes
- StructuredPoints → PointSet
- abstract def size: IntVector[D]
the number of points in each direction
- abstract def spacing: EuclideanVector[D]
the distance (in mm) between two points in each space direction
- abstract def transform(t: (Point[D]) => Point[D]): PointSet[D]
- Definition Classes
- PointSet
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(a: Any): Boolean
- Definition Classes
- StructuredPoints → PointSet → Equals
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- val dimensionality: Int
the dimensionality of the domain
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(a: Any): Boolean
- Definition Classes
- StructuredPoints → PointSet → Equals → AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def findClosestPoint(pt: Point[D]): PointWithId[D]
returns the closest point in this set to the given point
returns the closest point in this set to the given point
- Definition Classes
- StructuredPoints → PointSet
- def findNClosestPoints(pt: Point[D], n: Int): Seq[PointWithId[D]]
returns the n closest points to the given set of points
returns the n closest points to the given set of points
- Definition Classes
- StructuredPoints → PointSet
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- StructuredPoints → PointSet → AnyRef → Any
- def indexToPoint(i: IntVector[D]): Point[D]
- def isDefinedAt(idx: IntVector[D]): Boolean
true if the point is part of the grid points
- def isDefinedAt(pt: Point[D]): Boolean
true if the point is part of the grid points
true if the point is part of the grid points
- Definition Classes
- StructuredPoints → PointSet
- 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 numberOfPoints: Int
- Definition Classes
- StructuredPoints → PointSet
- def point(id: PointId): Point[D]
returns the points belonging to the given id
returns the points belonging to the given id
- Definition Classes
- StructuredPoints → PointSet
- def pointId(pt: Point[D]): Option[PointId]
returns the point id in case it is defined, None otherwise.
returns the point id in case it is defined, None otherwise.
- Definition Classes
- StructuredPoints → PointSet
- def pointIds: Iterator[PointId]
- Definition Classes
- PointSet
- def pointsWithId: Iterator[(Point[D], PointId)]
- Definition Classes
- PointSet
- 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()