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 | |
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from | ||
| GetDistance |
Static helper method for calculating the distance between two 3-dimensional points
| |
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 position
| |
Returns a string that represents the current object. (Inherited from | ||
| 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