60 const DtPoint& endpoint0()
const;
64 const DtPoint& endpoint1()
const;
67 double directedXComponent()
const;
70 double directedYComponent()
const;
73 double directedZComponent()
const;
81 virtual DtPoint computePoint(
const double t)
const;
84 virtual bool isCollinear(
const DtPoint& p)
const;
87 virtual bool parallelToXYPlane()
const;
90 virtual bool inPlaneZEquals(
const double c)
const;
95 virtual bool intersectsPlaneZEqualsAtPoint(
const double c,
96 double& tvalue)
const;
100 virtual bool collinearPointLiesWithin(
const DtPoint& pt)
const;
107 double lengthSquared()
const;
112 virtual double minZ()
const;
115 virtual double maxZ()
const;
121 double lengthOnX()
const;
125 double lengthOnY()
const;
129 double lengthOnZ()
const;
133 virtual void dump(
void)
const;
NOTE: This entire class is deprecated, in favor of Dt3dChord.
Definition: chord.h:40
const DtExtent & extent() const
Definition: chord.h:153
const DtPoint & endpoint0() const
Definition: chord.h:158
DtExtent myExtent
Data derived from endpoints. Should never be set by user.
Definition: chord.h:148
double directedXComponent() const
Definition: chord.h:168
The DtExtent represents an axis-aligned 3d bounding box.
Definition: extent.h:43
#define DT_DLL_geometry
Definition: geometryDefines.h:23
const DtPoint & endpoint1() const
Definition: chord.h:163
double directedZComponent() const
Definition: chord.h:178
DtPoint myFirstEndpoint
Definition: chord.h:138
double myC
Data derived from endpoints. Should never be set by user.
Definition: chord.h:146
double directedYComponent() const
Definition: chord.h:173
double lengthOnZ() const
Definition: chord.h:193
Contains the declaration of the DtExtent class.
DT_DLL_VRVCORE double length(const makVrv::DtCoordinateSystem &, const std::vector< DtVector > &vertices)
Returns the total distance of a segmented line defined by the provided vector of vertices. Coordinates are in local database coordinates. The coordinate system is used to convert between the local database coordinates and geocentric. All distance is in 2D – the Z value is ignored.
double lengthOnX() const
Definition: chord.h:183
double lengthOnY() const
Definition: chord.h:188
DtPoint mySecondEndpoint
Definition: chord.h:139
double myB
Data derived from endpoints. Should never be set by user.
Definition: chord.h:145
double myA
Data derived from endpoints. Should never be set by user.
Definition: chord.h:144