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 Object Equals(Object).) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetDotProduct |
Method to determine dot product between two unit directionals.
| |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ReadBinary |
Method to read binary version of unit directional
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
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