Skip to content

Commit

Permalink
IXbimGeometryEngine interface extended to allow mesh params for defle…
Browse files Browse the repository at this point in the history
…ction to be read from a config file
  • Loading branch information
SteveLockley committed Jul 10, 2020
1 parent 8cfc341 commit ed243e9
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions Xbim.Ifc4/IXbimGeometryEngine.cs
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,18 @@ XbimShapeGeometry CreateShapeGeometry(IXbimGeometryObject geometryObject, double
/// <returns></returns>
XbimShapeGeometry CreateShapeGeometry(IXbimGeometryObject geometryObject, double precision, double deflection,
ILogger logger = null /*, double angle=0.5, XbimGeometryType storageType = XbimGeometryType::Polyhedron*/);

/// <summary>
/// Reads the values for linear and angular deflection from the config variables LinearDeflectionInMM and AngularDeflectionInRadians
/// </summary>
/// <param name="oneMillimetre">The number of model units that equal one millimeter</param>
/// <param name="geometryObject"></param>
/// <param name="precision">the distance at which two points are considered to be the same</param>
/// <param name="logger"></param>
/// <returns></returns>
XbimShapeGeometry CreateShapeGeometry(double oneMillimetre, IXbimGeometryObject geometryObject, double precision,
ILogger logger = null /*, double angle=0.5, XbimGeometryType storageType = XbimGeometryType::Polyhedron*/);

IXbimGeometryObjectSet CreateGeometryObjectSet();
IXbimSolid CreateSolid(IIfcSweptAreaSolid ifcSolid, ILogger logger = null);
IXbimSolid CreateSolid(IIfcExtrudedAreaSolid ifcSolid, ILogger logger = null);
Expand Down

0 comments on commit ed243e9

Please sign in to comment.