Kerbal Space Program  1.12.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Public Member Functions | Public Attributes | List of all members
CommNet.Occluder Class Referenceabstract
Inheritance diagram for CommNet.Occluder:
CommNet.Occluders.OccluderHorizonCulling

Public Member Functions

virtual bool InRange (Vector3d source, double distance)
 Is occluder close enough to the source of the raycast to matter? Note: All in worldspace. Requires position to be up-to-date. More...
 
abstract bool Raycast (Vector3d source, Vector3d dest)
 Does the raycast from source to dest hit the occluder? NOTE: all positions in worldspace. Requires occluder position (and any other members) to be up-to-date. More...
 
virtual void Update ()
 

Public Attributes

Vector3d position
 
double radius
 

Member Function Documentation

virtual bool CommNet.Occluder.InRange ( Vector3d  source,
double  distance 
)
inlinevirtual

Is occluder close enough to the source of the raycast to matter? Note: All in worldspace. Requires position to be up-to-date.

Parameters
source
distance
Returns

Reimplemented in CommNet.Occluders.OccluderHorizonCulling.

abstract bool CommNet.Occluder.Raycast ( Vector3d  source,
Vector3d  dest 
)
pure virtual

Does the raycast from source to dest hit the occluder? NOTE: all positions in worldspace. Requires occluder position (and any other members) to be up-to-date.

Parameters
source
dest
Returns

Implemented in CommNet.Occluders.OccluderHorizonCulling.

virtual void CommNet.Occluder.Update ( )
inlinevirtual

Member Data Documentation

Vector3d CommNet.Occluder.position
double CommNet.Occluder.radius

The documentation for this class was generated from the following file: