VR-Vantage
Loading...
Searching...
No Matches
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
11namespace makVrv {
12
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"
DtPlane inlines.
Template for 32/64 bit Axis Aligned bounding boxesnot virtual because its stored as is on the GPU.
Definition DtAxisAlignedBoundingBox.h:28
T d
Definition DtPlane.h:35
virtual ~DtPlane()
DTOR.
Definition DtPlane.inl:24
T getDistance(const DtVector3< T > &rhs) const
Definition DtPlane.inl:61
DtPlane()
CTOR.
Definition DtPlane.inl:17
DtVector3< T > vNormal
Definition DtPlane.h:34
PlaneSide getSide(const DtAxisAlignedBoundingBox< T > &box) const
Definition DtPlane.inl:30
2 dimensional vector
Definition DtVector3.h:27
Contains DtCreateSensorFieldOfViewCommand and DtCreateSensorFieldOfViewCommandCreator class declarati...
Definition DtGridLinesSettingsRecord.h:16
PlaneSide
Definition DtPlane.h:14
@ POSITIVE_SIDE
Definition DtPlane.h:16
@ NEGATIVE_SIDE
Definition DtPlane.h:17
@ BOTH_SIDE
Definition DtPlane.h:18
@ NO_SIDE
Definition DtPlane.h:15