final case class IntHyperCubeN(components: IndexedSeq[Int], extent: Int) extends IntHyperCubeNLike with Product with Serializable
- Alphabetic
- By Inheritance
- IntHyperCubeN
- Serializable
- Serializable
- Product
- Equals
- IntHyperCubeNLike
- QueryShape
- HyperCube
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new IntHyperCubeN(components: IndexedSeq[Int], extent: Int)
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
area: BigInt
- Definition Classes
- IntHyperCubeNLike
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
center(idx: Int): Int
- Definition Classes
- IntHyperCubeN → IntHyperCubeNLike
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
- val components: IndexedSeq[Int]
-
final
def
contains(cube: IntHyperCubeN): Boolean
Checks whether a given hyper-cube is fully contained in this hyper-cube.
Checks whether a given hyper-cube is fully contained in this hyper-cube. This is also the case if their bounds full match.
- Definition Classes
- IntHyperCubeNLike → HyperCube
-
final
def
contains(point: IntPointNLike): Boolean
Queries the overlap of this shape with a given
IntPoint2D p.Queries the overlap of this shape with a given
IntPoint2D p. The point is considered to have a side length of 1!- returns
trueif this shape contains or partly overlaps the given point
- Definition Classes
- IntHyperCubeNLike → QueryShape → HyperCube
-
def
dim: Int
- Definition Classes
- IntHyperCubeN → IntHyperCubeNLike
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
val
extent: Int
The extent is the half side length of the cube
The extent is the half side length of the cube
- Definition Classes
- IntHyperCubeN → IntHyperCubeNLike
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
greatestInteresting(a: IntHyperCubeN, b: IntPointNLike): IntHyperCubeN
Calculates the greatest interesting hyper-cube inside this hyper-cube which contains both hyper-cube
aand pointb, and they occupy distinct orthants.Calculates the greatest interesting hyper-cube inside this hyper-cube which contains both hyper-cube
aand pointb, and they occupy distinct orthants.- Definition Classes
- IntHyperCubeNLike → HyperCube
-
final
def
greatestInteresting(a: IntPointNLike, b: IntPointNLike): IntHyperCubeN
Calculates the greatest interesting hyper-cube inside this hyper-cube which contains both points
aandb, and they occupy distinct orthants.Calculates the greatest interesting hyper-cube inside this hyper-cube which contains both points
aandb, and they occupy distinct orthants.- Definition Classes
- IntHyperCubeNLike → HyperCube
-
final
def
indexOf(b: IntHyperCubeN): Int
Determines the orthant index of another internal hyper-cube
inner.Determines the orthant index of another internal hyper-cube
inner.- returns
the index of the orthant (beginning at 0), or -1 if
innerlies outside of this hyper-cube.
- Definition Classes
- IntHyperCubeNLike → HyperCube
-
final
def
indexOf(a: IntPointNLike): Int
Determines the orthant index of a point
point.Determines the orthant index of a point
point.- returns
the index of the orthant (beginning at 0), or -1 if
pointlies outside of this hyper-cube.
- Definition Classes
- IntHyperCubeNLike → HyperCube
-
final
def
isAreaGreater(a: IntHyperCubeN, b: BigInt): Boolean
- Definition Classes
- IntHyperCubeNLike → QueryShape
-
final
def
isAreaNonEmpty(area: BigInt): Boolean
- Definition Classes
- IntHyperCubeNLike → QueryShape
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
maxDistance(point: IntPointNLike): Double
Calculates the maximum distance to a point in the euclidean metric.
Calculates the maximum distance to a point in the euclidean metric. This calls
maxDistanceSqand then takes the square root.- Definition Classes
- IntHyperCubeNLike → HyperCube
-
final
def
maxDistanceSq(point: IntPointNLike): BigInt
Calculates the maximum squared euclidean distance to a point in the euclidean metric.
Calculates the maximum squared euclidean distance to a point in the euclidean metric. This is the distance (squared) to the corner which is the furthest from the
point, no matter if it lies within the hyper-cube or not.- Definition Classes
- IntHyperCubeNLike
-
final
def
minDistance(point: IntPointNLike): Double
Calculates the minimum distance to a point in the euclidean metric.
Calculates the minimum distance to a point in the euclidean metric. This calls
minDistanceSqand then takes the square root.- Definition Classes
- IntHyperCubeNLike → HyperCube
-
final
def
minDistanceSq(point: IntPointNLike): BigInt
The squared (euclidean) distance of the closest of the cube's corners or sides to the point, if the point is outside the cube, or zero, if the point is contained
The squared (euclidean) distance of the closest of the cube's corners or sides to the point, if the point is outside the cube, or zero, if the point is contained
- Definition Classes
- IntHyperCubeNLike
-
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()
-
final
def
orthant(idx: Int): IntHyperCubeN
- Definition Classes
- IntHyperCubeNLike → HyperCube
-
final
def
overlapArea(b: IntHyperCubeN): BigInt
- Definition Classes
- IntHyperCubeNLike → QueryShape
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )