51 Line(
const std::string &name=
"",
Preprocessor *m=
nullptr,
const size_t &ndiv= 4);
Edge * splitAtPos3d(const Pos3d &, const double &tol=1e-6)
Divides the edge at the point argument.
Definition: Line.cc:224
int create_gmsh_line(void) const
Ask Gmsh to create the line corresponding to this one.
Definition: Line.cc:287
Pos3dArray get_positions(void) const
Returns ndiv+1 positions equally spaced along the line.
Definition: Line.cc:257
Float vector abstraction.
Definition: Vector.h:94
virtual Vector3d getJVector(void) const
Returns a vector in the direction of the local Y axis.
Definition: Line.cc:86
Edge * split_at(Pnt *, const double &, const double &)
Divides the line by the point being passed as parameter.
Definition: Line.cc:130
Line(Preprocessor *m, const size_t &ndiv=4)
Constructor.
Definition: Line.cc:44
Segment en tres dimensiones.
Definition: Segment3d.h:41
Base class for one-dimensional geometry objects.
Definition: Edge.h:48
Edge * splitAtPoint(Pnt *p)
Divides the line by the point being passed as parameter.
Definition: Line.cc:165
Finite element model generation tools.
Definition: Preprocessor.h:59
double getLength(void) const
Return the line length.
Definition: Line.cc:56
Array of positions in a three-dimensional space.
Definition: Pos3dArray.h:38
int getVtkCellType(void) const
VTK interface.
Definition: Line.cc:298
Base class for 1D entities.
Definition: LineBase.h:41
virtual BND3d Bnd(void) const
Returns the line boundary.
Definition: Line.cc:240
Pos3d getCentroid(void) const
Return the centroid of the line.
Definition: Line.cc:65
virtual size_t getNumberOfVertices(void) const
Return the number of vertices.
Definition: Line.h:65
Line: base class for 1D objects.
Definition: Line.h:42
double getDist(const Pos3d &) const
Returns the distance to the position being passed as parameter.
Definition: Line.cc:126
"boundary" en tres dimensiones.
Definition: BND3d.h:34
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:102
Point (KPoint).
Definition: Pnt.h:50
double getSquaredDistanceTo(const Pos3d &) const
Returns the squared distance to the position being passed as parameter.
Definition: Line.cc:121
Edge * splitAtNaturalCoord(const double &)
Divides the line by the point obtained by: p1+lambda*VDir().
Definition: Line.cc:209
structured set, i.
Definition: SetEstruct.h:47
Posición en tres dimensiones.
Definition: Pos3d.h:44
Open source finite element program for structural analysis.
Definition: ContinuaReprComponent.h:35
Segment3d getLineSegment(void) const
Returns the segment than links the line ends.
Definition: Line.cc:111
Edge * splitAtLambda(const double &)
Divides the line by the point obtained by: p1+lambda*VDir().
Definition: Line.cc:195
virtual Vector3d getIVector(void) const
Returns a vector in the direction of the local X axis.
Definition: Line.cc:75
const Vector & getVector(void) const
Returns the vector that goes for back end to front end.
Definition: Line.cc:266
virtual SetEstruct * getCopy(void) const
Virtual constructor.
Definition: Line.cc:52
Vector en tres dimensiones.
Definition: Vector3d.h:39
virtual const Vector & getTang(const double &) const
Returns a unit vector in the tangent direction in the point defined by s.
Definition: Line.cc:277