Back to Aurora Vision Library Lite website
You are here: Start » Geometry 2D » Geometry 2D Intersections » LineLineIntersection
LineLineIntersection
Header: | AVL.h |
---|---|
Namespace: | avl |
Computes a common point of two lines.
Syntax
void avl::LineLineIntersection ( const avl::Line2D& inLine1, const avl::Line2D& inLine2, atl::Conditional<avl::Point2D>& outIntersectionPoint )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
inLine1 | const Line2D& | |||
inLine2 | const Line2D& | |||
outIntersectionPoint | Conditional<Point2D>& |
Hints
- Whenever possible, prefer LineSegmentIntersection instead as it is more numerically stable for near-parallel lines.
Examples
See Also
- LineSegmentIntersection – Computes a common point of a line and a segment.
- SegmentSegmentIntersection – Computes a common point of two segments.