Connection Point of a Geometric Information. More...
#include <rgeoinfo.h>
Collaboration diagram for RGeoInfoPin:
Public Member Functions | |
RGeoInfoPin (RObj2DConfigPin *pin, RGeoInfo *info) | |
int | Compare (const RGeoInfoPin &pin) const |
RPoint | GetPos (void) const |
RObj2DConfigPin * | GetPin (void) const |
RGeoInfo * | GetInfo (void) const |
Private Attributes | |
RObj2DConfigPin * | Pin |
RGeoInfo * | Info |
Detailed Description
Connection Point of a Geometric Information.
The RGeoInfoPin provides a representation for a particular pin of a specific geometric information. It represents a connection point used by a "real" connection.
Constructor & Destructor Documentation
RGeoInfoPin | ( | RObj2DConfigPin * | pin, |
RGeoInfo * | info | ||
) |
Constructor of a particular position of a pin.
- Parameters
-
pin Pin. info Geometric information.
Member Function Documentation
int Compare | ( | const RGeoInfoPin & | pin | ) | const |
Compare two pin instances. The pin are sorted in order to represent the path of a connection : The first pin is always the most left one and the most at the top. The last pin is always the most right one and the most at the bottom.
- Parameters
-
pin Pin used for the comparison.
- Returns
- a value usable by RContainer.
RPoint GetPos | ( | void | ) | const |
- Returns
- the position of the pin.
RObj2DConfigPin* GetPin | ( | void | ) | const |
- Returns
- return the pin.
RGeoInfo* GetInfo | ( | void | ) | const |
- Returns
- return the geometric information.
Member Data Documentation
|
private |
The pin.
|
private |
The geometric information.