#include <convexHull.hpp>
◆ convexConstraints() [1/4]
irafhy::convexConstraints::convexConstraints |
( |
| ) |
|
|
default |
◆ convexConstraints() [2/4]
irafhy::convexConstraints::convexConstraints |
( |
const convexConstraints & |
constraints | ) |
|
|
default |
copy constructor
- Parameters
-
constraints | given constraint which defines the convex hull |
◆ convexConstraints() [3/4]
move constructor
- Parameters
-
constraints | constraints which defines the convex hull |
◆ convexConstraints() [4/4]
irafhy::convexConstraints::convexConstraints |
( |
std::vector< Point > & |
pointConstraints, |
|
|
std::vector< HalfSpace > & |
halfSpaceConstraints, |
|
|
std::vector< std::vector< HalfSpace >> |
neighborHalfSpaces, |
|
|
std::vector< std::vector< Point >> |
facetVertices, |
|
|
std::vector< std::vector< int >> |
facetVerticesIdx, |
|
|
double |
volume, |
|
|
int |
dimension |
|
) |
| |
|
inline |
constructor with given information
- Parameters
-
pointConstraints | extreme vertices which define the convex hull |
halfSpaceConstraints | half space constraints which define the convex hull |
neighborHalfSpaces | vector storing each facet's neighbor facets |
facetVertices | extreme vertices of each facet |
facetVerticesIdx | indexes of each facet's extreme vertices in whole convex hull extreme vertices |
volume | volume of the convex hull |
dimension | dimension which the convex hull in |
◆ dimension()
int irafhy::convexConstraints::dimension |
( |
| ) |
const |
|
inline |
◆ faceVertices()
std::vector<std::vector<Point> > irafhy::convexConstraints::faceVertices |
( |
| ) |
const |
|
inline |
get the vertices of each facet
- Returns
- the vertices of each facet
References facetVertices_.
◆ faceVerticesIdx()
std::vector<std::vector<int> > irafhy::convexConstraints::faceVerticesIdx |
( |
| ) |
const |
|
inline |
◆ halfSpaceConstraints()
std::vector<HalfSpace> irafhy::convexConstraints::halfSpaceConstraints |
( |
| ) |
const |
|
inline |
◆ neighborHalfSpaces()
std::vector<std::vector<HalfSpace> > irafhy::convexConstraints::neighborHalfSpaces |
( |
| ) |
const |
|
inline |
◆ pointConstraints()
std::vector<Point> irafhy::convexConstraints::pointConstraints |
( |
| ) |
const |
|
inline |
◆ volume()
double irafhy::convexConstraints::volume |
( |
| ) |
const |
|
inline |
◆ dimension_
int irafhy::convexConstraints::dimension_ {} |
|
private |
dimension of the space which the convex hull in
Referenced by dimension().
◆ facetVertices_
std::vector<std::vector<Point> > irafhy::convexConstraints::facetVertices_ |
|
private |
◆ facetVerticesIdx_
std::vector<std::vector<int> > irafhy::convexConstraints::facetVerticesIdx_ |
|
private |
indexes of each facet's extreme vertices in whole convex hull extreme vertices
Referenced by faceVerticesIdx().
◆ halfSpaceConstraints_
std::vector<HalfSpace> irafhy::convexConstraints::halfSpaceConstraints_ |
|
private |
◆ neighborHalfSpaces_
std::vector<std::vector<HalfSpace> > irafhy::convexConstraints::neighborHalfSpaces_ |
|
private |
◆ pointConstraints_
std::vector<Point> irafhy::convexConstraints::pointConstraints_ |
|
private |
◆ volume_
double irafhy::convexConstraints::volume_ {} |
|
private |
volume of the convex hull
Referenced by volume().
The documentation for this struct was generated from the following file:
- /home/jianqiang/CLionProjects/irafhy/include/irafhy/utility/compGeometry/convexHull.hpp