Virtual PhotonicsThe Position type exposes the following members.
Back to Top
Back to Top
Back to Top
Back to Top
Constructors
Name | Description | |
---|---|---|
Position |
Returns a default 3-dimensional cartesian point, located at the origin (x=0, y=0, z=0)
| |
Position(Double, Double, Double) |
Returns a 3-dimensional cartesian point in space, based on an x, y, and z position
|
Methods
Name | Description | |
---|---|---|
Clone |
Method to clone position
| |
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.) | |
GetDistance |
Static helper method for calculating the distance between two 3-dimensional points
| |
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 position
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
WriteBinary |
Method to write binary version of position
|
Operators
Name | Description | |
---|---|---|
Addition |
Operator overload for adding two 3D cartesian positions
| |
Equality |
Equality overload for two 3D cartesian coordinates
| |
Inequality |
Inequality overload for two 3D cartesian coordinates
| |
Subtraction |
Operator overload for subtracting two 3D cartesian positions
|
Properties
Name | Description | |
---|---|---|
X |
The X component of the position
| |
Y |
The Y component of the position
| |
Z |
The Z component of the position
|
See Also