Class open_cascade_kernel

Nested Relationships

Nested Types

Inheritance Relationships

Base Type

Class Documentation

class open_cascade_kernel : public ifcopenshell::geom::kernels::abstract_kernel

Public Types

typedef std::variant<boost::blank, opencascade::handle<Geom_Curve>, TopoDS_Wire> curve_creation_visitor_result_type

Public Functions

inline open_cascade_kernel(const ifcopenshell::geom::settings &settings, ifcopenshell::logger &logger = ifcopenshell::logger::root())
inline virtual abstract_kernel *clone(ifcopenshell::logger &logger) const
inline virtual bool supports_boolean_operations() const
bool convert(const ifcopenshell::geom::taxonomy::extrusion::ptr, TopoDS_Shape&)
bool convert(const ifcopenshell::geom::taxonomy::face::ptr, TopoDS_Shape&, bool reversed_surface = false)
bool convert(const ifcopenshell::geom::taxonomy::loop::ptr, TopoDS_Wire&)
bool convert(const ifcopenshell::geom::taxonomy::matrix4::ptr, gp_GTrsf&)
bool convert(const ifcopenshell::geom::taxonomy::shell::ptr, TopoDS_Shape&)
bool convert(const ifcopenshell::geom::taxonomy::solid::ptr, TopoDS_Shape&)
bool convert(const ifcopenshell::geom::taxonomy::loft::ptr, TopoDS_Shape&)
bool convert(const ifcopenshell::geom::taxonomy::bspline_surface::ptr bs, opencascade::handle<Geom_Surface> surf)
bool convert(const ifcopenshell::geom::taxonomy::sweep_along_curve::ptr, TopoDS_Shape&)
virtual bool convert_impl(const ifcopenshell::geom::taxonomy::edge::ptr, std::vector<ifcopenshell::geom::conversion_result>&)
virtual bool convert_impl(const ifcopenshell::geom::taxonomy::loop::ptr, std::vector<ifcopenshell::geom::conversion_result>&)
virtual bool convert_impl(const ifcopenshell::geom::taxonomy::face::ptr, std::vector<ifcopenshell::geom::conversion_result>&)
virtual bool convert_impl(const ifcopenshell::geom::taxonomy::solid::ptr, std::vector<ifcopenshell::geom::conversion_result>&)
virtual bool convert_impl(const ifcopenshell::geom::taxonomy::shell::ptr, std::vector<ifcopenshell::geom::conversion_result>&)
virtual bool convert_impl(const ifcopenshell::geom::taxonomy::extrusion::ptr, std::vector<ifcopenshell::geom::conversion_result>&)
virtual bool convert_impl(const ifcopenshell::geom::taxonomy::revolve::ptr, std::vector<ifcopenshell::geom::conversion_result>&)
virtual bool convert_impl(const ifcopenshell::geom::taxonomy::boolean_result::ptr, std::vector<ifcopenshell::geom::conversion_result>&)
virtual bool convert_impl(const ifcopenshell::geom::taxonomy::loft::ptr, std::vector<ifcopenshell::geom::conversion_result>&)
virtual bool convert_impl(const ifcopenshell::geom::taxonomy::sweep_along_curve::ptr, std::vector<ifcopenshell::geom::conversion_result>&)
virtual bool convert_openings(const express::base &entity, const std::vector<std::pair<ifcopenshell::geom::taxonomy::ptr, ifcopenshell::geom::taxonomy::matrix4>> &openings, const std::vector<ifcopenshell::geom::conversion_result> &entity_shapes, const ifcopenshell::geom::taxonomy::matrix4 &entity_trsf, std::vector<ifcopenshell::geom::conversion_result> &cut_shapes)
virtual bool unify_shapes(const std::vector<ifcopenshell::geom::conversion_result> &input, std::vector<ifcopenshell::geom::conversion_result> &output)
curve_creation_visitor_result_type convert_curve(const ifcopenshell::geom::taxonomy::ptr)
opencascade::handle<Geom_Surface> convert_surface(const ifcopenshell::geom::taxonomy::ptr)

Public Static Functions

template<typename T, typename U>
static inline T convert_xyz(const U &u)
template<typename T, typename U>
static inline T convert_xyz2(const U &vs)