swri_geometry_util
3.6
C++ API
Class Hierarchy
File Hierarchy
Full C++ API
Namespaces
Namespace swri_geometry_util
Classes and Structs
Struct PolygonD
Struct Vertex
Class Polygon
Functions
Function swri_geometry_util::ClosestPointToLines
Function swri_geometry_util::CubicSplineInterpolation(const std::vector<cv::Vec2d>&, double, std::vector<std::vector<cv::Vec2d>>&)
Function swri_geometry_util::CubicSplineInterpolation(const std::vector<tf2::Vector3>&, double, std::vector<std::vector<tf2::Vector3>>&)
Function swri_geometry_util::DistanceFromLineSegment(const tf2::Vector3&, const tf2::Vector3&, const tf2::Vector3&)
Function swri_geometry_util::DistanceFromLineSegment(const cv::Vec2d&, const cv::Vec2d&, const cv::Vec2d&)
Function swri_geometry_util::DistanceFromPlane
Function swri_geometry_util::DistanceFromPolygon
Function swri_geometry_util::GetContext
Function swri_geometry_util::LineIntersection
Function swri_geometry_util::LineSegmentIntersection
Function swri_geometry_util::PointInPolygon
Function swri_geometry_util::PointOnLineSegment
Function swri_geometry_util::PolygonIntersectionArea(const std::vector<cv::Vec2d>&, const std::vector<cv::Vec2d>&)
Function swri_geometry_util::PolygonIntersectionArea(const std::vector<cv::Vec2d>&, const std::vector<cv::Vec2d>&, GEOSContextHandle_t&)
Function swri_geometry_util::PolygonsIntersect(const std::vector<cv::Vec2d>&, const std::vector<cv::Vec2d>&)
Function swri_geometry_util::PolygonsIntersect(const std::vector<cv::Vec2d>&, const std::vector<cv::Vec2d>&, GEOSContextHandle_t&)
Function swri_geometry_util::ProjectPointToPlane
Function swri_geometry_util::ProjectToLineSegment(const tf2::Vector3&, const tf2::Vector3&, const tf2::Vector3&)
Function swri_geometry_util::ProjectToLineSegment(const cv::Vec2d&, const cv::Vec2d&, const cv::Vec2d&)
Function swri_geometry_util::ReleaseContext
Defines
Define DEG_TO_RAD
Define HAVE_INT64_T_64
Directories
Directory src
Directory marti_common
Directory swri_geometry_util
Directory include
Directory swri_geometry_util
Files
File cubic_spline.h
File geometry_util.h
File intersection.h
File polygon.h
swri_geometry_util
C++ API
Class Polygon
View page source
Class Polygon
Defined in
File polygon.h
Class Documentation
class
Polygon
Public Functions
Polygon
(
)
Polygon
(
const
Polygon
&
other
)
Polygon
&
operator
=
(
const
Polygon
&
other
)
Polygon
(
double
Xs
[
]
,
double
Ys
[
]
,
int
numVertx
)
bool
VertexInPolygon
(
Vertex
vertex
)
double
*
GetXVerticies
(
)
double
*
GetYVerticies
(
)
double
GetXVerticie
(
int
num
)
double
GetYVerticie
(
int
num
)
int
GetNumVerticies
(
)
bool
LineOverlapsPolygon
(
Vertex
start
,
Vertex
end
)
~Polygon
(
)