OpenStudio:utilities
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages
Public Types | Public Member Functions | Public Attributes | Friends | List of all members
openstudio::LevelEvent Class Reference

#include <RoofGeometry_Details.hpp>

Public Types

enum  LevelEventType { TYPE_PICK = 0, TYPE_MULTI_EDGE = 1, TYPE_MULTI_SPLIT = 2 }
 

Public Member Functions

 LevelEvent ()
 
 LevelEvent (const Point3d &t_point, double t_distance, const Chain &t_chain, bool isPickEvent)
 
 LevelEvent (const Point3d &t_point, double t_distance, const std::vector< Chain > &t_chains)
 
bool operator< (const LevelEvent &other) const
 

Public Attributes

Chain chain
 
std::vector< Chainchains
 
double distance = 0.0
 
LevelEventType eventType
 
bool obsolete = false
 
Point3d point
 

Friends

std::ostream & operator<< (std::ostream &os, const LevelEvent &e)
 

Member Enumeration Documentation

Enumerator
TYPE_PICK 
TYPE_MULTI_EDGE 
TYPE_MULTI_SPLIT 

Constructor & Destructor Documentation

openstudio::LevelEvent::LevelEvent ( )
inline
openstudio::LevelEvent::LevelEvent ( const Point3d t_point,
double  t_distance,
const Chain t_chain,
bool  isPickEvent 
)
inline
openstudio::LevelEvent::LevelEvent ( const Point3d t_point,
double  t_distance,
const std::vector< Chain > &  t_chains 
)
inline

Member Function Documentation

bool openstudio::LevelEvent::operator< ( const LevelEvent other) const
inline

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  os,
const LevelEvent e 
)
friend

Member Data Documentation

Chain openstudio::LevelEvent::chain
std::vector<Chain> openstudio::LevelEvent::chains
double openstudio::LevelEvent::distance = 0.0
LevelEventType openstudio::LevelEvent::eventType
bool openstudio::LevelEvent::obsolete = false
Point3d openstudio::LevelEvent::point