Represents a 3D point with floating point coordinates. More...
Public Member Functions | |
| None | __init__ (self) |
| Constructs a default eVision.Easy3D.E3DPoint object. | |
| None | __init__ (self, float x, float y, float z) |
| Constructs a default eVision.Easy3D.E3DPoint object. | |
| None | __init__ (self, float X) |
| None | __init__ (self, float X, float Y) |
| None | __init__ (self, eVision.Easy3D.E3DPoint other) |
| float | SquareDistanceTo (self, eVision.Easy3D.E3DPoint point) |
| Returns the euclidean squared distance to another eVision.Easy3D.E3DPoint. | |
| float | DistanceTo (self, eVision.Easy3D.E3DPoint point) |
| Returns the euclidean distance to another eVision.Easy3D.E3DPoint. | |
| float | DistanceToSegment (self, eVision.Easy3D.E3DPoint from_, eVision.Easy3D.E3DPoint to) |
| Returns the euclidean distance between the eVision.Easy3D.E3DPoint and a segment represented by 2 other eVision.Easy3D.E3DPoint. | |
| None | Save (self, str fileName) |
| Saves the eVision.Easy3D.E3DPoint. | |
| None | Save (self, eVision.ESerializer|None serializer) |
| Saves the eVision.Easy3D.E3DPoint. | |
| None | Load (self, str fileName) |
| Loads the eVision.Easy3D.E3DPoint. | |
| None | Load (self, eVision.ESerializer|None serializer) |
| Loads the eVision.Easy3D.E3DPoint. | |
| float | X (self) |
| X coordinate of the point. | |
| X (self, float value) | |
| X coordinate of the point. | |
| float | Y (self) |
| Y coordinate of the point. | |
| Y (self, float value) | |
| Y coordinate of the point. | |
| float | Z (self) |
| Z coordinate of the point. | |
| Z (self, float value) | |
| Z coordinate of the point. | |
| None eVision.Easy3D.E3DPoint.__init__ | ( | self | ) |
Constructs a default eVision.Easy3D.E3DPoint object.
Remarks:
If the default constructor is used, the point is initialized to (0, 0, 0).
| None eVision.Easy3D.E3DPoint.__init__ | ( | self, | |
| float | x, | ||
| float | y, | ||
| float | z ) |
Constructs a default eVision.Easy3D.E3DPoint object.
Remarks:
If the default constructor is used, the point is initialized to (0, 0, 0).
| x | X coordinate of the point. |
| y | Y coordinate of the point. |
| z | Z coordinate of the point. |
| None eVision.Easy3D.E3DPoint.__init__ | ( | self, | |
| float | X ) |
| X | X coordinate of the point. |
| None eVision.Easy3D.E3DPoint.__init__ | ( | self, | |
| float | X, | ||
| float | Y ) |
| X | X coordinate of the point. |
| Y | Y coordinate of the point. |
| None eVision.Easy3D.E3DPoint.__init__ | ( | self, | |
| eVision.Easy3D.E3DPoint | other ) |
| other | Other instance |
| float eVision.Easy3D.E3DPoint.DistanceTo | ( | self, | |
| eVision.Easy3D.E3DPoint | point ) |
Returns the euclidean distance to another eVision.Easy3D.E3DPoint.
| point | The other point. |
| float eVision.Easy3D.E3DPoint.DistanceToSegment | ( | self, | |
| eVision.Easy3D.E3DPoint | from_, | ||
| eVision.Easy3D.E3DPoint | to ) |
Returns the euclidean distance between the eVision.Easy3D.E3DPoint and a segment represented by 2 other eVision.Easy3D.E3DPoint.
| from_ | One end point of the segment |
| to | The other end point of the segment |
| None eVision.Easy3D.E3DPoint.Load | ( | self, | |
| eVision.ESerializer | None | serializer ) |
Loads the eVision.Easy3D.E3DPoint.
| serializer | Serializer. Must be in read mode. |
| None eVision.Easy3D.E3DPoint.Load | ( | self, | |
| str | fileName ) |
Loads the eVision.Easy3D.E3DPoint.
| fileName | Path to the file. |
| None eVision.Easy3D.E3DPoint.Save | ( | self, | |
| eVision.ESerializer | None | serializer ) |
Saves the eVision.Easy3D.E3DPoint.
| serializer | Serializer. Must be in write mode. |
| None eVision.Easy3D.E3DPoint.Save | ( | self, | |
| str | fileName ) |
Saves the eVision.Easy3D.E3DPoint.
| fileName | Path to the file. |
| float eVision.Easy3D.E3DPoint.SquareDistanceTo | ( | self, | |
| eVision.Easy3D.E3DPoint | point ) |
Returns the euclidean squared distance to another eVision.Easy3D.E3DPoint.
| point | The other point. |
| float eVision.Easy3D.E3DPoint.X | ( | self | ) |
X coordinate of the point.
| eVision.Easy3D.E3DPoint.X | ( | self, | |
| float | value ) |
X coordinate of the point.
| float eVision.Easy3D.E3DPoint.Y | ( | self | ) |
Y coordinate of the point.
| eVision.Easy3D.E3DPoint.Y | ( | self, | |
| float | value ) |
Y coordinate of the point.
| float eVision.Easy3D.E3DPoint.Z | ( | self | ) |
Z coordinate of the point.
| eVision.Easy3D.E3DPoint.Z | ( | self, | |
| float | value ) |
Z coordinate of the point.