vtLevel Class Reference

List of all members.

Public Member Functions

 vtLevel (const vtLevel &from)
vtLeveloperator= (const vtLevel &v)
void DeleteEdge (int iEdge)
bool AddEdge (int iEdge, DPoint2 &Point)
int NumEdges () const
vtEdgeGetEdge (unsigned int i) const
float GetEdgeLength (unsigned int i) const
const vtString GetOverallEdgeMaterial ()
bool GetOverallEdgeColor (RGBi &color)
RoofType GuessRoofType ()
void FlipFootprintDirection ()
bool HasSlopedEdges ()
bool IsHorizontal ()
bool IsEdgeConvex (int i)
bool IsCornerConvex (int i)
bool IsUniform ()
void SetEdgeMaterial (const char *matname)
void SetEdgeColor (RGBi color)
void SetRoofType (RoofType rt, int iSlopeDegrees)
void SetEaveLength (float fMeters)
void SetFootprint (const DLine2 &dl)
void SetFootprint (const DPolygon2 &poly)
DPolygon2GetFootprint ()
const DPolygon2GetFootprint () const
DLine2GetOuterFootprint ()
const DLine2GetOuterFootprint () const
void DetermineLocalFootprint (float fHeight)
const FPolygon3GetLocalFootprint ()

Public Attributes

unsigned int m_iStories
float m_fStoryHeight

Friends

class vtBuilding

Detailed Description

The vtLevel class represents a level of a building. In the VTP's parametric building representation, each building is composed of one or more levels, and each level is defined horizontally by a number of edges (vtEdge) and vertical by a story height and number of stories. The edges contain further description of the appearance of each side of this level of the building.

Generally, a simple building will have two levels: one for the walls, and one for the roof. Some buildings may have an additional level for base, such as a cement foundation.

Each level can have its own footprint polygon, although in simple cases they will all be the same polygon.


Member Function Documentation

bool vtLevel::IsUniform  ) 
 

Returns true if this level consists of edges with identical, evenly spaced windows.


Generated on Tue Apr 22 10:11:01 2008 for vtdata library by  doxygen 1.4.5