VPDirection MembersVirtual Photonics - VTS Library
Virtual Photonics

The Direction type exposes the following members.
Constructors

  NameDescription
Public methodDirection 
default constructor for direction (0,0,1)
Public methodDirection(Double, Double, Double)
constructor for direction, passes x, y and z values
Back to Top
Methods

  NameDescription
Public methodClone
Method to clone unit directional
Public methodEquals
Instance member for equality comparison
(Overrides OnlineObject Equals(Object).)
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 memberGetDotProduct
Method to determine dot product between two unit directionals.
Public methodOnlineGetHashCode
Serves as a hash function for a particular type.
(Inherited from OnlineObject.)
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 methodStatic memberReadBinary
Method to read binary version of unit directional
Public methodOnlineToString
Returns a string that represents the current object.
(Inherited from OnlineObject.)
Public methodWriteBinary
Method to write binary version of unit directional
Back to Top
Operators

  NameDescription
Public operatorStatic memberEquality
Equality overload for two 3D direction cosines
Public operatorStatic memberInequality
Inequality overload for two 3D direction cosines
Back to Top
Properties

  NameDescription
Public propertyStatic memberAlongPositiveXAxis
Method that returns unit directional along positive x-axis
Public propertyStatic memberAlongPositiveYAxis
Method that returns unit directional along positive y-axis
Public propertyStatic memberAlongPositiveZAxis
Method that returns unit directional along positive z-axis
Public propertyUx
x direction
Public propertyUy
y direction
Public propertyUz
z direction
Back to Top
See Also