|
| StandardDSS4 (const Coordinate &aA, const Coordinate &aB, const Point &aF, const Point &aL, const Point &aUf, const Point &aUl, const Point &aLf, const Point &aLl) |
|
| StandardDSS4 (const Point &aF, const Point &aL, const bool &isOnTheUpperLine=true) |
|
| StandardDSS4 (const DSL &aDSL, const Point &aF, const Point &aL) |
|
| StandardDSS4 (const StandardDSS4 &aDSS, const Point &aF, const Point &aL) |
|
template<typename Iterator > |
| StandardDSS4 (const Iterator &aItb, const Iterator &aIte) throw ( InputException ) |
|
| StandardDSS4 (const StandardDSS4 &aOther) |
|
StandardDSS4 & | operator= (const StandardDSS4 &aOther) |
|
| BOOST_CONCEPT_ASSERT ((concepts::CInteger< Coordinate >)) |
|
| BOOST_CONCEPT_ASSERT ((concepts::CInteger< Integer >)) |
|
| ArithmeticalDSS (const Point &aPoint) |
|
| ArithmeticalDSS (const Coordinate &aA, const Coordinate &aB, const Integer &aLowerBound, const Integer &aUpperBound, const Point &aF, const Point &aL, const Point &aUf, const Point &aUl, const Point &aLf, const Point &aLl, const Steps &aSteps, const Vector &aShift) |
|
| ArithmeticalDSS (const DSL &aDSL, const Point &aF, const Point &aL, const Point &aUf, const Point &aUl, const Point &aLf, const Point &aLl) |
|
| ArithmeticalDSS (const Coordinate &aA, const Coordinate &aB, const Point &aF, const Point &aL, const Point &aUf, const Point &aUl, const Point &aLf, const Point &aLl) |
|
| ArithmeticalDSS (const Point &aF, const Point &aL, const bool &areOnTheUpperLine=true) |
|
| ArithmeticalDSS (const DSL &aDSL, const Point &aF, const Point &aL) |
|
| ArithmeticalDSS (const ArithmeticalDSS &aDSS, const Point &aF, const Point &aL) |
|
| ArithmeticalDSS (const Iterator &aItb, const Iterator &aIte) throw ( InputException ) |
|
| ArithmeticalDSS (const ArithmeticalDSS &aOther) |
|
ArithmeticalDSS & | operator= (const ArithmeticalDSS &aOther) |
|
ArithmeticalDSS | negate () const |
|
bool | equalsTo (const ArithmeticalDSS &aOther) const |
|
bool | operator== (const ArithmeticalDSS &aOther) const |
|
bool | operator!= (const ArithmeticalDSS &aOther) const |
|
| ~ArithmeticalDSS () |
|
void | selfDisplay (std::ostream &out) const |
|
bool | isValid () const |
|
const DSL & | dsl () const |
|
Coordinate | a () const |
|
Coordinate | b () const |
|
Integer | mu () const |
|
Integer | omega () const |
|
Vector | shift () const |
|
Steps | steps () const |
|
Point | back () const |
|
Point | front () const |
|
Point | Uf () const |
|
Point | Ul () const |
|
Point | Lf () const |
|
Point | Ll () const |
|
Integer | remainder (const Point &aPoint) const |
|
Integer | orthogonalPosition (const Point &aPoint) const |
|
Position | position (const Point &aPoint) const |
|
bool | before (const Point &aP1, const Point &aP2) const |
|
bool | beforeOrEqual (const Point &aP1, const Point &aP2) const |
|
bool | isInDSL (const Point &aPoint) const |
|
bool | isInDSL (const DSL &aDSL) const |
|
bool | isInDSL (const DSL &aDSL, std::vector< Point > &Ulp, std::vector< Point > &Llp, Point &outP) const |
|
bool | isInDSS (const Point &aPoint) const |
|
bool | operator() (const Point &aPoint) const |
|
ArithmeticalDSS | computeUnion (const ArithmeticalDSS &aOther) const |
|
ConstIterator | begin () const |
|
ConstIterator | end () const |
|
ConstReverseIterator | rbegin () const |
|
ConstReverseIterator | rend () const |
|
unsigned short int | isExtendableFront (const Point &aNewPoint) const |
|
unsigned short int | isExtendableBack (const Point &aNewPoint) const |
|
bool | extendFront (const Point &aNewPoint) |
|
bool | extendBack (const Point &aNewPoint) |
|
bool | retractFront () |
|
bool | retractBack () |
|
PointD | project (const Point &aM, double aR) const |
|
PointD | project (const Point &aM, const Point &aP) const |
|
std::string | className () const |
|
template<typename TCoordinate, typename TInteger = TCoordinate>
class DGtal::StandardDSS4< TCoordinate, TInteger >
Aim: This class represents a standard digital straight segment (DSS), ie. the sequence of simply 4-connected digital points contained in a standard digital straight line (DSL) between two points of it. This class is an alias of ArithmeticalDSS.
A 4-connected DSS can be declared and constructed as follows:
StandardDSS4<Integer> segment( 5, 8,
);
This requires the following include:
#include "DGtal/geometry/curves/ArithmeticalDSS.h"
See the documentation of NaiveDSS8 for a longer example and see Digital straight lines and segments for further details.
- Template Parameters
-
TCoordinate | a model of integer for the DGtal point coordinates and the slope parameters. |
TInteger | a model of integer for the intercepts and the remainders that represents a larger range of integers than TCoordinate. |
This class is a model of CPointFunctor and of CConstBidirectionalRange.
- See also
- ArithmeticalDSL NaiveDSL StandardDSL
-
exampleArithmeticalDSL.cpp exampleArithmeticalDSS.cpp
- Examples:
- geometry/curves/exampleArithmeticalDSS.cpp.
Definition at line 829 of file ArithmeticalDSS.h.