Template Class hierarchy_helper

Inheritance Relationships

Base Type

Class Documentation

template<typename Schema>
class hierarchy_helper : public ifcopenshell::file

Public Functions

inline hierarchy_helper()
template<class T>
inline T addTriplet(double x, double y, double z)
template<class T>
inline T addDoublet(double x, double y)
template<typename T, typename U>
inline T addValue(U value)
template<class T>
inline T getSingle()
Schema::IfcAxis2Placement3D addPlacement3d(double origin_x = 0.0, double origin_y = 0.0, double origin_z = 0.0, double z_axis_x = 0.0, double z_axis_y = 0.0, double z_axis_z = 1.0, double x_axis_x = 1.0, double x_axis_y = 0.0, double x_axis_z = 0.0)
Schema::IfcAxis2Placement2D addPlacement2d(double origin_x = 0.0, double origin_y = 0.0, double x_axis_x = 1.0, double x_axis_y = 0.0)
Schema::IfcLocalPlacement addLocalPlacement(typename Schema::IfcObjectPlacement parent_placement = typename Schema::IfcObjectPlacement{}, double origin_x = 0.0, double origin_y = 0.0, double origin_z = 0.0, double z_axis_x = 0.0, double z_axis_y = 0.0, double z_axis_z = 1.0, double x_axis_x = 1.0, double x_axis_y = 0.0, double x_axis_z = 0.0)
template<class T>
inline void addRelatedObject(const typename Schema::IfcObjectDefinition &relating_object, const typename Schema::IfcObjectDefinition &related_object, typename Schema::IfcOwnerHistory owner_history = typename Schema::IfcOwnerHistory{})
Schema::IfcOwnerHistory addOwnerHistory()
Schema::IfcProject addProject(typename Schema::IfcOwnerHistory owner_history = typename Schema::IfcOwnerHistory{})
void relatePlacements(typename Schema::IfcProduct parent, typename Schema::IfcProduct product)
Schema::IfcSite addSite(typename Schema::IfcProject project = typename Schema::IfcProject{}, typename Schema::IfcOwnerHistory owner_history = typename Schema::IfcOwnerHistory{})
Schema::IfcBuilding addBuilding(typename Schema::IfcSite site = typename Schema::IfcSite{}, typename Schema::IfcOwnerHistory owner_history = typename Schema::IfcOwnerHistory{})
Schema::IfcBuildingStorey addBuildingStorey(typename Schema::IfcBuilding building = typename Schema::IfcBuilding{}, typename Schema::IfcOwnerHistory owner_history = typename Schema::IfcOwnerHistory{})
Schema::IfcBuildingStorey addBuildingProduct(typename Schema::IfcProduct product, typename Schema::IfcBuildingStorey storey = typename Schema::IfcBuildingStorey{}, typename Schema::IfcOwnerHistory owner_history = typename Schema::IfcOwnerHistory{})
void addExtrudedPolyline(typename Schema::IfcShapeRepresentation representation, const std::vector<std::pair<double, double>> &points, double height, typename Schema::IfcAxis2Placement2D profile_placement = typename Schema::IfcAxis2Placement2D{}, typename Schema::IfcAxis2Placement3D extrusion_placement = typename Schema::IfcAxis2Placement3D{}, typename Schema::IfcDirection extrusion_direction = typename Schema::IfcDirection{}, typename Schema::IfcRepresentationContext context = typename Schema::IfcRepresentationContext{})
Schema::IfcProductDefinitionShape addExtrudedPolyline(const std::vector<std::pair<double, double>> &points, double height, typename Schema::IfcAxis2Placement2D profile_placement = typename Schema::IfcAxis2Placement2D{}, typename Schema::IfcAxis2Placement3D extrusion_placement = typename Schema::IfcAxis2Placement3D{}, typename Schema::IfcDirection extrusion_direction = typename Schema::IfcDirection{}, typename Schema::IfcRepresentationContext context = typename Schema::IfcRepresentationContext{})
void addBox(typename Schema::IfcShapeRepresentation representation, double width, double depth, double height, typename Schema::IfcAxis2Placement2D profile_placement = typename Schema::IfcAxis2Placement2D{}, typename Schema::IfcAxis2Placement3D extrusion_placement = typename Schema::IfcAxis2Placement3D{}, typename Schema::IfcDirection extrusion_direction = typename Schema::IfcDirection{}, typename Schema::IfcRepresentationContext context = typename Schema::IfcRepresentationContext{})
Schema::IfcProductDefinitionShape addBox(double width, double depth, double height, typename Schema::IfcAxis2Placement2D profile_placement = typename Schema::IfcAxis2Placement2D{}, typename Schema::IfcAxis2Placement3D extrusion_placement = typename Schema::IfcAxis2Placement3D{}, typename Schema::IfcDirection extrusion_direction = typename Schema::IfcDirection{}, typename Schema::IfcRepresentationContext context = typename Schema::IfcRepresentationContext{})
void addAxis(typename Schema::IfcShapeRepresentation representation, double length, typename Schema::IfcRepresentationContext context = typename Schema::IfcRepresentationContext{})
Schema::IfcProductDefinitionShape addAxisBox(double width, double depth, double height, typename Schema::IfcRepresentationContext context = typename Schema::IfcRepresentationContext{})
void clipRepresentation(typename Schema::IfcProductRepresentation representation, typename Schema::IfcAxis2Placement3D placement, bool sense_agreement)
void clipRepresentation(typename Schema::IfcRepresentation representation, typename Schema::IfcAxis2Placement3D placement, bool sense_agreement)
Schema::IfcProductDefinitionShape addMappedItem(typename Schema::IfcShapeRepresentation source_representation, typename Schema::IfcCartesianTransformationOperator3D transform = typename Schema::IfcCartesianTransformationOperator3D{}, typename Schema::IfcProductDefinitionShape definition_shape = typename Schema::IfcProductDefinitionShape{})
Schema::IfcProductDefinitionShape addMappedItem(std::vector<typename Schema::IfcShapeRepresentation> &source_representations, typename Schema::IfcCartesianTransformationOperator3D transform = typename Schema::IfcCartesianTransformationOperator3D{})
Schema::IfcShapeRepresentation addEmptyRepresentation(const std::string &representation_identifier = "Body", const std::string &representation_type = "SweptSolid")
Schema::IfcGeometricRepresentationContext getRepresentationContext(const std::string &context_identifier)
Schema::IfcGeometricRepresentationSubContext getRepresentationSubContext(const std::string &context_identifier, const std::string &context_type)