33 #include "EntityMap.h" 34 #include "preprocessor/multi_block_topology/entities/1d/Edge.h" 52 void updateSets(
Edge *)
const;
60 Vector3d getVector(
const Indice &i,
const Indice &j)
const;
61 Line3d getRecta(
const Indice &i,
const Indice &j)
const;
62 Plane getPlane(
const Indice &i,
const Indice &j,
const Indice &k)
const;
68 Edge *
New(
const size_t &,
const std::string &);
82 boost::python::dict
getPyDict(
void)
const;
83 void setPyDict(
const boost::python::dict &);
92 Edge *retval=
new E(preprocessor);
93 const size_t tg= this->getTag();
94 retval->
Name()=
"l"+boost::lexical_cast<std::string>(tg);
115 size_t old_tag= getTag();
116 Edge *retval=
nullptr;
118 retval=
busca(getTag());
122 <<
"; edge with identifier: " << tag
123 <<
" already exists. Command ignored." << std::endl;
126 { retval= Crea<E>(); }
Edge * createDividedLine(Pnt *, Pnt *)
Creates a new line between the points being passed as parameters and inserts it on the container...
Definition: LineMap.cc:170
Edge * New(void)
Creates a new Edge.
Definition: LineMap.h:103
Base class for one-dimensional geometry objects.
Definition: Edge.h:48
Edge * createLine(Pnt *, Pnt *)
Find a line between the points or creates a new one.
Definition: LineMap.cc:133
CmbEdge * newLineSequence(void)
Line sequence.
Definition: LineMap.cc:107
LineMap(MultiBlockTopology *mbt=nullptr)
Constructor.
Definition: LineMap.cc:44
Geometric entities container (points, lines, surfaces,...).
Definition: EntityMap.h:43
Finite element model generation tools.
Definition: Preprocessor.h:59
CircularArc * newCircleArc(const size_t &, const size_t &, const size_t &)
Circle arc.
Definition: LineMap.cc:92
Model geometry manager.
Definition: MultiBlockTopology.h:68
Line divided in segments of specified lengths.
Definition: DividedLine.h:40
boost::python::dict getPyDict(void) const
Return a Python dictionary with the object members values.
Definition: LineMap.cc:281
Edge * createArc(Pnt *, Pnt *, Pnt *)
Creates a new arc of circle between the points being passed as parameters and inserts it in the edge ...
Definition: LineMap.cc:205
Edge * createLineSequence(void)
Creates a line sequence (polyline) with those being passed as parameters and inserts it in the edge s...
Definition: LineMap.cc:236
Plane in a three-dimensional space.
Definition: Plane.h:49
std::string & Name(void)
Return a reference to the object name.
Definition: NamedEntity.h:52
DividedLine * newDividedLine(const size_t &, const size_t &)
Divided line.
Definition: LineMap.cc:79
Line * newLine(const size_t &, const size_t &)
Line segment.
Definition: LineMap.cc:66
Circumference arc.
Definition: CircularArc.h:44
Edge * createCopy(const Edge *l)
Return a copy of the argument edge.
Definition: LineMap.cc:244
virtual std::string getClassName(void) const
Returns demangled class name.
Definition: EntityWithOwner.cc:90
Line container.
Definition: LineMap.h:49
Line: base class for 1D objects.
Definition: Line.h:42
Compound line.
Definition: CmbEdge.h:46
Point (KPoint).
Definition: Pnt.h:50
const Preprocessor * getPreprocessor(void) const
Return a pointer to preprocessor.
Definition: ModelComponentContainerBase.cc:54
Line in a three-dimensional space.
Definition: Line3d.h:62
Open source finite element program for structural analysis.
Definition: ContinuaReprComponent.h:35
Edge * Crea(void)
Creates a new line.
Definition: LineMap.h:88
Vector en tres dimensiones.
Definition: Vector3d.h:39
void setPyDict(const boost::python::dict &)
Set the values of the object members from a Python dictionary.
Definition: LineMap.cc:297
Edge * busca(const Indice &)
Return a pointer to the geometry entity whose identifier is passed as parameter.
Definition: ModelComponentContainer.h:78
double getAverageLength(void) const
Return the average length of the surfaces.
Definition: LineMap.cc:271