34 #include "xc_utils/src/geom/pos_vec/Pos3d.h" 54 mutable std::set<const Edge *> lineas_pt;
61 Pnt(
const std::string &nombre=
"",
Preprocessor *m=
nullptr,
const Pos3d &pto= Pos3d());
67 BND3d
Bnd(
void)
const;
71 virtual void genMesh(meshing_dir dm);
90 const size_t getNLines(
void)
const 101 void Mueve(
const Vector3d &);
105 std::set<SetBase *>
get_sets(
void)
const;
const Edge * busca_edge_const_ptr_extremos(const Pnt &pA, const Pnt &pB)
Search for a line that connects the points.
Definition: Pnt.cc:339
Base class for one-dimensional geometry objects.
Definition: Edge.h:46
Surface.
Definition: Face.h:41
std::set< const Edge * > EdgesExtremo(void) const
Returns the lines that start o finish in this point.
Definition: Pnt.cc:83
const std::string & NombresEdgesTocan(void) const
Returns the names of the surfaces that touch the line (neighbors).
Definition: Pnt.cc:100
Six-faced solid.
Definition: Body.h:64
Multiblock topology object (point, line, face, block,...).
Definition: EntMdlr.h:53
int getTagNode(void) const
Return node's tag.
Definition: Pnt.cc:173
void inserta_linea(Edge *l) const
Definition: Pnt.cc:58
void Mueve(const Vector3d &)
Moves the point (used by XC::Set only).
Definition: Pnt.cc:224
void borra_linea(Edge *l) const
Definition: Pnt.cc:63
Mesh node.
Definition: Node.h:99
Pnt(Preprocessor *m, const Pos3d &pto=Pos3d())
Constructor.
Definition: Pnt.cc:45
void create_nodes(void)
Creates nodes.
Definition: Pnt.cc:147
Finite element model generation tools.
Definition: Preprocessor.h:58
void setPos(const Pos3d &pos)
Sets the object position.
Definition: Pnt.h:80
structured set, i. e. a set that can return a pointer a to a node or an element from its indices i...
Definition: SetEstruct.h:45
void add_to_sets(std::set< SetBase * > &)
Adds the point to the set being passed as parameters.
Definition: Pnt.cc:213
Edge * busca_edge_ptr_extremos(const Pnt &pA, const Pnt &pB)
Search for a line that connects the points.
Definition: Pnt.cc:311
Punto (KPoint).
Definition: Pnt.h:49
bool tieneNodo(void) const
Returns true if the point owns a node (is meshed).
Definition: Pnt.cc:164
Pos3d & Pos(void)
Returns the object position.
Definition: Pnt.h:77
virtual void actualiza_topologia(void)
Updates topology.
Definition: Pnt.cc:75
void Transforma(const TrfGeom &trf)
Applies to the point the transformation being passed as parameter.
Definition: Pnt.cc:231
SetEstruct * getCopy(void) const
Virtual constructor.
Definition: Pnt.cc:53
Edge * busca_edge_ptr_toca(const Pnt &, const Pnt &)
Search for a line that connects the points.
Definition: Pnt.cc:283
const Pos3d & GetPos(void) const
Returns the object position.
Definition: Pnt.h:74
std::set< SetBase * > get_sets(void) const
Returns the sets a los que pertenece este punto.
Definition: Pnt.cc:197
bool Extremo(const Edge &l) const
Returns true if the point is an end of the edge.
Definition: Pnt.cc:122
virtual void genMesh(meshing_dir dm)
Creates mesh.
Definition: Pnt.cc:158
double DistanciaA2(const Pos3d &pt) const
Returns the squared distance to the position being passed as parameter.
Definition: Pnt.cc:143
================================================================================
Definition: ContinuaReprComponent.h:34
virtual unsigned short int GetDimension(void) const
Return the object dimension (0, 1, 2 or 3).
Definition: Pnt.h:65
bool Toca(const Edge &l) const
Returns true if the line starts or ends in this point.
Definition: Pnt.cc:115
const Edge * busca_edge_const_ptr_toca(const Pnt &, const Pnt &)
Search for a line that connects the points.
Definition: Pnt.cc:255
Node * getNode(void)
Return point's node.
Definition: Pnt.cc:187
BND3d Bnd(void) const
Returns the object BND.
Definition: Pnt.cc:79
const std::set< const Edge * > & EdgesTocan(void) const
Return the list of the lines that begin or end at the point.
Definition: Pnt.h:88
Vector3d VectorPos(void) const
Returns the position vector of the point.
Definition: Pnt.cc:71