﻿ NLineSegmentF Structure Members
Nevron .NET Vision
Nevron.GraphicsCore Namespace / NLineSegmentF Structure
Fields Properties Methods

In This Topic
NLineSegmentF Structure Members
In This Topic

The following tables list the members exposed by NLineSegmentF.

Public Constructors
NameDescription
Top
Public Fields
NameDescription
End point
Start point
Top
Public Properties
NameDescription
Gets the angle, which the line forms with the X axis (in radians).
Gets the minimal enclosing rectangle
Gets the minimal enclosing 2D range
Gets the line center.
Gets the end and start points X difference.
Gets the end and start points Y difference .
Gets/sets the end point of the open figure
Determines whether this is a flat primitive
Gets the length of the line segment.
Gets the length of the line segment to the power of 2.
Gets the line slope (DY / DX).
Gets/sets the start point of the open figure
Top
Public Methods
NameDescription
Appends the primitive to the specified graphics path
Overloaded. Determines whether the outline of the line contains the specified point
Gets the distance from the line segment to the given point. The point on the segment closest to the target point is used.
Gets the distance (to the power of 2) from the line segment to the given point. The point on the segment closest to the target point is used.

Moves the end point along the line with the specified distance. A positive distance is directed away from the line center.
Moves the start point along the line with the specified distance. A positive distance is directed away from the line center.

Gets the point on the specified distance from the start.
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.
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.
Inflates a line segment from its end point.
Inflates a line segment from its start point.
Overloaded. Checks if this line segment intersects or overlaps the given one.
Overloaded. Checks if this line segment intersects the given one and returns the intersection point as an out parameter if it does.
Converts a line segment to a line.

Overloaded. Translates the primitive with the specified amounts
Top
Public Operators
 Equality Determines whether a is equal to b Inequality Determines whether a is not equal to b
Top