49 Line(
const std::string &nombre=
"",
Preprocessor *m=
nullptr,
const size_t &ndiv= 4);
63 virtual BND3d
Bnd(
void)
const;
Pos3dArray get_positions(void) const
Returns ndiv+1 positions equally spaced along the line.
Definition: Line.cc:183
Float vector abstraction.
Definition: Vector.h:93
Edge * split_at(Pnt *, const double &, const double &)
Divides the line by the point being passed as parameter.
Definition: Line.cc:95
Line(Preprocessor *m, const size_t &ndiv=4)
Constructor.
Definition: Line.cc:42
Base class for one-dimensional geometry objects.
Definition: Edge.h:46
Edge * splitAtPoint(Pnt *p)
Divides the line by the point being passed as parameter.
Definition: Line.cc:122
Finite element model generation tools.
Definition: Preprocessor.h:58
double getLength(void) const
Return the line length.
Definition: Line.cc:54
int getVtkCellType(void) const
VTK interface.
Definition: Line.cc:212
Base class for 1D entities.
Definition: LineBase.h:40
virtual BND3d Bnd(void) const
Returns the line boundary.
Definition: Line.cc:166
Pos3d getCentroid(void) const
Return the centroid of the line.
Definition: Line.cc:63
virtual size_t getNumberOfVertices(void) const
Return the number of vertices.
Definition: Line.h:61
Line: base class for 1D objects.
Definition: Line.h:41
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: Line.cc:72
Point (KPoint).
Definition: Pnt.h:49
structured set, i.
Definition: SetEstruct.h:45
Edge * splitAtCooNatural(const double &)
Divides the line by the point obtained by: p1+lambda*VDir().
Definition: Line.cc:155
Open source finite element program for structural analysis.
Definition: ContinuaReprComponent.h:34
double getSquaredDistanceTo(const Pos3d &pt) const
Returns the squared distance to the position being passed as parameter.
Definition: Line.cc:91
Segment3d getLineSegment(void) const
Returns the segment than links the line ends.
Definition: Line.cc:81
Edge * splitAtLambda(const double &)
Divides the line by the point obtained by: p1+lambda*VDir().
Definition: Line.cc:143
const Vector & getVector(void) const
Returns the vector that goes for back end to front end.
Definition: Line.cc:192
virtual SetEstruct * getCopy(void) const
Virtual constructor.
Definition: Line.cc:50
virtual const Vector & getTang(const double &) const
Returns a unit vector in the tangent direction in the point defined by s.
Definition: Line.cc:203