![]() |
VR-Forces 4.0.4 Class Documentation
|
00001 /****************************************************************************** 00002 ** Copyright (c) 2012 MAK Technologies, Inc. 00003 ** All rights reserved. 00004 ******************************************************************************/ 00005 /****************************************************************************** 00006 ** $RCSfile: DtCircleHelper.h,v $ $Revision: 1.2 $ $State: Exp $ 00007 ******************************************************************************/ 00008 00011 00012 #pragma once 00013 00014 #include <vrfGuiCore/vrfGuiCore.h> 00015 00016 namespace makVrv 00017 { 00018 class DtCoordinateSystem; 00019 } 00020 00021 class DtVector; 00022 00023 namespace makVrf 00024 { 00026 00027 class DT_DLL_VRFGUICORE DtCircleHelper 00028 { 00029 public: 00033 static double angleTo(const makVrv::DtCoordinateSystem&, const DtVector& origin, const DtVector& to); 00034 00038 static double distance(const makVrv::DtCoordinateSystem&, const DtVector& from, const DtVector& to); 00039 00042 static DtVector rotatedPoint(const makVrv::DtCoordinateSystem&, const DtVector& origin, double range, double angle); 00043 00044 }; 00045 }