mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-19 14:41:25 +00:00
Fix MSVC geometry build errors
Generated with the assistance of an AI coding tool.
This commit is contained in:
@@ -816,7 +816,6 @@ opaque_coordinate<4> ifcopenshell::geom::cgal_shape::plane_equation()
|
|||||||
std::vector<conversion_result_shape*> ifcopenshell::geom::cgal_shape::convex_decomposition()
|
std::vector<conversion_result_shape*> ifcopenshell::geom::cgal_shape::convex_decomposition()
|
||||||
{
|
{
|
||||||
#ifdef IFOPSH_SIMPLE_KERNEL
|
#ifdef IFOPSH_SIMPLE_KERNEL
|
||||||
(void)other;
|
|
||||||
throw std::runtime_error("Not implemented");
|
throw std::runtime_error("Not implemented");
|
||||||
#else
|
#else
|
||||||
std::vector<conversion_result_shape*> result;
|
std::vector<conversion_result_shape*> result;
|
||||||
@@ -843,7 +842,6 @@ std::vector<conversion_result_shape*> ifcopenshell::geom::cgal_shape::convex_dec
|
|||||||
conversion_result_shape* ifcopenshell::geom::cgal_shape::halfspaces()
|
conversion_result_shape* ifcopenshell::geom::cgal_shape::halfspaces()
|
||||||
{
|
{
|
||||||
#ifdef IFOPSH_SIMPLE_KERNEL
|
#ifdef IFOPSH_SIMPLE_KERNEL
|
||||||
(void)other;
|
|
||||||
throw std::runtime_error("Not implemented");
|
throw std::runtime_error("Not implemented");
|
||||||
#else
|
#else
|
||||||
return new cgal_shape_half_space_decomposition(nef(), convex_tag_);
|
return new cgal_shape_half_space_decomposition(nef(), convex_tag_);
|
||||||
|
|||||||
@@ -216,7 +216,7 @@ struct cant_curve_segment_function {
|
|||||||
class curve_segment_evaluator {
|
class curve_segment_evaluator {
|
||||||
private:
|
private:
|
||||||
mapping* mapping_ = nullptr;
|
mapping* mapping_ = nullptr;
|
||||||
logger& logger_;
|
ifcopenshell::logger& logger_;
|
||||||
IfcSchema::IfcCurveSegment inst_; // this curve segment instance
|
IfcSchema::IfcCurveSegment inst_; // this curve segment instance
|
||||||
double length_unit_;
|
double length_unit_;
|
||||||
double start_;
|
double start_;
|
||||||
|
|||||||
Reference in New Issue
Block a user