![]() |
VR-Forces 4.0.4 Class Documentation
|
00001 /******************************************************************************* 00002 ** Copyright (c) 2011 MAK Technologies, Inc. 00003 ** All rights reserved. 00004 *******************************************************************************/ 00005 #pragma once 00006 00007 #include "gdb/rangeNetSegMet.h" 00008 00009 namespace BHAVE 00010 { 00011 00012 class DtAllMetric : public DtRangeNetworkSegmentMetric 00013 { 00014 public: 00015 DtAllMetric() 00016 { 00017 00018 } 00019 00020 inline virtual ~DtAllMetric() 00021 { 00022 00023 } 00024 00025 inline virtual bool circumscribedSquareTest(const DtNetworkSegment &seg) const 00026 { 00027 return true; 00028 } 00029 00030 inline virtual bool inscribedSquareTest(const DtNetworkSegment &seg) const 00031 { 00032 return true; 00033 } 00034 00035 inline virtual bool validSW(double xx, double yy) const 00036 { 00037 return true; 00038 } 00039 00040 inline virtual bool validSE(double xx, double yy) const 00041 { 00042 return true; 00043 } 00044 00045 inline virtual bool validNE(double xx, double yy) const 00046 { 00047 return true; 00048 } 00049 00050 inline virtual bool validNW(double xx, double yy) const 00051 { 00052 return true; 00053 } 00054 }; 00055 00056 00057 }