A line segment between two points.
Namespace: Stemmer.Cvb.Geometry2D
Assembly: Stemmer.Cvb (in Stemmer.Cvb.dll) Version: 14.0.0.0
Syntax
The LineSegment type exposes the following members.
Constructors
Name | Description | |
---|---|---|
LineSegment(Point2D, Point2D) |
Creates a line segment based on the two given points
p0 and p1.
| |
LineSegment(Int32, Int32, Int32, Int32) |
Creates a line segment based on the given coordinates.
|
Properties
Name | Description | |
---|---|---|
Length |
Gets the length of this line segment.
| |
P0 |
Start point.
| |
P1 |
End point.
|
Methods
Name | Description | |
---|---|---|
CalculatePointsOnLine |
Calculates all the points on this line.
| |
Equals | Indicates whether this instance and a specified object are equal. (Inherited from ValueType.) | |
GetHashCode | Returns the hash code for this instance. (Inherited from ValueType.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
ToString | Returns the fully qualified type name of this instance. (Inherited from ValueType.) |
See Also