Template Class IfcHierarchyHelper

Inheritance Relationships

Base Type

Class Documentation

template<typename Schema>
class IfcHierarchyHelper : public IfcParse::IfcFile

Public Functions

IfcHierarchyHelper()
template<class T>
T *addTriplet(double x, double y, double z)
template<class T>
T *addDoublet(double x, double y)
template<class T>
T *getSingle()
Schema::IfcAxis2Placement3D *addPlacement3d(double ox = 0.0, double oy = 0.0, double oz = 0.0, double zx = 0.0, double zy = 0.0, double zz = 1.0, double xx = 1.0, double xy = 0.0, double xz = 0.0)
Schema::IfcAxis2Placement2D *addPlacement2d(double ox = 0.0, double oy = 0.0, double xx = 1.0, double xy = 0.0)
Schema::IfcLocalPlacement *addLocalPlacement(typename Schema::IfcObjectPlacement *parent = 0, double ox = 0.0, double oy = 0.0, double oz = 0.0, double zx = 0.0, double zy = 0.0, double zz = 1.0, double xx = 1.0, double xy = 0.0, double xz = 0.0)
template<class T>
void addRelatedObject(typename Schema::IfcObjectDefinition *relating_object, typename Schema::IfcObjectDefinition *related_object, typename Schema::IfcOwnerHistory *owner_hist = 0)
Schema::IfcOwnerHistory *addOwnerHistory()
Schema::IfcProject *addProject(typename Schema::IfcOwnerHistory *owner_hist = 0)
void relatePlacements(typename Schema::IfcProduct *parent, typename Schema::IfcProduct *product)
Schema::IfcSite *addSite(typename Schema::IfcProject *proj = 0, typename Schema::IfcOwnerHistory *owner_hist = 0)
Schema::IfcBuilding *addBuilding(typename Schema::IfcSite *site = 0, typename Schema::IfcOwnerHistory *owner_hist = 0)
Schema::IfcBuildingStorey *addBuildingStorey(typename Schema::IfcBuilding *building = 0, typename Schema::IfcOwnerHistory *owner_hist = 0)
Schema::IfcBuildingStorey *addBuildingProduct(typename Schema::IfcProduct *product, typename Schema::IfcBuildingStorey *storey = 0, typename Schema::IfcOwnerHistory *owner_hist = 0)
void addExtrudedPolyline(typename Schema::IfcShapeRepresentation *rep, const std::vector<std::pair<double, double>> &points, double h, typename Schema::IfcAxis2Placement2D *place = 0, typename Schema::IfcAxis2Placement3D *place2 = 0, typename Schema::IfcDirection *dir = 0, typename Schema::IfcRepresentationContext *context = 0)
Schema::IfcProductDefinitionShape *addExtrudedPolyline(const std::vector<std::pair<double, double>> &points, double h, typename Schema::IfcAxis2Placement2D *place = 0, typename Schema::IfcAxis2Placement3D *place2 = 0, typename Schema::IfcDirection *dir = 0, typename Schema::IfcRepresentationContext *context = 0)
void addBox(typename Schema::IfcShapeRepresentation *rep, double w, double d, double h, typename Schema::IfcAxis2Placement2D *place = 0, typename Schema::IfcAxis2Placement3D *place2 = 0, typename Schema::IfcDirection *dir = 0, typename Schema::IfcRepresentationContext *context = 0)
Schema::IfcProductDefinitionShape *addBox(double w, double d, double h, typename Schema::IfcAxis2Placement2D *place = 0, typename Schema::IfcAxis2Placement3D *place2 = 0, typename Schema::IfcDirection *dir = 0, typename Schema::IfcRepresentationContext *context = 0)
void addAxis(typename Schema::IfcShapeRepresentation *rep, double l, typename Schema::IfcRepresentationContext *context = 0)
Schema::IfcProductDefinitionShape *addAxisBox(double w, double d, double h, typename Schema::IfcRepresentationContext *context = 0)
void clipRepresentation(typename Schema::IfcProductRepresentation *shape, typename Schema::IfcAxis2Placement3D *place, bool agree)
void clipRepresentation(typename Schema::IfcRepresentation *shape, typename Schema::IfcAxis2Placement3D *place, bool agree)
Schema::IfcPresentationStyleAssignment *addStyleAssignment(double r, double g, double b, double a = 1.0)
Schema::IfcPresentationStyleAssignment *setSurfaceColour(typename Schema::IfcProductRepresentation *shape, double r, double g, double b, double a = 1.0)
Schema::IfcPresentationStyleAssignment *setSurfaceColour(typename Schema::IfcRepresentation *shape, double r, double g, double b, double a = 1.0)
void setSurfaceColour(typename Schema::IfcProductRepresentation *shape, typename Schema::IfcPresentationStyleAssignment *style_assignment)
void setSurfaceColour(typename Schema::IfcRepresentation *shape, typename Schema::IfcPresentationStyleAssignment *style_assignment)
Schema::IfcProductDefinitionShape *addMappedItem(typename Schema::IfcShapeRepresentation*, typename Schema::IfcCartesianTransformationOperator3D *transform = 0, typename Schema::IfcProductDefinitionShape *def = 0)
Schema::IfcProductDefinitionShape *addMappedItem(typename Schema::IfcShapeRepresentation::list::ptr, typename Schema::IfcCartesianTransformationOperator3D *transform = 0)
Schema::IfcShapeRepresentation *addEmptyRepresentation(const std::string &repid = "Body", const std::string &reptype = "SweptSolid")
Schema::IfcGeometricRepresentationContext *getRepresentationContext(const std::string&)