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

Represents a 3D line. More...

Inheritance diagram for eVision.Easy3D.E3DLine:
Collaboration diagram for eVision.Easy3D.E3DLine:

Public Member Functions

 E3DLine ()
 Creates an E3DLine object.
 E3DLine (eVision.Easy3D.E3DPoint p1, eVision.Easy3D.E3DPoint p2)
 Creates an E3DLine object.
 E3DLine (eVision.Easy3D.E3DLine other)
 Creates an E3DLine object.
void Define (eVision.Easy3D.E3DPoint p1, eVision.Easy3D.E3DPoint p2)
 (re)Defines the line parameters:
void Load (string path)
 Loads a E3DLine. The given ESerializer must have been created for reading.
void Load (eVision.ESerializer serializer)
 Loads a E3DLine. The given ESerializer must have been created for reading.
void Save (string path)
 Saves a E3DLine. The given ESerializer must have been created for writing.
void Save (eVision.ESerializer serializer)
 Saves a E3DLine. The given ESerializer must have been created for writing.

Properties

eVision.Easy3D.E3DPoint FirstPoint [get]
 Gets the first point of the line.
eVision.Easy3D.E3DPoint SecondPoint [get]
 Gets the second point of the line.

Detailed Description

Represents a 3D line.

License(s): Easy3D

Constructor & Destructor Documentation

◆ E3DLine() [1/3]

eVision.Easy3D.E3DLine.E3DLine ( )

Creates an E3DLine object.

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

◆ E3DLine() [2/3]

eVision.Easy3D.E3DLine.E3DLine ( eVision.Easy3D.E3DPoint p1,
eVision.Easy3D.E3DPoint p2 )

Creates an 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.

◆ E3DLine() [3/3]

eVision.Easy3D.E3DLine.E3DLine ( eVision.Easy3D.E3DLine other)

Creates an E3DLine object.

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

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

Member Function Documentation

◆ Define()

void eVision.Easy3D.E3DLine.Define ( 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.

◆ Load() [1/2]

void eVision.Easy3D.E3DLine.Load ( eVision.ESerializer serializer)

Loads a E3DLine. The given ESerializer must have been created for reading.

Parameters
serializerThe ESerializer object that is read from.

◆ Load() [2/2]

void eVision.Easy3D.E3DLine.Load ( string path)

Loads a E3DLine. The given ESerializer must have been created for reading.

Parameters
pathThe file path.

◆ Save() [1/2]

void eVision.Easy3D.E3DLine.Save ( eVision.ESerializer serializer)

Saves a E3DLine. The given ESerializer must have been created for writing.

Parameters
serializerThe ESerializer object that is written to.

◆ Save() [2/2]

void eVision.Easy3D.E3DLine.Save ( string path)

Saves a E3DLine. The given ESerializer must have been created for writing.

Parameters
pathThe file path.

Property Documentation

◆ FirstPoint

eVision.Easy3D.E3DPoint eVision.Easy3D.E3DLine.FirstPoint
get

Gets the first point of the line.

◆ SecondPoint

eVision.Easy3D.E3DPoint eVision.Easy3D.E3DLine.SecondPoint
get

Gets the second point of the line.