|
LineFromPoints Method
|
Creates a
Line that goes through the two specified points.
Namespace:
Accord.Math.Geometry
Assembly:
Accord.Math (in Accord.Math.dll) Version: 3.8.0
Syntax public static Line FromPoints(
Point point1,
Point point2
)
Public Shared Function FromPoints (
point1 As Point,
point2 As Point
) As Line
Request Example
View SourceParameters
- point1
- Type: AccordPoint
One point on the line. - point2
- Type: AccordPoint
Another point on the line.
Return Value
Type:
LineReturns a
Line representing the line between
point1
and
point2.
Exceptions Exception | Condition |
---|
ArgumentException | Thrown if the two points are the same. |
See Also