VR-Forces 4.1 Class Documentation
lclVtxList.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 projection() const;
42  virtual void setProjection(bool projection);
43 
44  virtual const DtLocalVectorIterator& localIterator() const;
45 
50 
58 
63  virtual bool inside(const DtVector& point) const;
64 
70  virtual bool leftOf(const DtVector& point) const;
71 
77  virtual double headingAngleTo(const DtVector& point) const;
78 
84  virtual double elevationAngleTo(const DtVector& point) const;
85 
91  virtual double localDistSquaredTo(const DtVector& point) const;
92 
98  virtual double distSquaredTo2D(const DtVector& point) const;
99 
106  virtual bool intersects(const DtVector& point1, const DtVector& point2) const;
107 
110  virtual bool getClosestVertex2D(const DtVector& point, DtVector& vertex) const;
111 
114  virtual DtListItem* getClosestVertex2D(const DtVector& point) const;
115 
119  virtual bool getClosestLine2D(const DtVector& point, DtVector& linePt1,
120  DtVector& linePt2) const;
121 
122 public:
123 
125  static double distanceSquaredPointToLine2D(const DtVector& point,
126  const DtVector& linePt1, const DtVector& linePt2);
127 
129  static double distanceSquaredPointToPoint2D(const DtVector& point1,
130  const DtVector& point2);
131 
132 private:
133 
137 
141 
142 protected:
143 
147 };

Document ID: Generated on Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (www.mak.com)