VR-Forces 4.0.4 Class Documentation
include/shape/shapeUtil.h
Go to the documentation of this file.
00001 /*******************************************************************************
00002 ** Copyright (c) 2003 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 *******************************************************************************/
00005 /*******************************************************************************
00006 ** $RCSfile: shapeUtil.h,v $ $Revision: 1.8 $ $State: Exp $
00007 *******************************************************************************/
00008 #ifndef shapeUtil_H_
00009 #define shapeUtil_H_
00010 
00011 #include "shape/shapeDefines.h"
00012 #include <vlutil/vlNetTypes.h>
00013 #include "geometry/point.h"
00014 #include "gdb/specMgr.h"
00015 
00016 class DtVectorNetwork;
00017 class DtNetworkNode;
00018 
00019 DT_DLL_shape void fromLittleToBig(DtNetFloat64 &val);
00020 DT_DLL_shape void fromLittleToBig(DtNetInt32 &val);
00021 DT_DLL_shape void fromLittleToBig(DtNetU32 &val);
00022 DT_DLL_shape void fromLittleToBig(DtNetInt16 &val);
00023 
00024 DT_DLL_shape bool greaterOrEqual2D(DtPoint& p1, DtPoint& p2);
00025 DT_DLL_shape bool lesserOrEqual2D(DtPoint& p1, DtPoint& p2);
00026 
00027 
00028 DT_DLL_shape long firstNodeWithSpecificationID(DtVectorNetwork* vecNwk, DtSpecificationID ID);
00029 
00030 DT_DLL_shape DtNetworkNode* findNode(DtVectorNetwork* vecNwk, unsigned int firstNode, 
00031    DtPoint& p, DtSpecificationID ID);
00032 
00033 DT_DLL_shape void calculatePolygonExtent(const DtPoint& point, DtPoint& minPoint, 
00034    DtPoint& maxPoint);
00035 
00036 #endif

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)