Back to FabImage Library website

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

LineSegmentIntersection


Header: FIL.h
Namespace: fil
Module: FoundationLite

Computes a common point of a line and a segment.

Syntax

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

Parameters

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

Examples

LineSegmentIntersection performed on line and segment.

See Also