36 typedef std::vector<Geom::Pnt>
PNTS;
59 Pnt(
const double Xp,
const double Yp,
const double Zp = .0);
70 void setCoord(
const int Index,
const double Xi);
72 void setCoord(
const double Xp,
const double Yp,
const double Zp = .0);
74 void setX(
const double X);
76 void setY(
const double Y);
78 void setZ(
const double Z);
87 double coord(
const int Index)
const;
89 void coord(
double& Xp,
double& Yp,
double& Zp)
const;
106 void baryCenter(
const double Alpha,
const Pnt& P,
const double Beta);
110 bool isEqual(
const Pnt& Other,
const double LinearTolerance)
const;
112 double distance(
const Pnt& Other)
const;
114 double squareDistance(
const Pnt& Other)
const;
120 void mirror(
const Pnt& P);
126 Pnt mirrored(
const Pnt& P)
const;
145 void rotate(
const Geom::Ax1& A1,
const double Ang);
146 Pnt rotated(
const Geom::Ax1& A1,
const double Ang)
const;
149 void scale(
const Pnt& P,
const double S);
150 Pnt scaled(
const Pnt& P,
const double S)
const;
163 void translate(
const Pnt& P1,
const Pnt& P2);
164 Pnt translated(
const Pnt& P1,
const Pnt& P2)
const;
167 bool operator==(
const Geom::Pnt& other)
const;
177 double& operator[](
int i);
178 const double& operator[](
int i)
const;
185 bool operator<(
const Geom::Pnt& rhs)
const;
X
Definition: Globals.h:32
Defines a non-persistent 3D Cartesian point.
Definition: Pnt.h:42
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
#define GEOM_EXPORT
Definition: geom_defines.h:8
Y
Definition: Globals.h:32
Z
Definition: Globals.h:32
Defines a non-persistent vector in 3D space.
Definition: Vec.h:45
std::vector< Geom::Pnt > PNTS
Definition: Pnt.h:36
Geom::Vec operator *(const double Scalar, const Geom::Vec &V)
Definition: Vec.h:312
static Pnt ZeroPnt()
Definition: Pnt.h:64