VPPosition MembersVirtual Photonics - VTS Library
Virtual Photonics

The Position type exposes the following members.
Constructors

  NameDescription
Public methodPosition 
Returns a default 3-dimensional cartesian point, located at the origin (x=0, y=0, z=0)
Public methodPosition(Double, Double, Double)
Returns a 3-dimensional cartesian point in space, based on an x, y, and z position
Back to Top
Methods

  NameDescription
Public methodClone
Method to clone position
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 memberGetDistance
Static helper method for calculating the distance between two 3-dimensional points
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 position
Public methodOnlineToString
Returns a string that represents the current object.
(Inherited from OnlineObject.)
Public methodWriteBinary
Method to write binary version of position
Back to Top
Operators

  NameDescription
Public operatorStatic memberAddition
Operator overload for adding two 3D cartesian positions
Public operatorStatic memberEquality
Equality overload for two 3D cartesian coordinates
Public operatorStatic memberInequality
Inequality overload for two 3D cartesian coordinates
Public operatorStatic memberSubtraction
Operator overload for subtracting two 3D cartesian positions
Back to Top
Properties

  NameDescription
Public propertyX
The X component of the position
Public propertyY
The Y component of the position
Public propertyZ
The Z component of the position
Back to Top
See Also