32 #include "EntGeomSection.h" 33 #include "xc_utils/src/geom/pos_vec/Pos2d.h" 47 std::set<const Eje *> ejes_pt;
49 void inserta_linea(
Eje *l);
50 void borra_linea(
Eje *l);
57 Spot(
const Pos2d &pto= Pos2d());
69 BND2d
Bnd(
void)
const;
77 inline void setPos(
const Pos2d &pos)
85 inline size_t nLines(
void)
const 86 {
return ejes_pt.size(); }
Vector2d VectorPos(void) const
Returns position vector of the point.
Definition: Spot.cc:54
Spot(const std::string &nombre="", GeomSection *m=nullptr)
Constructor.
Definition: Spot.h:62
Point object for section geometry definition.
Definition: Spot.h:43
Spot(GeomSection *m)
Constructor.
Definition: Spot.h:59
BND2d Bnd(void) const
Returns the object BND.
Definition: Spot.cc:62
const std::set< const Eje * > & EjesTocan(void) const
Return the list of lines that begin or end in this point.
Definition: Spot.h:82
const Pos2d & GetPos(void) const
Return the object position.
Definition: Spot.h:72
bool Toca(const Eje &l) const
Returns true if the point is an end of the line.
Definition: Spot.cc:66
Base class of section geometry representation classes.
Definition: EntGeomSection.h:47
Base class for 1D entities in section definition.
Definition: Eje.h:43
virtual unsigned short int GetDimension(void) const
Return the object dimension (0, 1, 2 or 3).
Definition: Spot.h:67
double DistanciaA(const Pos2d &pt) const
Return the distance to the position being passed as parameter.
Definition: Spot.cc:76
Spot(const Pos2d &pto=Pos2d())
Constructor.
Definition: Spot.cc:37
================================================================================
Definition: ContinuaReprComponent.h:34
Pos2d & GetPos(void)
Return the object position.
Definition: Spot.h:75
virtual void actualiza_topologia(void)
Updates topology.
Definition: Spot.cc:58
Cross section geometry.
Definition: GeomSection.h:62