|
xc
|
#include <Segment.h>
Public Member Functions | |
| Segment (GeomSection *m, const size_t &ndiv=4) | |
| Constructor. | |
| Segment (const std::string &nombre="", GeomSection *m=nullptr, const size_t &ndiv=4) | |
| Constructor. | |
| Spot * | P1 (void) |
| Returns a pointer to start point. | |
| const Spot * | P1 (void) const |
| Returns a constant pointer to start point. | |
| Spot * | P2 (void) |
| Returns a pointer to end point. | |
| const Spot * | P2 (void) const |
| Returns a constant pointer to end point. | |
| void | setEndPoints (size_t, size_t) |
| Assigns end points. | |
| int | getVtkCellType (void) const |
| VTK interface. | |
| virtual size_t | getNumberOfVertices (void) const |
| Return the number of vertices. | |
| virtual const Spot * | getVertex (const size_t &i) const |
| Returns the i-th vertex. | |
| virtual Spot * | getVertex (const size_t &i) |
| Returns the i-th vertex. | |
| virtual void | SetVertice (const size_t &, Spot *) |
| Sets the i-th vertex. | |
| virtual BND2d | Bnd (void) const |
| Returns the 2D interval occupied by the segment. | |
| double | getLong (void) const |
| Return segment length. | |
Public Member Functions inherited from XC::Axis | |
| ~Axis (void) | |
| Destructor. | |
| virtual unsigned short int | GetDimension (void) const |
| Returns the object dimension (0, 1, 2 or 3). | |
| virtual void | SetNDiv (const size_t &nd) |
| virtual size_t | NDiv (void) const |
| void | update_topology (void) |
| Updates topology. | |
Public Member Functions inherited from XC::EntGeomSection | |
| EntGeomSection (const std::string &nmb="", GeomSection *sccGeom=nullptr) | |
| Constructor. | |
| EntGeomSection (const EntGeomSection &) | |
| Copy constructor. | |
| EntGeomSection & | operator= (const EntGeomSection &) |
| Assignment operator. | |
| const GeomSection * | GetGeomSection (void) const |
| GeomSection * | GetGeomSection (void) |
| int | getVtkCellType (void) const |
| VTK interface. | |
| SectionReferenceFrame * | SectionReferenceFrameActual (void) |
| Returns current reference system. | |
| const SectionReferenceFrame * | SectionReferenceFrameActual (void) const |
| Returns current reference system. | |
| Spot * | BuscaSpot (const size_t &) |
| Returns a pointer to the point with the identifier being passed as parameter. | |
| const Spot * | BuscaSpot (const size_t &) const |
| Returns a const pointer to the point with the identifier being passed as parameter. | |
| Axis * | findAxis (const size_t &) |
| Returns a pointer to the axis indentified by the tag being passed as parameter. More... | |
| const Axis * | findAxis (const size_t &) const |
| Returns a pointer to the Axis indentified by the tag being passed as parameter. | |
Additional Inherited Members | |
Protected Member Functions inherited from XC::Axis | |
| Axis (GeomSection *sr, const size_t &nd=4) | |
| Constructor. | |
| Axis (const std::string &nombre="", GeomSection *m=nullptr, const size_t &nd=4) | |
| Constructor. More... | |
Protected Member Functions inherited from XC::EntGeomSection | |
| const GeomSection * | getGeomSection (void) const |
| Returns a pointer to the GeomSection. | |
| GeomSection * | getGeomSection (void) |
| Returns a pointer to the GeomSection. | |
Protected Attributes inherited from XC::Axis | |
| size_t | ndiv |
| Number of divisions. | |
Line segment.
1.8.12