32 static DPoint3d From (
double x,
double y,
double z = 0.0);
43 static DPoint3d FromArray (
const double *pXyz);
105 void InitFromArray (
const double *pXyz);
123 void Init (
double ax,
double ay,
double az);
132 void Init (
double ax,
double ay);
148 void SetComponent (
double a,
int index);
158 double GetComponent (
int index)
const;
167 void GetComponents (
double &xCoord,
double &yCoord,
double &zCoord)
const;
216 double DistanceSquared (
DPoint3dCR point2)
const;
226 double DistanceSquaredXY (
DPoint3dCR point2)
const;
249 double MaxAbs ()
const;
253 double MinAbs ()
const;
256 int MaxAbsIndex ()
const;
259 int MinAbsIndex ()
const;
282 bool IsEqual (
DPoint3dCR point2,
double tolerance)
const;
297 bool IsDisconnect ()
const;
302 void InitDisconnect ();
381 double CrossProductXY (
DPoint3dCR point2)
const;
429 double DotProductXY (
DPoint3dCR point2)
const;
439 double DotProduct (
double ax,
double ay,
double az)
const;
466 double AngleXY ()
const;
475 double SmallerUnorientedAngleTo (
DPoint3dCR point2)
const;
529 double SmallerUnorientedAngleToXY (
DPoint3dCR point2)
const;
536 void RotateXY (
DPoint3dCR vector,
double theta);
542 void RotateXY (
double theta);
592 double MagnitudeSquared ()
const;
598 double MagnitudeXY ()
const;
604 double MagnitudeSquaredXY ()
const;
617 double Magnitude ()
const;
630 void Scale (
double scale);
664 double ScaleToLength (
DPoint3dCR vector,
double length);
675 double ScaleToLength (
double length);
701 bool IsPerpendicularTo (
DPoint3dCR point2)
const;
711 bool SafeDivide (
DPoint3dCR vector,
double denominator);
827 static void MultiplyArrayByScales (
DPoint3dP pDest,
DPoint3dCP pSource,
double *pScales,
int n);
838 static void DivideArrayByScales (
DPoint3dP pDest,
DPoint3dCP pSource,
double *pScales,
int n);
938 bool AlmostEqual (
DPoint3d const & dataB)
const;
946 bool AlmostEqualXY (
DPoint3d const & dataB)
const;
955 bool AlmostEqual (
DPoint3d const & dataB,
double abstol)
const;
964 bool AlmostEqualXY (
DPoint3d const & dataB,
double abstol)
const;
984 #endif // __cplusplus
990 #endif // dpoint3d_H_
Distance dimensional constraint.
struct DPoint3d const * DPoint3dCP
Definition: msgeomstructs_typedefs.h:79
struct RotMatrix const & RotMatrixCR
Definition: msgeomstructs_typedefs.h:135
double x
x coordinate
Definition: dpoint3d.h:22
#define BEGIN_BENTLEY_NAMESPACE
Definition: Bentley.r.h:24
3d point coordinates.
Definition: dpoint3d.h:19
struct DRange3d const & DRange3dCR
Definition: msgeomstructs_typedefs.h:108
struct DPoint2d const & DPoint2dCR
Definition: msgeomstructs_typedefs.h:78
double y
y coordinate
Definition: dpoint3d.h:24
A 1d interval with low and high values.
Definition: DRange1d.h:41
struct DMatrix4d const * DMatrix4dCP
Definition: msgeomstructs_typedefs.h:97
double z
z coordinate
Definition: dpoint3d.h:26
struct Transform const & TransformCR
Definition: msgeomstructs_typedefs.h:134
#define END_BENTLEY_NAMESPACE
Definition: Bentley.r.h:25
struct DPoint3d const & DPoint3dCR
Definition: msgeomstructs_typedefs.h:79
struct DVec3d const & DVec3dCR
Definition: msgeomstructs_typedefs.h:89
struct DPoint4d const & DPoint4dCR
Definition: msgeomstructs_typedefs.h:96