Back to FabImage Library website
You are here: Start » Function Reference » Geometry 2D » Geometry 2D Intersections » SegmentSegmentIntersection
Header: | FIL.h |
---|---|
Namespace: | fil |
Module: | FoundationLite |
Computes a common point of two segments.
Syntax
C++
C#
void fil::SegmentSegmentIntersection ( const fil::Segment2D& inSegment1, const fil::Segment2D& inSegment2, ftl::Conditional<fil::Point2D>& outIntersectionPoint )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
![]() |
inSegment1 | const Segment2D& | ||
![]() |
inSegment2 | const Segment2D& | ||
![]() |
outIntersectionPoint | Conditional<Point2D>& |
Examples
![]() |
![]() |
SegmentSegmentIntersection performed on two segments.
See Also
- LineSegmentIntersection – Computes a common point of a line and a segment.