Click or drag to resize
Accord.NET (logo)

LineSegment  Conversion (LineSegment to Line)

Converts this LineSegment to a Line by discarding its endpoints and extending it infinitely in both directions.

Namespace:  Accord.Math.Geometry
Assembly:  Accord.Math (in Accord.Math.dll) Version: 3.8.0
Syntax
public static explicit operator Line (
	LineSegment segment
)
Request Example View Source

Parameters

segment
Type: Accord.Math.GeometryLineSegment
The segment to convert to a Line.

Return Value

Type: Line
Returns a Line that contains this segment.
See Also