Navigation: Scripting Reference Manual > Data Structures > T_IMPSAMPELLIPSOID

 

T_IMPSAMPELLIPSOID

 

Contact Us: fredsupport@photonengr.com

 

Description

Data structure for definition of Importance Sampling Ellipsoidal volume.

 

Definition

Type T_IMPSAMPELLIPSOID

x As Double

y As Double

z As Double

a1 As Double

b1 As Double

c1 As Double

a2 As Double

b2 As Double

c2 As Double

semiApe1 As Double

semiApe2 As Double

semiApe3 As Double

entity As Long

End Type

 

Members

x

The X component of the center of the ellipsoid.

 

y

The Y component of the center of the ellipsoid.

 

z

The Z component of the center of the ellipsoid.

 

a1

x component of the direction vector for the first axis of the ellipsoid.

 

b1

y component of the direction vector for the first axis of the ellipsoid.

 

c1

z component of the direction vector for the first axis of the ellipsoid.

 

a2

x component of the direction vector for the second axis of the ellipsoid.

 

b2

y component of the direction vector for the second axis of the ellipsoid.

 

c2

z component of the direction vector for the second axis of the ellipsoid.

 

semiApe1

Semi-aperture of the ellipsoid in the first axis direction.

 

semiApe2

Semi-aperture of the ellipsoid in the second axis direction.

 

semiApe3

Semi-aperture of the ellipsoid in the third axis direction.

 

entity

The node number of the FRED entity whose coordinate system will orient the ellipsoid.

 

Remarks

The first and second axis vectors do not have to be unit length.  If the second axis is not exactly perpendicular to the first, then it will be rotated so that it is.  The third axis vector will be automatically computed to be mutually perpendicular to the first two.

 

Used as Parameter in

ImpSampAddEllipsoid

ImpSampGetEllipsoid

ImpSampSetEllipsoid

Examples

Importance Samples

 

 

 

 

 

Copyright © Photon Engineering, LLC