VR-Forces 4.0.4 Class Documentation
include/gdb/areaNetMet.h
Go to the documentation of this file.
00001 /*********************************************************************
00002 ** Copyright (c) 2001 MaK Technologies, Inc.
00003 ** All rights reserved.
00004 *********************************************************************/
00005 /*********************************************************************
00006 ** $RCSfile: areaNetMet.h,v $ $Revision: 1.9 $ $State: Exp $
00007 *********************************************************************/
00008 
00009 #pragma once
00010 
00011 #include "gdb/gdbDefines.h"
00012 #include "gdb/metric.h"
00013 #include "geometry/point.h"
00014 
00015 class DtNetworkSegment;
00016 
00022 
00023 class DT_DLL_gdb DtNetworkAreaMetric : public DtMetric
00024 {
00025 
00026 public:
00027 
00029    DtNetworkAreaMetric();
00030 
00032    virtual ~DtNetworkAreaMetric();
00033 
00035    DtNetworkAreaMetric(const DtNetworkAreaMetric& orig);
00036 
00038    DtNetworkAreaMetric& operator=(const DtNetworkAreaMetric& orig);
00039 
00041    virtual double measure(const DtNetworkSegment& seg) const;
00042 
00045    virtual bool valid(const DtNetworkSegment& seg) const;
00046 
00048    virtual const DtPoint& centerOfInterest() const;
00049    virtual void setCenterOfInterest(const DtPoint& centerOfInterest);
00050 
00052    virtual DtVector vectorCenterOfInterest() const;
00053    virtual void setCenterOfInterest(const DtVector& centerOfInterest);
00054 
00056    virtual void initialize(Coordinate_System* cs);
00057 
00058 protected:
00059 
00060    DtPoint myCenterOfInterest;
00061    DtVector myTopoCenterOfInterest;
00062 };
00063 

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)