Back to Adaptive Vision Library website

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

SegmentSegmentIntersection


Header:AVL.h
Namespace:avl

Computes a common point of two segments.

Syntax

C++
C#
 
void avl::SegmentSegmentIntersection
(
	const avl::Segment2D& inSegment1,
	const avl::Segment2D& inSegment2,
	atl::Conditional<avl::Point2D>& outIntersectionPoint
)

Parameters

Name Type Default Description
inSegment1 const Segment2D&
inSegment2 const Segment2D&
outIntersectionPoint Conditional<Point2D>&

Examples

SegmentSegmentIntersection performed on two segments.