abstract class OcclusionInformation extends AnyRef
This class provides raycast information for a mesh. For each vertex rays will be cast against the mesh based on a set of raycast directions. The same set of raycast directions will be used for all vertices.
- Alphabetic
- By Inheritance
- OcclusionInformation
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new OcclusionInformation()
Abstract Value Members
-
abstract
def
atPoint(pointId: PointId): IndexedSeq[Option[(TriangleId, Double)]]
Returns a set of raycast information for a specific vertex.
Returns a set of raycast information for a specific vertex. The result is an ordered sequence of raycast results (i.e. Options[(TriangleId, Double)]) that correspond to the sequence of raycast directions (c.f. raycastDirections).
If a particular ray does not intersect any geometry, the corresponding raycast result will None, otherwise it will be a tuple that describes the intersection in terms of a TriangleId and a distance d, such that ray.apply(d) describes the point of intersection.
- pointId
The id of the vertex for which to get the raycast information.
- returns
A sequence of raycast results.
-
abstract
val
numberOfPoints: Int
The number of vertices (i.e.
The number of vertices (i.e. raycast origins) in the mesh.
-
abstract
val
raycastDirections: VectorsOnUnitSphere
A set of directions that are used for raycasting.
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 buffered: OcclusionInformation
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
hashCode(): Int
- Definition Classes
- 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
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
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( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )