Line Class |
[This is preliminary documentation and is subject to change.]
Namespace: Infrastructure.Geometry.Curves
public sealed class Line : Curve
The Line type exposes the following members.
| Name | Description | |
|---|---|---|
| Line(IEnumerablePoint) |
Create a new line based on the given points. Only the first and last point will be used
| |
| Line(Point, Point) |
Create a new line using the given start and end point
|
| Name | Description | |
|---|---|---|
| Begin |
The first point of the curve
(Inherited from Curve.) | |
| End |
The last point of the curve
(Inherited from Curve.) | |
| NumberOfPointsRequiredForRendering |
Determines how many points the curve needs in order to be rendered correctly
(Overrides CurveNumberOfPointsRequiredForRendering.) | |
| Points |
The list of points that make up the curve
(Inherited from Curve.) |
| Name | Description | |
|---|---|---|
| GetAbsolutePart(Double, Double) |
Retrieves an absolute part of the curve as new curve
(Inherited from Curve.) | |
| GetAbsolutePart(Double, Double, Origin) |
Retrieves an absolute part of the curve as a new curve.
The origin parameter will dictate the direction of the curve
(Inherited from Curve.) | |
| GetCoordinateSystemOnRelativePosition |
Returns the coordinate system in a given point on the curve
(Inherited from Curve.) | |
| GetPointOnPosition |
Retrieve a point on the specified position of the curve
(Overrides CurveGetPointOnPosition(Double).) | |
| GetPositions |
Generate a list of relative values that represent positions on the curve.
All values are between 0 and 1
(Inherited from Curve.) | |
| GetPositionsByApproximation |
Generate a list of relative values that represent positions on the curve.
The amount of values returned is determined by GetSegmentCount (Inherited from Curve.) | |
| GetPositionsByCount |
Generate a number of relative values that represent positions on the curve.
All values are between 0 and 1
(Inherited from Curve.) | |
| GetRelativePart(Double, Double) |
Retrieves a relative part of the curve as new curve
(Inherited from Curve.) | |
| GetRelativePart(Double, Double, Origin) |
Retrieves a relative part of the curve as a new curve.
The origin parameter will dictate the direction of the curve
(Inherited from Curve.) | |
| GetSegmentCount |
Determines out of how many "segments" the curve should exist when rendering.
(Overrides CurveGetSegmentCount.) | |
| GetTangentVector |
Retrieves the tangent vector of the curve at the specified position
(Overrides CurveGetTangentVector(Double).) | |
| IsPointOn |
Verifies the given point is on the curve
(Overrides CurveIsPointOn(Point).) | |
| Length |
Determines the length of the curve, in meters
(Overrides CurveLength.) |