Go to the documentation of this file.
51 class LX_GEOM_EXPORT
Pln
84 Pln(
const double A,
const double B,
const double C,
const double D);
88 void coefficients(
double& A,
double& B,
double& C,
double& D)
const;
150 bool contains(
const Geom::Lin& L,
const double LinearTolerance,
const double AngularTolerance)
const;
bool contains(const Geom::Pnt &P, const double LinearTolerance) const
Pln()
Creates an indefinite plane.
void coefficients(double &A, double &B, double &C, double &D) const
void transform(const Geom::Trsf &T)
const Geom::Ax3 & position() const
Returns the local coordinate system of the plane .
Geom::Ax1 xAxis() const
Returns the X axis of the plane.
const Geom::Ax1 & axis() const
Returns the plane's normal Axis.
Defines a non-persistent vector in 3D space.
Definition: Vec.h:41
void scale(const Geom::Pnt &P, const double S)
const Geom::Pnt & location() const
Returns the plane's location (origin).
double distance(const Geom::Pnt &P) const
Computes the distance between <me> and the point.
bool contains(const Geom::Lin &L, const double LinearTolerance, const double AngularTolerance) const
void translate(const Geom::Pnt &P1, const Geom::Pnt &P2)
double distance(const Pln &Other) const
Computes the distance between two planes.
void rotate(const Geom::Ax1 &A1, const double Ang)
void mirror(const Geom::Pnt &P)
void translate(const Geom::Vec &V)
Geom::Ax1 yAxis() const
Returns the Y axis of the plane.
void setAxis(const Geom::Ax1 &A1)
Defines a non-persistent 3D Cartesian point.
Definition: Pnt.h:44
double distance(const Geom::Lin &L) const
Computes the distance between <me> and the line <L>.
double signeddistance(const Geom::Pnt &P) const
Computes the signed distance between <me> and the point.
double squareDistance(const Geom::Lin &L) const
Computes the square distance between <me> and the line <L>.
Pln(const double A, const double B, const double C, const double D)
Pln translated(const Geom::Vec &V) const
Pln scaled(const Geom::Pnt &P, const double S) const
Scales a plane. S is the scaling value.
void setLocation(const Geom::Pnt &Loc)
Changes the origin of the plane.
Pln transformed(const Geom::Trsf &T) const
void mirror(const Geom::Ax2 &A2)
double squareDistance(const Pln &Other) const
Computes the square distance between two planes.
Pln(const Geom::Pnt &P, const Geom::Dir &V)
double squareDistance(const Geom::Pnt &P) const
Computes the square distance between <me> and the point.
Pln mirrored(const Geom::Ax2 &A2) const
void mirror(const Geom::Ax1 &A1)
bool direct() const
returns true if the Ax3 is right handed.
Pln mirrored(const Geom::Ax1 &A1) const
void setPosition(const Geom::Ax3 &A3)
Changes the local coordinate system of the plane.
Pln rotated(const Geom::Ax1 &A1, const double Ang) const
Pln translated(const Geom::Pnt &P1, const Geom::Pnt &P2) const
Translates a plane from the point P1 to the point P2.
Definition: PropertyContainer.h:33
Pln mirrored(const Geom::Pnt &P) const