swri_geometry_util
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 include
Directory swri_geometry_util
Files
File cubic_spline.h
File geometry_util.h
File intersection.h
File polygon.h
Standard Documents
CHANGELOG
Changelog for package swri_geometry_util
3.7.3 (2024-09-18)
3.7.2 (2024-09-16)
3.7.1 (2024-09-06)
3.7.0 (2024-09-06)
3.6.1 (2023-09-11)
3.6.0 (2023-08-22)
3.5.4 (2023-08-14)
3.5.3 (2023-06-07)
3.5.2 (2023-05-30)
3.5.1 (2022-11-29)
3.5.0 (2022-10-11)
3.4.2 (2022-10-10)
3.3.2 (2020-11-24)
3.3.1 (2020-08-19)
3.3.0 (2020-07-15)
3.2.1 (2020-06-10)
3.2.0 (2020-05-13)
3.1.0 (2020-03-30)
3.0.5 (2020-03-10)
3.0.4 (2020-03-05)
3.0.3 (2019-11-11)
3.0.2 (2019-11-11)
3.0.1 (2019-11-11)
3.0.0 (2019-11-08)
2.10.0 (2019-09-04)
2.9.0 (2019-05-23)
2.8.0 (2019-02-06)
2.7.3 (2019-01-03)
2.7.2 (2018-12-20)
2.7.1 (2018-12-14)
2.7.0 (2018-12-04)
2.6.0 (2018-11-03)
2.5.0 (2018-10-12)
2.4.0 (2018-10-09)
2.3.0 (2018-05-25)
2.2.1 (2018-05-11)
2.2.0 (2018-02-12)
2.1.0 (2018-01-26)
2.0.0 (2017-12-18)
1.2.0 (2017-10-13)
1.1.0 (2017-08-31)
1.0.0 (2017-08-02)
0.3.0 (2017-06-20)
0.2.4 (2017-04-11)
0.2.3 (2016-12-09)
0.2.2 (2016-12-07)
0.2.1 (2016-10-23)
0.2.0 (2016-06-21)
0.1.5 (2016-05-13)
0.1.4 (2016-05-12)
0.1.3 (2016-03-04)
0.1.2 (2016-01-06)
0.1.1 (2015-11-17)
0.1.0 (2015-09-29)
0.0.14 (2017-04-11)
0.0.13 (2016-10-23)
0.0.12 (2016-08-14)
0.0.11 (2016-05-13)
0.0.10 (2016-05-12)
0.0.9 (2016-03-04)
0.0.8 (2016-01-06)
0.0.7 (2015-11-18)
0.0.6 (2015-11-17)
0.0.5 (2015-09-27)
0.0.4 (2015-09-27)
0.0.3 (2015-09-26)
0.0.2 (2015-09-25)
0.0.1 (2015-09-25)
PACKAGE
Index
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
(
)