Constructs a line through two points.
Namespace:
ceometric.VectorGeometryAssembly: ceometric.VectorGeometry (in ceometric.VectorGeometry.dll) Version: 1.8.0.0 (1.8.0.0)
Syntax
C# |
---|
public Line( Point point1, Point point2 ) |
Visual Basic (Declaration) |
---|
Public Sub New ( _ point1 As Point, _ point2 As Point _ ) |
Visual C++ |
---|
public: Line( Point^ point1, Point^ point2 ) |
Parameters
- point1
- Type: ceometric.VectorGeometry..::.Point
A first Point on the line.
- point2
- Type: ceometric.VectorGeometry..::.Point
A second Point on the line.
Exceptions
Exception | Condition |
---|---|
System..::.ArgumentException | point1 and point2 are identical. |