Virtual PhotonicsThe Direction type exposes the following members.
Back to Top
Back to Top
Back to Top
Back to Top
Constructors
Name | Description | |
---|---|---|
![]() | Direction |
default constructor for direction (0,0,1)
|
![]() | Direction(Double, Double, Double) |
constructor for direction, passes x, y and z values
|
Methods
Name | Description | |
---|---|---|
![]() | Clone |
Method to clone unit directional
|
![]() | Equals |
Instance member for equality comparison
(Overrides ![]() |
![]() | ![]() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from ![]() |
![]() ![]() | GetDotProduct |
Method to determine dot product between two unit directionals.
|
![]() | ![]() | Serves as a hash function for a particular type. (Inherited from ![]() |
![]() | ![]() | Gets the (Inherited from ![]() ![]() |
![]() | ![]() | Creates a shallow copy of the current (Inherited from ![]() ![]() |
![]() ![]() | ReadBinary |
Method to read binary version of unit directional
|
![]() | ![]() | Returns a string that represents the current object. (Inherited from ![]() |
![]() | WriteBinary |
Method to write binary version of unit directional
|
Operators
Name | Description | |
---|---|---|
![]() ![]() | Equality |
Equality overload for two 3D direction cosines
|
![]() ![]() | Inequality |
Inequality overload for two 3D direction cosines
|
Properties
Name | Description | |
---|---|---|
![]() ![]() | AlongPositiveXAxis |
Method that returns unit directional along positive x-axis
|
![]() ![]() | AlongPositiveYAxis |
Method that returns unit directional along positive y-axis
|
![]() ![]() | AlongPositiveZAxis |
Method that returns unit directional along positive z-axis
|
![]() | Ux |
x direction
|
![]() | Uy |
y direction
|
![]() | Uz |
z direction
|
See Also