class OverlappingRangeBasedPropertyTile[T] extends AnyRef
Contains the range-based property data for a single tile.
This tile accepts overlapping ranges, as long as they are ordered by their startOffset.
A range-based vertex property is a property that potentially applies to only a part of a vertex. The Location Library uses a start and end point to define the part of the vertex to which the range-based property applies. These start and end points are represented by their relative offsets on the Vertex (values between 0 and 1).
The storage format for these ranges contains two levels of information: startIndices
, and
the triplets (startOffsets(j), endOffsets(j), values(j))
.
The triplets (startOffsets(j), endOffsets(j), values(j))
define the
RangeBasedProperties for
every Vertex that is contained in a partition.
startIndices
indicates which
RangeBasedProperty apply
to a given Vertex.
An index i
in 0..startIndices.size-2
corresponds to a
VertexIndex and
represents the index of a Vertex
inside a partition. The RangeBasedProperties
whose corresponding indices j
are between startIndices(i)
and startIndices(i+1) - 1
apply to the Vertex i
.
If startIndices(i) == startIndices(i+1)
,
Vertex i
has no
RangeBasedProperties.
Note that the last value of startIndices
does not correspond to any
Vertex. This value must be equal to
startOffsets.length
. This value allows calculating the
RangeBasedProperties
that apply to the last Vertex the same
way as for all the other Vertices.
- Note
Although this object contains Arrays, you should treat it as immutable.
- Alphabetic
- By Inheritance
- OverlappingRangeBasedPropertyTile
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
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
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- val endOffsets: Array[Double]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
- val firstRangeIndices: Array[Int]
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
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()
- val startOffsets: Array[Double]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- val tileId: TileId
-
def
toString(): String
- Definition Classes
- AnyRef → Any
- val values: Array[T]
-
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
- @throws( ... ) @native()