void setLocation(const Geom::Pnt &P)
Changes the location point (origin) of the line.
double squareDistance(const Geom::Pnt &P) const
Computes the square distance between <me> and the point P.
void mirror(const Geom::Pnt &P)
Lin scaled(const Geom::Pnt &P, const double S) const
bool contains(const Geom::Pnt &P, const double LinearTolerance) const
double distance(const Lin &Other) const
Computes the distance between two lines.
void rotate(const Geom::Ax1 &A1, const double Ang)
Lin translated(const Geom::Pnt &P1, const Geom::Pnt &P2) const
Translates a line from the point P1 to the point P2.
Defines a non-persistent vector in 3D space.
Definition: Vec.h:41
const Geom::Dir & direction() const
Returns the direction of the line.
void setPosition(const Geom::Ax1 &A1)
Lin()
Creates an indefinite Line.
void mirror(const Geom::Ax2 &A2)
Lin(const Geom::Pnt &P, const Geom::Dir &V)
Lin normal(const Geom::Pnt &P) const
void translate(const Geom::Pnt &P1, const Geom::Pnt &P2)
Lin(const Geom::Ax1 &A1)
Creates a line defined by axis A1.
double angle(const Lin &Other) const
Computes the angle between two lines in radians.
Lin mirrored(const Geom::Ax2 &A2) const
Lin rotated(const Geom::Ax1 &A1, const double Ang) const
const Geom::Ax1 & position() const
void translate(const Geom::Vec &V)
Defines a non-persistent 3D Cartesian point.
Definition: Pnt.h:44
void mirror(const Geom::Ax1 &A1)
Lin mirrored(const Geom::Ax1 &A1) const
double squareDistance(const Lin &Other) const
Computes the square distance between two lines.
void setDirection(const Geom::Dir &V)
Changes the direction of the line.
void transform(const Geom::Trsf &T)
Lin mirrored(const Geom::Pnt &P) const
Lin transformed(const Geom::Trsf &T) const
Transforms a line with the transformation T from class Trsf.
Lin translated(const Geom::Vec &V) const
const Geom::Pnt & location() const
Returns the location point (origin) of the line.
void scale(const Geom::Pnt &P, const double S)
double distance(const Geom::Pnt &P) const
Computes the distance between <me> and the point P.
Definition: PropertyContainer.h:33