VPSourceToolbox MembersVirtual Photonics - VTS Library
Virtual Photonics

The SourceToolbox type exposes the following members.
Constructors

  NameDescription
Public methodSourceToolbox
Initializes a new instance of the SourceToolbox class
Back to Top
Methods

  NameDescription
Public methodOnlineEquals
Determines whether the specified OnlineObject is equal to the current OnlineObject.
(Inherited from OnlineObject.)
Protected methodOnlineFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from OnlineObject.)
Public methodStatic memberGetDirectionForGiven2DPositionAndGivenPolarAngle
Provides a direction for a given two dimensional position and a polar angle
Public methodStatic memberGetDirectionForGivenPolarAzimuthalAngleRangeRandom
Provides a direction after uniform sampling of given polar angle range and azimuthal angle range
Public methodStatic memberGetDirectionForIsotropicDistributionRandom
Provides a random direction for a isotropic point source
Public methodStatic memberGetDoubleNormallyDistributedRandomNumbers
Generate two normally (Gaussian) distributed random numbers by using Box Muller Algorithm (with sine/cosine)
Public methodOnlineGetHashCode
Serves as a hash function for a particular type.
(Inherited from OnlineObject.)
Public methodStatic memberGetLimit
Provides the limit of a flat random distribution between 0 and 1
Public methodStatic memberGetPolarAzimuthalPairForGivenAngleRangeRandom
Provides polar azimuthal angle pair after uniform sampling of given polar angle range and azimuthal angle range
Public methodStatic memberGetPolarAzimuthalPairFromDirection
Provide corresponding Polar Azimuthal Angle pair for a given direction
Public methodStatic memberGetPositionInACircleRandomFlat
Provides a random position in a circle (Flat distribution)
Public methodStatic memberGetPositionInACircleRandomGaussian
Provides a random position in a circle (Gaussisan distribution)
Public methodStatic memberGetPositionInACuboidRandomFlat
Returns a random position in a cuboid volume (Flat distribution)
Public methodStatic memberGetPositionInACuboidRandomGaussian
Returns a random position in a cuboid volume (Gaussian distribution)
Public methodStatic memberGetPositionInALineRandomFlat
Returns a random position in a line (Flat distribution)
Public methodStatic memberGetPositionInALineRandomGaussian
Returns a random position in a line (Flat distribution)
Public methodStatic memberGetPositionInAnEllipseRandomFlat
Provides a random position in an ellipse (Flat distribution)
Public methodStatic memberGetPositionInAnEllipseRandomGaussian
Provides a random position in an ellipse (Gaussian distribution)
Public methodStatic memberGetPositionInAnEllipsoidRandomFlat
Returns a random position in an ellipsoid volume (Flat distribution)
Public methodStatic memberGetPositionInAnEllipsoidRandomGaussian
Returns a random position in an ellipsoid volume (Gaussian distribution)
Public methodStatic memberGetPositionInARectangleRandomFlat
Returns a random position in a rectangular surface (Flat distribution)
Public methodStatic memberGetPositionInARectangleRandomGaussian
Returns a random position in a rectangular surface (Gaussian distribution)
Public methodStatic memberGetPositionOfASymmetricalLineRandomFlat
Provides a flat random location of a symmetrical line
Public methodStatic memberGetSingleNormallyDistributedRandomNumber
Generate one normally (Gaussian) distributed random number by using Box Muller Algorithm (with sine/cosine)
Public methodOnlineGetType
Gets the OnlineType of the current instance.
(Inherited from OnlineObject.)
Protected methodOnlineMemberwiseClone
Creates a shallow copy of the current OnlineObject.
(Inherited from OnlineObject.)
Public methodOnlineToString
Returns a string that represents the current object.
(Inherited from OnlineObject.)
Public methodStatic memberUpdateDirectionAfterRotatingAroundThreeAxis
Update the direction after rotating around three axis
Public methodStatic memberUpdateDirectionAfterRotatingAroundXAxis
Update the direction after rotating around the x-axis
Public methodStatic memberUpdateDirectionAfterRotatingAroundYAxis
Update the direction after rotating around the y-axis
Public methodStatic memberUpdateDirectionAfterRotatingAroundZAxis
Update the direction after rotating around the z-axis
Public methodStatic memberUpdateDirectionAfterRotatingByGivenAnglePair
Update the direction after rotating by given polar and azimuthal angle
Public methodStatic memberUpdateDirectionPositionAfterGivenFlags(Position , Direction , PolarAzimuthalAngles, Position, SourceFlags)
Update the direction and position after beam axis rotation and translation
Public methodStatic memberUpdateDirectionPositionAfterGivenFlags(Position , Direction , PolarAzimuthalAngles, Position, PolarAzimuthalAngles, SourceFlags)
Update the direction and position after beam rotation, source axis rotation and translation
Public methodStatic memberUpdateDirectionPositionAfterRotatingAroundXAxis
Update the direction and position of the source after rotating around the x-axis
Public methodStatic memberUpdateDirectionPositionAfterRotatingAroundYAxis
Update the direction and position of the source after rotating around the y-axis
Public methodStatic memberUpdateDirectionPositionAfterRotatingAroundZAxis
Update the direction and position of the source after rotating around the z-axis
Public methodStatic memberUpdateDirectionPositionAfterRotatingByGivenAnglePair
Update the direction and position of the source after rotating by a given polar and azimuthal angle
Public methodStatic memberUpdatePolarAngleForDirectionalSources
Update the polar angle based on incidnet location
Public methodStatic memberUpdatePositionAfterTranslation
Update the position after translation
Back to Top
See Also