Go to the documentation of this file.
65 Lin2d(
const double A,
const double B,
const double C);
const Ax2d & position() const
bool contains(const Pnt2d &P, const double LinearTolerance) const
void setPosition(const Ax2d &A)
double distance(const Lin2d &Other) const
Computes the distance between two lines.
void setDirection(const Dir2d &V)
Changes the direction of the line.
void translate(const Vec2d &V)
const Pnt2d & location() const
Returns the location point (origin) of the line.
void mirror(const Pnt2d &P)
Lin2d mirrored(const Ax2d &A) const
void mirror(const Ax2d &A)
double distance(const Pnt2d &P) const
Computes the distance between <me> and the point.
double signedDistance(const Pnt2d &P) const
Computes the signed distance between <me> and the point.
const Dir2d & direction() const
Returns the direction of the line.
Lin2d mirrored(const Pnt2d &P) const
Lin2d(const Ax2d &A)
Creates a line located with A.
double squareDistance(const Pnt2d &P) const
Lin2d()
Creates an indefinite Line.
Defines a non-persistent vector in 2D space.
Definition: Vec2d.h:33
Lin2d(const Pnt2d &P, const Dir2d &V)
Lin2d scaled(const Pnt2d &P, const double S) const
void translate(const Pnt2d &P1, const Pnt2d &P2)
const Ax2d & _CSFDB_GetLin2dpos() const
Definition: Lin2d.h:161
double angle(const Lin2d &Other) const
Computes the angle between two lines in radians.
Lin2d normal(const Pnt2d &P) const
Lin2d transformed(const Trsf2d &T) const
Transforms a line with the transformation T from class Trsf2d.
void transform(const Trsf2d &T)
Lin2d rotated(const Pnt2d &P, const double Ang) const
Defines a non-persistent 2D cartesian point.
Definition: Pnt2d.h:34
void scale(const Pnt2d &P, const double S)
Lin2d translated(const Pnt2d &P1, const Pnt2d &P2) const
Translates a line from the point P1 to the point P2.
void coefficients(double &A, double &B, double &C) const
Lin2d(const double A, const double B, const double C)
void rotate(const Pnt2d &P, const double Ang)
Lin2d translated(const Vec2d &V) const
void setLocation(const Pnt2d &P)
Changes the origin of the line.
double squareDistance(const Lin2d &Other) const
Computes the square distance between two lines.
Definition: PropertyContainer.h:33