VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtDynamicTerrainGeometryUnion.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2024 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #pragma once
11 
12 #include <vrvUtil/vrvUtil.h>
14 
15 #include <memory>
16 
17 namespace makVrv
18 {
20  {
21  public:
23 
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  const std::unique_ptr<DtDynamicTerrainGeometry> myLeft;
36  const std::unique_ptr<DtDynamicTerrainGeometry> myRight;
37  };
38 }
const std::unique_ptr< DtDynamicTerrainGeometry > myRight
Definition: DtDynamicTerrainGeometryUnion.h:36
Represents (possibly infinite) area of space.
Definition: DtDynamicTerrainGeometry.h:20
Definition: DtDynamicTerrainGeometryUnion.h:19
bool isFinite() const
Returns whether the geometry has all finite components.
Contains DLL export macros.
Contains makVrv::DtDynamicTerrainGeometry class.
const std::unique_ptr< DtDynamicTerrainGeometry > myLeft
Definition: DtDynamicTerrainGeometryUnion.h:35
bool intersects(const DtDynamicTerrainGeometry &geometry) const
Test if this geometry object intersects another one.
double distanceTo(const DtVector &point) const
Distance to the closest point which intersects this geometry.
void accept(Visitor &visitor) const
Run the visitor on this geometry.
DtDynamicTerrainGeometryUnion(DtDynamicTerrainGeometry *left, DtDynamicTerrainGeometry *right)
Visitor for search through geometries.
Definition: DtDynamicTerrainGeometry.h:24
DtDynamicTerrainGeometry * clone() const
Return cloned copy of this object. Caller takes ownership.

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)