Namespaces | Macros | Functions
intersection.cpp File Reference
#include <stdint.h>
#include <swri_geometry_util/intersection.h>
#include <geos/geom/CoordinateArraySequence.h>
#include <geos/geom/GeometryFactory.h>
#include <geos/geom/Polygon.h>
#include <geos/util/TopologyException.h>
Include dependency graph for intersection.cpp:

Go to the source code of this file.

Namespaces

 swri_geometry_util
 

Macros

#define HAVE_INT64_T_64   # Prevents conflict with OpenCV typedef of int64
 

Functions

bool swri_geometry_util::LineIntersection (const cv::Vec2d &p1, const cv::Vec2d &p2, const cv::Vec2d &p3, const cv::Vec2d &p4, cv::Vec2d &c)
 
bool swri_geometry_util::LineSegmentIntersection (const cv::Vec2d &p1, const cv::Vec2d &p2, const cv::Vec2d &p3, const cv::Vec2d &p4, cv::Vec2d &c)
 
bool swri_geometry_util::PointOnLineSegment (const cv::Vec2d &p1, const cv::Vec2d &p2, const cv::Vec2d &p3)
 
double swri_geometry_util::PolygonIntersectionArea (const std::vector< cv::Vec2d > &a, const std::vector< cv::Vec2d > &b)
 
bool swri_geometry_util::PolygonsIntersect (const std::vector< cv::Vec2d > &a, const std::vector< cv::Vec2d > &b)
 

Macro Definition Documentation

◆ HAVE_INT64_T_64

#define HAVE_INT64_T_64   # Prevents conflict with OpenCV typedef of int64

Definition at line 34 of file intersection.cpp.



swri_geometry_util
Author(s): Marc Alban
autogenerated on Sat Jan 21 2023 03:13:10