Represents a 3D point with floating point coordinates. More...
Public Member Functions | |
| E3DPoint (float x, float y, float z) | |
| Constructs a default E3DPoint object. | |
| float | SquareDistanceTo (eVision.Easy3D.E3DPoint point) |
| Returns the euclidean squared distance to another E3DPoint. | |
| float | DistanceTo (eVision.Easy3D.E3DPoint point) |
| Returns the euclidean distance to another E3DPoint. | |
| float | DistanceToSegment (eVision.Easy3D.E3DPoint from, eVision.Easy3D.E3DPoint to) |
| Returns the euclidean distance between the E3DPoint and a segment represented by 2 other E3DPoint. | |
| void | Save (string fileName) |
| Saves the E3DPoint. | |
| void | Save (eVision.ESerializer serializer) |
| Saves the E3DPoint. | |
| void | Load (string fileName) |
| Loads the E3DPoint. | |
| void | Load (eVision.ESerializer serializer) |
| Loads the E3DPoint. | |
Static Public Member Functions | |
| static bool | operator== (eVision.Easy3D.E3DPoint extraArgument, eVision.Easy3D.E3DPoint point) |
| Checks if two E3DPoint are strictly equal. | |
| static bool | operator!= (eVision.Easy3D.E3DPoint extraArgument, eVision.Easy3D.E3DPoint point) |
| Checks if two E3DPoint are strictly different. | |
Public Attributes | |
| float | X |
| X coordinate of the point. | |
| float | Y |
| Y coordinate of the point. | |
| float | Z |
| Z coordinate of the point. | |
Represents a 3D point with floating point coordinates.
License(s): Easy3D
| eVision.Easy3D.E3DPoint.E3DPoint | ( | float | x, |
| float | y, | ||
| float | z ) |
Constructs a default E3DPoint object.
| x | X coordinate of the point. |
| y | Y coordinate of the point. |
| z | Z coordinate of the point. |
If the default constructor is used, the point is initialized to (0, 0, 0).
| float eVision.Easy3D.E3DPoint.DistanceTo | ( | eVision.Easy3D.E3DPoint | point | ) |
Returns the euclidean distance to another E3DPoint.
| point | The other point. |
| float eVision.Easy3D.E3DPoint.DistanceToSegment | ( | eVision.Easy3D.E3DPoint | from, |
| eVision.Easy3D.E3DPoint | to ) |
| void eVision.Easy3D.E3DPoint.Load | ( | eVision.ESerializer | serializer | ) |
Loads the E3DPoint.
| serializer | Serializer. Must be in read mode. |
| void eVision.Easy3D.E3DPoint.Load | ( | string | fileName | ) |
Loads the E3DPoint.
| fileName | Path to the file. |
|
static |
Checks if two E3DPoint are strictly different.
| point | The other point. |
|
static |
Checks if two E3DPoint are strictly equal.
| point | The other point. |
| void eVision.Easy3D.E3DPoint.Save | ( | eVision.ESerializer | serializer | ) |
Saves the E3DPoint.
| serializer | Serializer. Must be in write mode. |
| void eVision.Easy3D.E3DPoint.Save | ( | string | fileName | ) |
Saves the E3DPoint.
| fileName | Path to the file. |
| float eVision.Easy3D.E3DPoint.SquareDistanceTo | ( | eVision.Easy3D.E3DPoint | point | ) |
Returns the euclidean squared distance to another E3DPoint.
| point | The other point. |
| float eVision.Easy3D.E3DPoint.X |
X coordinate of the point.
| float eVision.Easy3D.E3DPoint.Y |
Y coordinate of the point.
| float eVision.Easy3D.E3DPoint.Z |
Z coordinate of the point.