hpp-constraints
4.9.1
Definition of basic geometric constraints for motion planning
|
#include <hpp/constraints/matrix-view.hh>
Public Types | |
typedef hpp::constraints::size_type | size_type |
Index of vector or matrix. More... | |
typedef std::pair< size_type, size_type > | segment_t |
Interval of indices [first, first + second - 1]. More... | |
typedef std::vector< segment_t > | segments_t |
vector of segments More... | |
Static Public Member Functions | |
static size_type | cardinal (const segments_t &a) |
template<typename Derived > | |
static segments_t | fromLogicalExpression (const Eigen::ArrayBase< Derived > &array) |
static void | sort (segments_t &a) |
static void | shrink (segments_t &a) |
static bool | overlap (const segment_t &a, const segment_t &b) |
Whether two segments overlap. More... | |
static segments_t | sum (const segment_t &a, const segment_t &b) |
Compute the union of tws segments. More... | |
static void | add (segments_t &a, const segment_t &b) |
In place addition of a segment_t to segments_t. More... | |
static void | add (segments_t &a, const segments_t &b) |
In place addition of segments_t to segments_t. More... | |
static segments_t | difference (const segment_t &a, const segment_t &b) |
Compute the set difference between two segments. More... | |
static segments_t | difference (const segments_t &a, const segment_t &b) |
static segments_t | difference (const segment_t &a, const segments_t &b) |
static segments_t | difference (const segments_t &a, const segments_t &b) |
static segments_t | split (segments_t &segments, const size_type &cardinal) |
static segments_t | extract (const segments_t &segments, size_type start, size_type cardinal) |
List of integer intervals
Used to select blocks in a vector or in a matrix.
typedef std::pair<size_type, size_type> Eigen::BlockIndex::segment_t |
Interval of indices [first, first + second - 1].
typedef std::vector<segment_t> Eigen::BlockIndex::segments_t |
vector of segments
Index of vector or matrix.
|
static |
In place addition of a segment_t to segments_t.
|
static |
In place addition of segments_t to segments_t.
|
static |
Return the number of indices in the vector of segments.
a | vector of segments |
|
static |
Compute the set difference between two segments.
|
static |
Compute the set difference between a vector of segments and a segment.
|
static |
Compute the set difference between a segment and a vector of segments.
|
static |
Compute the set difference between two vectors of segments.
|
static |
Extract a subset of a set of segments
segments | input set of segments |
start | beginning of extracted set of segments (cardinal of subset left behind in input set of segments) |
cardinal | cardinal of extracted set of segments, |
|
static |
Build a vector of segments from an array of Boolean.
array | array of Boolean values |
Whether two segments overlap.
|
static |
Build a sequence of non overlapping segments.
a | a vector of segments |
|
static |
Sort segments in increasing order. Compare lower bounds of intervals and lengths if lower bounds are equal.
|
static |
Split a set of segment into two sets of segments
segments | input set of segments, |
cardinal | cardinal of the first set of segments, |
The second set is stored in the input set of segments.
|
static |
Compute the union of tws segments.