Represents a parallel light source.   
 More...
 | 
|   | ParallelLightSource (double intensity, NormalizedVector3D direction) | 
|   | Creates a new ParallelLightSource instance.   More...
  | 
|   | 
| LightIntensity  | GetLightAt (Point3D point) | 
|   | Computes the light intensity at the specified point, without taking into account any obstructions. - Parameters
 - 
  
    | point | The Point3DElement at which the light intensity should be computed. |  
   
   
 
- Returns
  
  More...
  | 
|   | 
| double  | GetObstruction (Point3D point, IEnumerable< Triangle3DElement > shadowingTriangles) | 
|   | Determines the amount of obstruction of the light that results at point  due to the specified shadowingTriangles . - Parameters
 - 
  
    | point | The Point3D at which the obstruction should be computed. |  
    | shadowingTriangles | A collection of Triangle3DElement casting shadows. |  
   
   
 
- Returns
 - 1 if the light is completely obstructed, 0 if the light is completely visible, a value between these if the light is partially obstructed.
  
  More...
  | 
|   | 
| LightIntensity  | GetLightAt (Point3D point) | 
|   | Computes the light intensity at the specified point, without taking into account any obstructions.   More...
  | 
|   | 
| double  | GetObstruction (Point3D point, IEnumerable< Triangle3DElement > shadowingTriangles) | 
|   | Determines the amount of obstruction of the light that results at point  due to the specified shadowingTriangles .   More...
  | 
|   | 
Represents a parallel light source.  
Definition at line 126 of file Lights.cs.
 
◆ ParallelLightSource()
      
        
          | VectSharp.ThreeD.ParallelLightSource.ParallelLightSource  | 
          ( | 
          double  | 
          intensity,  | 
        
        
           | 
           | 
          NormalizedVector3D  | 
          direction  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
Creates a new ParallelLightSource instance.  
- Parameters
 - 
  
    | intensity | The intensity of the light. | 
    | direction | The direction along which the light travels. | 
  
   
Definition at line 151 of file Lights.cs.
 
 
◆ GetLightAt()
      
        
          | LightIntensity VectSharp.ThreeD.ParallelLightSource.GetLightAt  | 
          ( | 
          Point3D  | 
          point | ) | 
           | 
        
      
 
Computes the light intensity at the specified point, without taking into account any obstructions. 
- Parameters
 - 
  
    | point | The Point3DElement at which the light intensity should be computed. | 
  
   
- Returns
 
 
Implements VectSharp.ThreeD.ILightSource.
Definition at line 159 of file Lights.cs.
 
 
◆ GetObstruction()
      
        
          | double VectSharp.ThreeD.ParallelLightSource.GetObstruction  | 
          ( | 
          Point3D  | 
          point,  | 
        
        
           | 
           | 
          IEnumerable< Triangle3DElement >  | 
          shadowingTriangles  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
Determines the amount of obstruction of the light that results at point  due to the specified shadowingTriangles . 
- Parameters
 - 
  
    | point | The Point3D at which the obstruction should be computed. | 
    | shadowingTriangles | A collection of Triangle3DElement casting shadows. | 
  
   
- Returns
 - 1 if the light is completely obstructed, 0 if the light is completely visible, a value between these if the light is partially obstructed.
 
 
Implements VectSharp.ThreeD.ILightSource.
Definition at line 165 of file Lights.cs.
 
 
◆ CastsShadow
  
  
      
        
          | bool VectSharp.ThreeD.ParallelLightSource.CastsShadow = true | 
         
       
   | 
  
getset   | 
  
 
 
◆ Direction
  
  
      
        
          | NormalizedVector3D VectSharp.ThreeD.ParallelLightSource.Direction | 
         
       
   | 
  
get   | 
  
 
The direction along which the light travels.  
Definition at line 136 of file Lights.cs.
 
 
◆ Intensity
  
  
      
        
          | double VectSharp.ThreeD.ParallelLightSource.Intensity | 
         
       
   | 
  
getset   | 
  
 
The intensity of the light.  
Definition at line 131 of file Lights.cs.
 
 
◆ ReverseDirection
  
  
      
        
          | NormalizedVector3D VectSharp.ThreeD.ParallelLightSource.ReverseDirection | 
         
       
   | 
  
get   | 
  
 
 
The documentation for this class was generated from the following file: