Nevron Open Vision Documentation
Nevron.Nov.Graphics Namespace / NLineSegment Structure
Fields Properties Methods


In This Topic
    NLineSegment Structure Members
    In This Topic

    The following tables list the members exposed by NLineSegment.

    Public Constructors
     NameDescription
    Public ConstructorOverloaded.   
    Top
    Public Fields
     NameDescription
    Public FieldEnd point X coordinate  
    Public FieldEnd point Y coordinate  
    Public FieldStart point X coordinate  
    Public FieldStart point Y coordinate  
    Top
    Public Properties
     NameDescription
    Public PropertyComputes the angle (in radians), which the line forms with the X axis.  
    Public PropertyGets the minimal enclosing rectangle  
    Public Property  
    Public PropertyGets the center point of this line segment.  
    Public PropertyGets the end and start points X difference  
    Public PropertyGets the end and start points Y difference  
    Public PropertyGets or sets the end point  
    Public PropertyGets or sets the end point of the open figure  
    Public PropertyComputes the length of the line segment.  
    Public PropertyGets the line segment middle point.  
    Public PropertyGets or sets the start point  
    Public PropertyGets or sets the start point of the open figure  
    Top
    Protected Properties
     NameDescription
    Internal Property  
    Top
    Public Methods
     NameDescription
    Public MethodAppends the primitive to the specified graphics path  
    Public MethodDetermines whether the outline of the line contains the specified point  
    Public MethodGets the distance from the line segment to the given point. The point on the segment closest to the target point is used.  
    Public MethodGets 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.  
    Public MethodOverloaded. Checks whether this line segment is equal to the other line segment  
    Public MethodMoves the end point along the line with the specified distance. A positive distance is directed away from the line center.  
    Public MethodMoves the start point along the line with the specified distance. A positive distance is directed away from the line center.  
    Public Method  
    Public MethodGets a point that lies on this line segment that is closest to the specified point  
    Public MethodGets the length of this ellipse segment  
    Public MethodGets the point at the specified index  
    Public MethodGets the line segment points count (2).  
    Public MethodGets a point on the line that is at the specified distance from the end point. A positive distance is directed towards the line center.  
    Public MethodGets a point on the line that is at the specified distance from the start point. A positive distance is directed towards the line center.  
    Public MethodOverloaded. Checks if this line segment intersects or overlaps the given one.  
    Public MethodOverloaded. Checks if this line segment intersects the given one and returns the intersection point as an out parameter if it does.  
    Public MethodGets the point on the ray, which corresponds to the specified time  
    Public MethodScales this line segment  
    Public MethodConverts a line segment to a line.  
    Public MethodConverts a line segment to a ray.  
    Public MethodGets the string representation of this line segment.  
    Public MethodTransforms this line  
    Public MethodTranslates the primitive with the specified amounts  
    Public MethodTranslates the end point of this line segment with the specified amount.  
    Public MethodTranslates the start point of this line segment with the specified amount.  
    Top
    Public Operators
    Determines whether a is equal to b
    Determines whether a is not equal to b
    Top
    See Also