35 typedef std::vector<Geom::Pnt>
PNTS;
43 class LX_GEOM_EXPORT
Pnt 60 Pnt(
const double Xp,
const double Yp,
const double Zp = .0);
71 void setCoord(
const int Index,
const double Xi);
73 void setCoord(
const double Xp,
const double Yp,
const double Zp = .0);
75 void setX(
const double X);
77 void setY(
const double Y);
79 void setZ(
const double Z);
88 double coord(
const int Index)
const;
90 void coord(
double& Xp,
double& Yp,
double& Zp)
const;
111 void baryCenter(
const double Alpha,
const Pnt& P,
const double Beta);
115 bool isEqual(
const Pnt& Other,
const double LinearTolerance)
const;
119 double squareDistance(
const Pnt& Other)
const;
125 void mirror(
const Pnt& P);
131 Pnt mirrored(
const Pnt& P)
const;
150 void rotate(
const Geom::Ax1& A1,
const double Ang);
151 Pnt rotated(
const Geom::Ax1& A1,
const double Ang)
const;
154 void scale(
const Pnt& P,
const double S);
155 Pnt scaled(
const Pnt& P,
const double S)
const;
168 void translate(
const Pnt& P1,
const Pnt& P2);
169 Pnt translated(
const Pnt& P1,
const Pnt& P2)
const;
172 bool operator==(
const Geom::Pnt& other)
const;
182 double& operator[](
int i);
183 const double& operator[](
int i)
const;
190 bool operator<(
const Geom::Pnt& rhs)
const;
196 LX_GEOM_EXPORT QString
to_string(
const Pnt& pnt);
X
Definition: Globals.h:29
DualNumber operator-(DualNumber a, DualNumber b)
Definition: DualNumber.h:61
Defines a non-persistent 3D Cartesian point.
Definition: Pnt.h:43
constexpr bool operator!=(const basic_hashed_string< Char > &lhs, const basic_hashed_string< Char > &rhs) ENTT_NOEXCEPT
Compares two hashed strings.
Definition: entt.hpp:570
void transform(Container container, OutputIt out, BinaryFunction function)
Definition: Algorithms.h:29
DualNumber operator+(DualNumber a, DualNumber b)
Definition: DualNumber.h:51
Y
Definition: Globals.h:29
LX_GEOM_EXPORT QString to_string(const Dir &dir)
Z
Definition: Globals.h:29
Defines a non-persistent vector in 3D space.
Definition: Vec.h:44
double distance(const Geom::Vec &v1, const Geom::Vec &v2)
Returns the distance between two points.
Definition: Vec.h:345
std::vector< Geom::Pnt > PNTS
Definition: Pnt.h:35
static Pnt ZeroPnt()
Definition: Pnt.h:65
DualNumber operator *(DualNumber a, DualNumber b)
Definition: DualNumber.h:71