Initializes a new instance of the LineSegment class

Namespace: Lucene.Net.Spatial.Geometry.Shape
Assembly: Lucene.Net.Contrib.Spatial (in Lucene.Net.Contrib.Spatial.dll) Version: 2.9.1.2 (2.9.1.002)

Syntax

C#
public LineSegment(
	Point2D p1,
	Point2D p2
)
Visual Basic
Public Sub New ( _
	p1 As Point2D, _
	p2 As Point2D _
)
Visual C++
public:
LineSegment(
	Point2D^ p1, 
	Point2D^ p2
)

Parameters

p1
Type: Lucene.Net.Spatial.Geometry.Shape..::..Point2D

[Missing <param name="p1"/> documentation for "M:Lucene.Net.Spatial.Geometry.Shape.LineSegment.#ctor(Lucene.Net.Spatial.Geometry.Shape.Point2D,Lucene.Net.Spatial.Geometry.Shape.Point2D)"]

p2
Type: Lucene.Net.Spatial.Geometry.Shape..::..Point2D

[Missing <param name="p2"/> documentation for "M:Lucene.Net.Spatial.Geometry.Shape.LineSegment.#ctor(Lucene.Net.Spatial.Geometry.Shape.Point2D,Lucene.Net.Spatial.Geometry.Shape.Point2D)"]

See Also