Back to FabImage Library Lite website

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

LineSegmentIntersection


Header: FIL.h
Namespace: fil

Computes a common point of a line and a segment.

Syntax

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