#include <edge.hh>
Public Types | |
| enum | { dim = msbGrid :: dim } |
| typedef msbGrid::GeometricEntity | ParentT |
| typedef msbGrid::Scalar | Scalar |
| typedef msbGrid::Point | Point |
| typedef msbGrid::Cell | Cell |
Public Types inherited from msbGrid::GeometricEntity | |
| typedef msbGrid::Color | Color |
| typedef msbGrid::Point | Point |
| typedef msbGrid::Edge | Edge |
| typedef msbGrid::Cell | Cell |
Public Member Functions | |
| Edge (Point *p0, Point *p1) | |
| ~Edge () | |
| const Scalar & | eucSize () const |
| Scalar & | eucSize () |
| const std::vector< Scalar > | pos () const |
| const bool | has (const Point &p0) const |
| const int | indexOf (const Point &p0) const |
| void | translate (const std::vector< Scalar > &dx) |
| void | infos (const std::string &name0="") const |
Public Member Functions inherited from msbGrid::GeometricEntity | |
| GeometricEntity () | |
| ~GeometricEntity () | |
| const Color & | color () const |
| Color & | color () |
| const unsigned int & | Id () const |
| unsigned int & | Id () |
| const bool | hasId () const |
| const bool & | mark () const |
| bool & | mark () |
| const bool & | onBlockBoundary () const |
| bool & | onBlockBoundary () |
| const std::vector< Scalar > & | pos () const |
| std::vector< Scalar > & | pos () |
| const std::vector< Point * > & | vPt () const |
| std::vector< Point * > & | vPt () |
| const std::vector< Edge * > & | vEd () const |
| std::vector< Edge * > & | vEd () |
| const std::vector< Cell * > & | vCel () const |
| std::vector< Cell * > & | vCel () |
| bool | isIt (const GeometricEntity *ge0) const |
| void | infos () const |
Static Public Attributes | |
| static const int | verticesNumber_ = 2 |
Private Attributes | |
| Scalar | eucSize_ |
Friends | |
| const bool | superposed0 (const Edge &e0, const Edge &e1) |
| const bool | superposed1 (const Edge &e0, const Edge &e1) |
| const bool | superposed (const Edge &e0, const Edge &e1) |
| const bool | oneSharedPoint (const Edge &e0, const Edge &e1) |
| bool | addLeftSideNeighbor (const std::vector< Edge * > &ve0, std::vector< Edge * > &ve1, int &headPointIndex) |
Additional Inherited Members | |
Public Attributes inherited from msbGrid::GeometricEntity | |
| std::vector< Scalar > | pos_ |
| std::vector< Point * > | vPt_ |
| std::vector< Edge * > | vEd_ |
| std::vector< Cell * > | vCel_ |
| typedef msbGrid :: Cell msbGrid::Edge::Cell |
| typedef msbGrid :: GeometricEntity msbGrid::Edge::ParentT |
| typedef msbGrid :: Point msbGrid::Edge::Point |
| typedef msbGrid :: Scalar msbGrid::Edge::Scalar |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |