Back to FabImage Library website
You are here: Start » Function Reference » Geometry 2D » Geometry 2D Intersections » 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 | |
---|---|---|---|---|
![]() |
inLine | const Line2D& | ||
![]() |
inSegment | const Segment2D& | ||
![]() |
outIntersectionPoint | Conditional<Point2D>& |
Examples
![]() |
![]() |
LineSegmentIntersection performed on line and segment.
See Also
- SegmentSegmentIntersection – Computes a common point of two segments.