eVision Python API
Loading...
Searching...
No Matches
eVision.Easy3D.E3DLine Class Reference

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.

Detailed Description

Represents a 3D line.

Remarks:

License(s): Easy3D

Constructor & Destructor Documentation

◆ __init__() [1/3]

None eVision.Easy3D.E3DLine.__init__ ( self)

Creates an eVision.Easy3D.E3DLine object.

It is possible to initialize it by specifying its two points.

◆ __init__() [2/3]

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.

Parameters
p1The first point of the line.
p2The second point of the line.

◆ __init__() [3/3]

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.

Parameters
otherThe other eVision.Easy3D.E3DLine that we will copy into this one.

Member Function Documentation

◆ Define()

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.

Parameters
p1The first point of the line.
p2The second point of the line.

◆ FirstPoint()

eVision.Easy3D.E3DPoint eVision.Easy3D.E3DLine.FirstPoint ( self)

Gets the first point of the line.

◆ Load() [1/2]

None eVision.Easy3D.E3DLine.Load ( self,
eVision.ESerializer | None serializer )

Loads a eVision.Easy3D.E3DLine.

The given ESerializer must have been created for reading.

Parameters
serializerThe eVision.ESerializer object that is read from.

◆ Load() [2/2]

None eVision.Easy3D.E3DLine.Load ( self,
str path )

Loads a eVision.Easy3D.E3DLine.

The given ESerializer must have been created for reading.

Parameters
pathThe file path.

◆ Save() [1/2]

None eVision.Easy3D.E3DLine.Save ( self,
eVision.ESerializer | None serializer )

Saves a eVision.Easy3D.E3DLine.

The given ESerializer must have been created for writing.

Parameters
serializerThe eVision.ESerializer object that is written to.

◆ Save() [2/2]

None eVision.Easy3D.E3DLine.Save ( self,
str path )

Saves a eVision.Easy3D.E3DLine.

The given ESerializer must have been created for writing.

Parameters
pathThe file path.

◆ SecondPoint()

eVision.Easy3D.E3DPoint eVision.Easy3D.E3DLine.SecondPoint ( self)

Gets the second point of the line.