mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-24 21:59:59 +00:00
Minor fix
This commit is contained in:
committed by
Thomas Krijnen
parent
cfa435e9c8
commit
208132785f
@@ -77,7 +77,6 @@
|
|||||||
#include <HLRBRep_PolyHLRToShape.hxx>
|
#include <HLRBRep_PolyHLRToShape.hxx>
|
||||||
|
|
||||||
#include <Extrema_ExtPElS.hxx>
|
#include <Extrema_ExtPElS.hxx>
|
||||||
#include <GeomAPI_ProjectPointOnSurf.hxx>
|
|
||||||
|
|
||||||
#include "../ifcparse/IfcGlobalId.h"
|
#include "../ifcparse/IfcGlobalId.h"
|
||||||
|
|
||||||
@@ -632,7 +631,6 @@ void SvgSerializer::write(const IfcGeom::BRepElement* brep_obj) {
|
|||||||
// Move pln to have projection of origin at plane center.
|
// Move pln to have projection of origin at plane center.
|
||||||
// This is necessary to have Poly and BRep HLR at the same position
|
// This is necessary to have Poly and BRep HLR at the same position
|
||||||
// (Poly) is wrong otherwise.
|
// (Poly) is wrong otherwise.
|
||||||
|
|
||||||
double pu, pv;
|
double pu, pv;
|
||||||
Extrema_ExtPElS ext;
|
Extrema_ExtPElS ext;
|
||||||
ext.Perform(gp::Origin(), *pln, 1.e-5);
|
ext.Perform(gp::Origin(), *pln, 1.e-5);
|
||||||
|
|||||||
Reference in New Issue
Block a user