VR-Forces 5.0.2 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtDynamicTerrainGeometryIntersection.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2016 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #pragma once
11 
12 #include <vrvUtil/vrvUtil.h>
14 
15 #include <boost/scoped_ptr.hpp>
16 
17 namespace makVrv
18 {
20  {
21  public:
23 
24  DtDynamicTerrainGeometry* clone() const;
25 
26  void accept(Visitor& visitor) const;
27 
28  bool intersects(const DtDynamicTerrainGeometry& geometry) const;
29 
30  double distanceTo(const DtVector& point) const;
31 
32  bool isFinite() const;
33 
34  protected:
35  boost::scoped_ptr<DtDynamicTerrainGeometry> myLeft, myRight;
36  };
37 }
#define DT_DLL_VRVUTIL
Definition: vrvUtil.h:34
Represents (possibly infinite) area of space.
Definition: DtDynamicTerrainGeometry.h:20
boost::scoped_ptr< DtDynamicTerrainGeometry > myRight
Definition: DtDynamicTerrainGeometryIntersection.h:35
Contains DLL export macros.
Contains makVrv::DtDynamicTerrainGeometry class.
Visitor for search through geometries.
Definition: DtDynamicTerrainGeometry.h:24
Definition: DtDynamicTerrainGeometryIntersection.h:19
DT_DLL_vrfutil bool intersects(const DtVector &localPoint1, const DtVector &localPoint2, const DtLocalVertexList &localVertexList, const Coordinate_System &coordinateSystem)
Returns true if the line segment localPoint1-localPoint2 intersects any line segment in localVert...

Document ID: Generated on Sun Dec 4 20:22:03 EST 2022 from SVN revision 249613
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)