#include <halfSpace.h>
|
| Eigen::VectorXd | normal_ |
| | normal of the half space which defined by normal * x + offset <= 0 More...
|
| |
| double | offset_ |
| | offset used to define the half space More...
|
| |
◆ HalfSpace() [1/5]
| irafhy::HalfSpace::HalfSpace |
( |
| ) |
|
◆ HalfSpace() [2/5]
| irafhy::HalfSpace::HalfSpace |
( |
const HalfSpace & |
halfSpace | ) |
|
|
default |
copy constructor
- Parameters
-
| halfSpace | given half space |
◆ HalfSpace() [3/5]
| irafhy::HalfSpace::HalfSpace |
( |
HalfSpace && |
halfSpace | ) |
|
|
default |
move constructor
- Parameters
-
| halfSpace | given half space |
◆ HalfSpace() [4/5]
| irafhy::HalfSpace::HalfSpace |
( |
const Eigen::VectorXd & |
normal, |
|
|
double |
offset |
|
) |
| |
◆ HalfSpace() [5/5]
| irafhy::HalfSpace::HalfSpace |
( |
Eigen::VectorXd && |
normal, |
|
|
double && |
offset |
|
) |
| |
◆ ~HalfSpace()
| virtual irafhy::HalfSpace::~HalfSpace |
( |
| ) |
|
|
virtualdefault |
◆ contains() [1/2]
| bool irafhy::HalfSpace::contains |
( |
const Point & |
point | ) |
const |
◆ contains() [2/2]
| bool irafhy::HalfSpace::contains |
( |
const Eigen::VectorXd & |
coordinate | ) |
const |
check the given coordinate inside the half space or not
- Parameters
-
| coordinate | given coordinate |
- Returns
- TRUE if the given coordinate inside the half space
References normal_, and offset_.
◆ dimension()
| int irafhy::HalfSpace::dimension |
( |
| ) |
const |
◆ Empty()
| HalfSpace irafhy::HalfSpace::Empty |
( |
std::size_t |
dimension = 0 | ) |
|
|
static |
static constructor of Empty half space object
- Parameters
-
| dimension | dimension of the half space |
- Returns
- Empty half space object in given dimension space
References HalfSpace().
Referenced by irafhy::Polytope::Empty().
◆ holds() [1/2]
| bool irafhy::HalfSpace::holds |
( |
const Point & |
point | ) |
const |
check if the given point on the boundary of the half space or not
- Parameters
-
- Returns
- TRUE if the given coordinate hold the constraint which defines the half space
References irafhy::Point::coordinate(), normal_, and offset_.
◆ holds() [2/2]
| bool irafhy::HalfSpace::holds |
( |
const Eigen::VectorXd & |
coordinate | ) |
const |
check if the given coordinate on the boundary of the half space
- Parameters
-
| coordinate | given coordinate |
- Returns
- TRUE if the given coordinate hold the constraint which defines the half space
References normal_, and offset_.
◆ intersect()
| bool irafhy::HalfSpace::intersect |
( |
const Eigen::VectorXd & |
lhsEndPoint, |
|
|
const Eigen::VectorXd & |
rhsEndPoint, |
|
|
Eigen::VectorXd & |
intersection |
|
) |
| const |
check if the line segment between two points intersect with the half space or not
- Parameters
-
| lhsEndPoint | left hand side point of the line segment |
| rhsEndPoint | right hand side point of the line segment |
| intersection | intersection of the line segment with the half space |
- Returns
- TRUE if the line segment intersect with the half space
References dimension(), normal_, and offset_.
◆ normal()
| Eigen::VectorXd irafhy::HalfSpace::normal |
( |
| ) |
const |
◆ offset()
| double irafhy::HalfSpace::offset |
( |
| ) |
const |
◆ operator-()
reverse the normal of the half space
- Returns
- resulting half space
References normal_, and offset_.
◆ operator=() [1/2]
assignment operator
- Parameters
-
| halfSpace | right hand side half space object |
- Returns
- resulting half space
◆ operator=() [2/2]
assignment operator
- Parameters
-
| halfSpace | right hand side half space object |
- Returns
- resulting half space
◆ reverse()
reverse the normal the of the half space
- Returns
- resulting half space
References normal_, and offset_.
◆ normal_
| Eigen::VectorXd irafhy::HalfSpace::normal_ |
|
private |
◆ offset_
| double irafhy::HalfSpace::offset_ |
|
private |
The documentation for this class was generated from the following files:
- /home/jianqiang/CLionProjects/irafhy/include/irafhy/representation/geometric/basic/halfSpace.h
- /home/jianqiang/CLionProjects/irafhy/src/representation/geometric/basic/halfSpace.cpp