VR-Forces 4.7 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
localVertexList.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 1999-2001 MaK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************/
5 
8 #pragma once
9 
10 #include "vrfutil/vertexList.h"
11 
12 class DtLocalVector;
14 
19 #include "vrfutil/vrfutilDefines.h"
21 {
22 public:
23 
26 
29  parentRegistry = NULL);
30 
32  virtual ~DtLocalVertexList();
33 
36  virtual bool closedFigure() const;
37  virtual void setClosedFigure(bool closed);
38 
41  virtual bool isEllipsoid() const;
42  virtual void setIsEllipsoid(bool closed);
43 
46  virtual bool projection() const;
47  virtual void setProjection(bool projection);
48 
49  virtual const DtLocalVectorIterator& localIterator() const;
50 
55 
63 
69  virtual bool leftOf(const DtVector& point) const;
70 
76  virtual double headingAngleTo(const DtVector& point) const;
77 
83  virtual double elevationAngleTo(const DtVector& point) const;
84 
90  virtual double localDistSquaredTo(const DtVector& point) const;
91 
97  virtual double distSquaredTo2D(const DtVector& point) const;
98 
105  virtual bool intersects(const DtVector& point1, const DtVector& point2) const;
106 
109  virtual bool getClosestVertex2D(const DtVector& point, DtVector& vertex) const;
110 
113  virtual DtListItem* getClosestVertex2D(const DtVector& point) const;
114 
118  virtual bool getClosestLine2D(const DtVector& point, DtVector& linePt1,
119  DtVector& linePt2) const;
120 
121 public:
122 
124  static double distanceSquaredPointToLine2D(const DtVector& point,
125  const DtVector& linePt1, const DtVector& linePt2);
126 
128  static double distanceSquaredPointToPoint2D(const DtVector& point1,
129  const DtVector& point2);
130 
131 private:
132 
136 
140 
141 protected:
142 
147 };

Document ID: Generated on Fri Apr 26 21:53:14 EDT 2019 from SVN revision 197883
Copyright © 2005-2019 VT MAK. All Rights Reserved (www.mak.com)