VR-Vantage 2.6 API Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DtPlane.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2017 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 #pragma once
10 
11 namespace makVrv {
12 
13  enum PlaneSide
14  {
19  };
20 
23  template<class T>
24  class DtPlane
25  {
26  public:
27 
29  DtPlane();
30 
32  virtual ~DtPlane();
33 
35  T d;
36 
42 
48  PlaneSide getSide (const DtVector3<T>& centre, const DtVector3<T>& halfSize) const;
49 
54  T getDistance(const DtVector3<T>& rhs) const;
55  };
56 
57 } //namespace makVrv
58 
59 #include "DtPlane.inl"
virtual ~DtPlane()
DTOR.
Definition: DtPlane.inl:20
Definition: DtPlane.h:16
Definition: DtPlane.h:18
T getDistance(const DtVector3< T > &rhs) const
This is a pseudodistance.
Definition: DtPlane.inl:57
T d
Definition: DtPlane.h:35
Template for 32/64 bit Axis Aligned bounding boxes.
Definition: DtAxisAlignedBoundingBox.h:25
PlaneSide
Definition: DtPlane.h:13
DtPlane()
CTOR.
Definition: DtPlane.inl:14
Definition: DtPlane.h:17
2 dimensional vector
Definition: DtVector3.h:26
DtVector3< T > vNormal
Definition: DtPlane.h:34
Definition: DtPlane.h:15
DtPlane class.
Definition: DtPlane.h:24
PlaneSide getSide(const DtAxisAlignedBoundingBox< T > &box) const
Returns the side where the alignedBox is.
Definition: DtPlane.inl:26
DtPlane inlines.


Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)