Converts the edge into a line.

Namespace:  ceometric.VectorGeometry
Assembly:  ceometric.VectorGeometry (in ceometric.VectorGeometry.dll) Version: 1.8.0.0 (1.8.0.0)

Syntax

C#
public Line ToLine()
Visual Basic (Declaration)
Public Function ToLine As Line
Visual C++
public:
Line^ ToLine()

Return Value

Returns a line collinear to the edge. The defining point of the line is the start point of the edge, the direction vector of the line points to the end point of the edge.

Returns a random line with the start point of the edge as defining point if the edge has zero length.

See Also