32 #include "LineaBase.h" 49 Linea(
const std::string &nombre=
"",
Preprocessor *m=
nullptr,
const size_t &ndiv= 4);
62 virtual BND3d Bnd(
void)
const;
Base class for one-dimensional geometry objects.
Definition: Edge.h:46
virtual const Vector & getTang(const double &) const
Returns a unit vector in the tangent direction in the point defined by s.
Definition: Linea.cc:185
Edge * splitAtPoint(Pnt *p)
Divides the line by the point being passed as parameter.
Definition: Linea.cc:114
double DistanciaA2(const Pos3d &pt) const
Returns the squared distance to the position being passed as parameter.
Definition: Linea.cc:83
Base class for 1D entities.
Definition: LineaBase.h:40
Edge * split_at(Pnt *, const double &, const double &)
Divides the line by the point being passed as parameter.
Definition: Linea.cc:87
Segmento de recta entre dos puntos.
Definition: Linea.h:41
const Vector & getVector(void) const
Returns the vector that goes for back end to front end.
Definition: Linea.cc:174
int getVtkCellType(void) const
Interfaz con VTK.
Definition: Linea.cc:194
Finite element model generation tools.
Definition: Preprocessor.h:58
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
Linea(Preprocessor *m, const size_t &ndiv=4)
Constructor.
Definition: Linea.cc:43
double getLambda(const Pos3d &) const
Returns the parameter of the point in the line (distance to the line's first point measured over the ...
Definition: Linea.cc:64
Punto (KPoint).
Definition: Pnt.h:49
MatrizPos3d get_posiciones(void) const
Returns ndiv+1 positions equally spaced along the line.
Definition: Linea.cc:165
virtual SetEstruct * getCopy(void) const
Virtual constructor.
Definition: Linea.cc:51
Edge * splitAtLambda(const double &)
Divides the line by the point obtained by: p1+lambda*VDir().
Definition: Linea.cc:134
Segmento3d getSegmento(void) const
Returns the segment than links the line ends.
Definition: Linea.cc:73
Edge * splitAtCooNatural(const double &)
Divides the line by the point obtained by: p1+lambda*VDir().
Definition: Linea.cc:146
double getLongitud(void) const
Return the line length.
Definition: Linea.cc:55
================================================================================
Definition: ContinuaReprComponent.h:34
int getMEDCellType(void) const
Interfaz con el formato MED de Salome.
Definition: Linea.cc:199
virtual size_t NumVertices(void) const
Returns the number of vertices.
Definition: Linea.h:60