Back to Adaptive Vision Library website

You are here: Start » Function Reference » Geometry 2D » Geometry 2D Intersections » LineSegmentIntersection

LineSegmentIntersection


Header: AVL.h
Namespace: avl
Module: FoundationLite

Computes a common point of a line and a segment.

Syntax

C++
C#
 
void avl::LineSegmentIntersection
(
	const avl::Line2D& inLine,
	const avl::Segment2D& inSegment,
	atl::Conditional<avl::Point2D>& outIntersectionPoint
)

Parameters

Name Type Default Description
inLine const Line2D&
inSegment const Segment2D&
outIntersectionPoint Conditional<Point2D>&

Examples

LineSegmentIntersection performed on line and segment.