34 #include "preprocessor/multi_block_topology/entities/EntMdlr.h" 35 #include "utility/geom/pos_vec/Pos3d.h" 55 mutable std::set<const Edge *> lines_pt;
74 virtual void genMesh(meshing_dir dm= dirm_i);
85 bool In(
const GeomObj3d &,
const double &tol= 0.0)
const;
86 bool Out(
const GeomObj3d &,
const double &tol= 0.0)
const;
97 {
return lines_pt.size(); }
118 std::set<SetBase *>
get_sets(
void)
const;
121 boost::python::dict
getPyDict(
void)
const;
122 void setPyDict(
const boost::python::dict &);
136 Face *find_face_ptr_by_vertices(
const Pnt &pA,
const Pnt &pB,
const Pnt &pC,
const Pnt &pD);
137 const Face *find_face_const_ptr_by_vertices(
const Pnt &pA,
const Pnt &pB,
const Pnt &pC,
const Pnt &pD);
int getTagNode(void) const
Return node's tag.
Definition: Pnt.cc:264
const std::string & getConnectedEdgesNames(void) const
Return the names of the lines that touch the point.
Definition: Pnt.cc:169
const Edge * find_connected_edge_const_ptr(const Pnt &, const Pnt &)
Search for a line that connects the points.
Definition: Pnt.cc:381
double getSquaredDistanceTo(const Pos3d &pt) const
Return the squared distance to the position being passed as parameter.
Definition: Pnt.cc:224
bool In(const GeomObj3d &, const double &tol=0.0) const
Returns true if the point lies inside the geometric object.
Definition: Pnt.cc:229
Float vector abstraction.
Definition: Vector.h:94
void insert_line(Edge *l) const
Inserts the line being passed as parameter in the list of lines that begin or end in the point...
Definition: Pnt.cc:73
boost::python::list getConnectedEdgesPy(void)
Return the connected edges.
Definition: Pnt.cc:134
Vector3d VectorPos(void) const
Return the position vector of the point.
Definition: Pnt.cc:86
Base class for one-dimensional geometry objects.
Definition: Edge.h:48
double getAverageElementSize(void) const
Returnt the average of the elements sizes of the lines connected to the point.
Definition: Pnt.cc:99
Finite element model generation tools.
Definition: Preprocessor.h:59
bool Out(const GeomObj3d &, const double &tol=0.0) const
Returns true if the point lies outside the geometric object.
Definition: Pnt.cc:234
bool isEndPoint(const Edge &l) const
Returns true if the point is an end of the edge.
Definition: Pnt.cc:191
void Move(const Vector3d &)
Moves the point (used by XC::Set only).
Definition: Pnt.cc:359
const Pos3d & getPos(void) const
Returns the object position.
Definition: Pnt.h:77
void erase_line(Edge *l) const
Erases the line being passed as parameter in the list of lines that begin or end in the point...
Definition: Pnt.cc:78
const std::set< const Edge * > & getConnectedEdges(void) const
Return the list of the lines that begin or end at the point.
Definition: Pnt.h:99
virtual void update_topology(void)
Updates topology.
Definition: Pnt.cc:90
void create_nodes(void)
Creates nodes.
Definition: Pnt.cc:238
BND3d Bnd(void) const
Return the object BND.
Definition: Pnt.cc:94
void setPyDict(const boost::python::dict &)
Set the values of the object members from a Python dictionary.
Definition: Pnt.cc:535
Pos3d & Pos(void)
Returns the object position.
Definition: Pnt.h:80
bool hasNode(void) const
Returns true if the point owns a node (is meshed).
Definition: Pnt.cc:255
const Edge * find_edge_const_ptr_by_endpoints(const Pnt &pA, const Pnt &pB)
Search for a line that connects the points.
Definition: Pnt.cc:465
boost::python::dict getPyDict(void) const
Return a Python dictionary with the object members values.
Definition: Pnt.cc:520
void setPos(const Pos3d &pos)
Sets the object position.
Definition: Pnt.h:83
void add_to_sets(std::set< SetBase *> &)
Adds the point to the set being passed as parameters.
Definition: Pnt.cc:348
boost::python::list getConnectedEdgesTags(void) const
Return the identifiers of the connected edges.
Definition: Pnt.cc:118
std::set< SetBase * > get_sets(void) const
Return the sets to which this point belongs.
Definition: Pnt.cc:332
const size_t getNumConnectedEdges(void) const
Return the number of connected edges.
Definition: Pnt.h:96
Edge * find_connected_edge_ptr(const Pnt &, const Pnt &)
Search for a line that connects the points.
Definition: Pnt.cc:409
virtual unsigned short int GetDimension(void) const
Return the object dimension (0, 1, 2 or 3).
Definition: Pnt.h:66
"boundary" en tres dimensiones.
Definition: BND3d.h:34
Point (KPoint).
Definition: Pnt.h:50
Multiblock topology object (point, line, face, block,...).
Definition: EntMdlr.h:55
Geometric transformation that can be applied to the components of a set.
Definition: TrfGeom.h:48
structured set, i.
Definition: SetEstruct.h:47
const Node * setNode(Node *)
Set the point node.
Definition: Pnt.cc:301
Posición en tres dimensiones.
Definition: Pos3d.h:44
bool isConnectedTo(const Edge &l) const
Returns true if the line starts or ends in this point.
Definition: Pnt.cc:184
Open source finite element program for structural analysis.
Definition: ContinuaReprComponent.h:35
FiberSet operator-(const FiberSet &, const FiberSet &)
Return the fibers in a that are not in b.
Definition: FiberSet.cc:73
Pnt(Preprocessor *m, const Pos3d &pto=Pos3d())
Constructor.
Definition: Pnt.cc:45
Six-faced solid.
Definition: Body.h:71
Edge * find_edge_ptr_by_endpoints(const Pnt &pA, const Pnt &pB)
Search for a line that connects the points.
Definition: Pnt.cc:437
void Transform(const TrfGeom &trf)
Applies to the point the transformation being passed as parameter.
Definition: Pnt.cc:366
virtual void genMesh(meshing_dir dm=dirm_i)
Creates mesh.
Definition: Pnt.cc:249
SetEstruct * getCopy(void) const
Virtual constructor.
Definition: Pnt.cc:68
std::set< const Edge * > getEdgesThatEndOnThisPoint(void) const
Return the lines that start o finish in this point.
Definition: Pnt.cc:152
Mesh node.
Definition: Node.h:111
Node * getNode(void)
Return point's node.
Definition: Pnt.cc:279
Surface.
Definition: Face.h:45
const std::set< const Face * > getConnectedSurfaces(void) const
Returns the faces connected with the point.
Definition: Pnt.cc:211
Vector en tres dimensiones.
Definition: Vector3d.h:39
virtual bool operator==(const Pnt &) const
Comparison operator.
Definition: Pnt.cc:53
Clase base para los objetos en tres dimensiones.
Definition: GeomObj3d.h:43