Name | Description | |
---|---|---|
NLineSegment Constructor | Overloaded. |
The following tables list the members exposed by NLineSegment.
Name | Description | |
---|---|---|
NLineSegment Constructor | Overloaded. |
Name | Description | |
---|---|---|
EndX | End point X coordinate | |
EndY | End point Y coordinate | |
StartX | Start point X coordinate | |
StartY | Start point Y coordinate |
Name | Description | |
---|---|---|
Angle | Computes the angle (in radians), which the line forms with the X axis. | |
Bounds | Gets the minimal enclosing rectangle | |
BoundsRange | ||
Center | Gets the center point of this line segment. | |
DX | Gets the end and start points X difference | |
DY | Gets the end and start points Y difference | |
End | Gets or sets the end point | |
EndPoint | Gets or sets the end point of the open figure | |
Length | Computes the length of the line segment. | |
Middle | Gets the line segment middle point. | |
Start | Gets or sets the start point | |
StartPoint | Gets or sets the start point of the open figure |
Name | Description | |
---|---|---|
AddToPath | Appends the primitive to the specified graphics path | |
ContainsOnOutline | Determines whether the outline of the line contains the specified point | |
Distance | Gets the distance from the line segment to the given point. The point on the segment closest to the target point is used. | |
DistanceSquare | Gets the minimal distance (to the power of 2) from a point from the line segment to the given point. The point on the segment closest to the target point is used. | |
Equals | Overloaded. Checks whether this line segment is equal to the other line segment | |
ExtendEnd | Moves the end point along the line with the specified distance. A positive distance is directed away from the line center. | |
ExtendStart | Moves the start point along the line with the specified distance. A positive distance is directed away from the line center. | |
GetHashCode | ||
GetNearestPoint | Gets a point that lies on this line segment that is closest to the specified point | |
GetOutlineLength | Gets the length of this ellipse segment | |
GetPoint | Gets the point at the specified index | |
GetPointCount | Gets the line segment points count (2). | |
GetPointFromEnd | Gets a point on the line that is at the specified distance from the end point. A positive distance is directed towards the line center. | |
GetPointFromStart | Gets a point on the line that is at the specified distance from the start point. A positive distance is directed towards the line center. | |
IntersectsWith | Overloaded. Checks if this line segment intersects or overlaps the given one. | |
IntersectWith | Overloaded. Checks if this line segment intersects the given one and returns the intersection point as an out parameter if it does. | |
PointFromTime | Gets the point on the ray, which corresponds to the specified time | |
Scale | Scales this line segment | |
ToNLine | Converts a line segment to a line. | |
ToNRay | Converts a line segment to a ray. | |
ToString | Gets the string representation of this line segment. | |
Transform | Transforms this line | |
Translate | Translates the primitive with the specified amounts | |
TranslateEnd | Translates the end point of this line segment with the specified amount. | |
TranslateStart | Translates the start point of this line segment with the specified amount. |
Equality | Determines whether a is equal to b |
Inequality | Determines whether a is not equal to b |