VR-Forces 4.0.4 Class Documentation
include/vrfmodel/railPathMetric.h
Go to the documentation of this file.
00001 /*******************************************************************************
00002 ** Copyright (c) 2010 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 *******************************************************************************/
00005 /*******************************************************************************
00006 ** $RCSfile: railPathMetric.h,v $ $Revision: 1.1 $ $State: Exp $
00007 ** Created: 3/26/10 MEM
00008 *******************************************************************************/
00009 
00013 
00015 
00016 #include "vrfobjcore/pathMetric.h"
00017 
00018 class DtPhysicalWorld;
00019 class DtNetworkEdge;
00020 
00026 #include "vrfmodel/vrfmodelDefines.h"
00027 class DT_DLL_vrfmodel DtRailPathMetric : public DtPathMetric
00028 {
00029 public:
00030    DtRailPathMetric(DtVrfObject* entity);
00031 
00032    virtual ~DtRailPathMetric();
00033 
00034    virtual bool init();
00035 
00037    virtual double transitionCost(const DtPoint& startPoint, 
00038          const DtPoint& endPoint) const;
00039 
00041    virtual double transitionCost(const DtPoint& startPoint, 
00042          DtNetworkEdge* edge);
00043    
00045    virtual double turningCost(double cosAngle) const;
00046 
00052    virtual double multiplierForPoint(const DtPoint& point) const;
00053 
00054    static DtPathMetric* creator(DtVrfObject* entity);
00055 
00056 protected:
00057    DtPhysicalWorld* myPhysicalWorld;
00058 };
00059 

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)