Umasoft
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
Public Member Functions | Public Attributes | List of all members
LinkGeom Class Reference

#include <Roads.h>

Inheritance diagram for LinkGeom:
TLink DLine2 vtArray< DPoint2 >

Public Member Functions

FPoint3 FindPointAlongRoad (float fDistance)
 
float Length ()
 
void SetupBuildInfo (RoadBuildInfo &bi)
 
void AddRoadStrip (vtMesh *pGeom, RoadBuildInfo &bi, float offset_left, float offset_right, float height_left, float height_right, VirtualTexture &vt, float u1, float u2, float uv_scale, normal_direction nd)
 
void GenerateGeometry (class vtRoadMap3d *rmgeom)
 
NodeGeomGetNode (int n)
 
LinkGeomGetNext ()
 
- Public Member Functions inherited from DLine2
 DLine2 (int size)
 
 DLine2 (const DLine2 &ref)
 
DLine2operator= (const DLine2 &v)
 
DLine2operator= (const FLine2 &v)
 
void Add (const DPoint2 &p)
 Add a given offset to all points.
 
void Mult (double factor)
 Multiply all points by a given factor.
 
void InsertPointAfter (int iInsertAfter, const DPoint2 &Point)
 
void RemovePoint (int i)
 
void ReverseOrder ()
 
int RemoveDegeneratePoints (double dEpsilon)
 
int RemoveColinearPoints (double dEpsilon)
 
bool ContainsPoint (const DPoint2 &p) const
 
double SegmentLength (uint i) const
 
void NearestPoint (const DPoint2 &Point, int &iIndex, double &dist) const
 
bool NearestSegment (const DPoint2 &Point, int &iIndex, double &dist, DPoint2 &Intersection) const
 
bool IsConvex () const
 
DPoint2GetSafePoint (int index) const
 
void SetSafePoint (int index, const DPoint2 &p)
 
double Length () const
 
DPoint2 Centroid () const
 
DPoint2 Centroid2 () const
 
double Area () const
 
- Public Member Functions inherited from vtArray< DPoint2 >
 vtArray (uint size=0)
 
 vtArray (const vtArray< DPoint2 > &)
 
uint GetSize () const
 
uint GetMaxSize () const
 
bool SetSize (uint)
 
bool SetMaxSize (uint)
 
uint GetElemSize () const
 
DPoint2GetData () const
 
void FreeData ()
 
bool IsEmpty () const
 
DPoint2GetAt (uint i) const
 
bool SetAt (uint i, DPoint2)
 
vtArray< DPoint2 > & operator= (const vtArray< DPoint2 > &)
 
DPoint2operator[] (uint i)
 
const DPoint2operator[] (uint i) const
 
void Empty ()
 
bool RemoveAt (uint i, int n=1)
 
int Append (const DPoint2 &)
 
int Append (const vtArray< DPoint2 > &)
 
int Find (const DPoint2 &) const
 

Public Attributes

int m_vti
 
FLine3 m_centerline
 
std::vector< FLine3m_Lanes
 

Additional Inherited Members

- Protected Member Functions inherited from vtArray< DPoint2 >
virtual bool Grow (uint)
 
virtual void DestructItems (uint first, uint last)
 

Detailed Description

A link is series of points, connecting one node to another. LinkGeom extents Link with 3D geometry.


The documentation for this class was generated from the following files: