Name | Description | |
---|---|---|

NLineSegmentF Constructor | Overloaded. |

Nevron .NET Vision

NLineSegmentF Structure Members

In This Topic

The following tables list the members exposed by NLineSegmentF.

Public Constructors

Name | Description | |
---|---|---|

NLineSegmentF Constructor | Overloaded. |

Public Fields

Public Properties

Name | Description | |
---|---|---|

Angle | Gets the angle, which the line forms with the X axis (in radians). | |

Bounds | Gets the minimal enclosing rectangle | |

BoundsRange | Gets the minimal enclosing 2D range | |

Center | Gets the line center. | |

DX | Gets the end and start points X difference. | |

DY | Gets the end and start points Y difference . | |

EndPoint | Gets/sets the end point of the open figure | |

IsFlat | Determines whether this is a flat primitive | |

Length | Gets the length of the line segment. | |

LengthSquare | Gets the length of the line segment to the power of 2. | |

Slope | Gets the line slope (DY / DX). | |

StartPoint | Gets/sets the start point of the open figure |

Public Methods

Name | Description | |
---|---|---|

AddToGraphicsPath | Appends the primitive to the specified graphics path | |

ContainsOnOutline | Overloaded. 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 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. | |

Equals | ||

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 | ||

GetPoint | Gets the point on the specified distance from the start. | |

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. | |

InflateEnd | Inflates a line segment from its end point. | |

InflateStart | Inflates a line segment from its start point. | |

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. | |

ToNLineF | Converts a line segment to a line. | |

ToString | ||

Translate | Overloaded. Translates the primitive with the specified amounts |

Public Operators

Equality | Determines whether a is equal to b |

Inequality | Determines whether a is not equal to b |

See Also