Represents a 3D line. More...
Public Member Functions | |
| None | __init__ (self) |
| Creates an eVision.Easy3D.E3DLine object. | |
| None | __init__ (self, eVision.Easy3D.E3DPoint p1, eVision.Easy3D.E3DPoint p2) |
| Creates an eVision.Easy3D.E3DLine object. | |
| None | __init__ (self, eVision.Easy3D.E3DLine other) |
| Creates an eVision.Easy3D.E3DLine object. | |
| None | Define (self, eVision.Easy3D.E3DPoint p1, eVision.Easy3D.E3DPoint p2) |
| (re)Defines the line parameters: | |
| None | Load (self, str path) |
| Loads a eVision.Easy3D.E3DLine. | |
| None | Load (self, eVision.ESerializer|None serializer) |
| Loads a eVision.Easy3D.E3DLine. | |
| None | Save (self, str path) |
| Saves a eVision.Easy3D.E3DLine. | |
| None | Save (self, eVision.ESerializer|None serializer) |
| Saves a eVision.Easy3D.E3DLine. | |
| eVision.Easy3D.E3DPoint | FirstPoint (self) |
| Gets the first point of the line. | |
| eVision.Easy3D.E3DPoint | SecondPoint (self) |
| Gets the second point of the line. | |
| None eVision.Easy3D.E3DLine.__init__ | ( | self | ) |
Creates an eVision.Easy3D.E3DLine object.
It is possible to initialize it by specifying its two points.
| None eVision.Easy3D.E3DLine.__init__ | ( | self, | |
| eVision.Easy3D.E3DPoint | p1, | ||
| eVision.Easy3D.E3DPoint | p2 ) |
Creates an eVision.Easy3D.E3DLine object.
It is possible to initialize it by specifying its two points.
| p1 | The first point of the line. |
| p2 | The second point of the line. |
| None eVision.Easy3D.E3DLine.__init__ | ( | self, | |
| eVision.Easy3D.E3DLine | other ) |
Creates an eVision.Easy3D.E3DLine object.
It is possible to initialize it by specifying its two points.
| other | The other eVision.Easy3D.E3DLine that we will copy into this one. |
| None eVision.Easy3D.E3DLine.Define | ( | self, | |
| eVision.Easy3D.E3DPoint | p1, | ||
| eVision.Easy3D.E3DPoint | p2 ) |
(re)Defines the line parameters:
It is possible to use the first and the second points of the line.
| p1 | The first point of the line. |
| p2 | The second point of the line. |
| eVision.Easy3D.E3DPoint eVision.Easy3D.E3DLine.FirstPoint | ( | self | ) |
Gets the first point of the line.
| None eVision.Easy3D.E3DLine.Load | ( | self, | |
| eVision.ESerializer | None | serializer ) |
Loads a eVision.Easy3D.E3DLine.
The given ESerializer must have been created for reading.
| serializer | The eVision.ESerializer object that is read from. |
| None eVision.Easy3D.E3DLine.Load | ( | self, | |
| str | path ) |
Loads a eVision.Easy3D.E3DLine.
The given ESerializer must have been created for reading.
| path | The file path. |
| None eVision.Easy3D.E3DLine.Save | ( | self, | |
| eVision.ESerializer | None | serializer ) |
Saves a eVision.Easy3D.E3DLine.
The given ESerializer must have been created for writing.
| serializer | The eVision.ESerializer object that is written to. |
| None eVision.Easy3D.E3DLine.Save | ( | self, | |
| str | path ) |
Saves a eVision.Easy3D.E3DLine.
The given ESerializer must have been created for writing.
| path | The file path. |
| eVision.Easy3D.E3DPoint eVision.Easy3D.E3DLine.SecondPoint | ( | self | ) |
Gets the second point of the line.