API Reference > Classes > Export Classes > TB_IFCEXPORT Namespace > Classes > GeometryUtil Class
GeometryUtil Class
Syntax
C++
class GeometryUtil;

TbIfcGeometryUtil.h

Provides static methods for geometry related manipulations.

Function to collect Family geometry element data summary for comparison purpose
 
 
Computes the normal vector for the face at the given point.
 
Computes height and width of a curve loop with respect to a projection plane.
 
Computes the height and width of a CurveLoop.
 
Computes the area defined by a polygonal loop.
 
Creates an IFC curve from polyline points or curve segments.
 
Creates a default plane whose origin is at (0, 0, 0) and normal is (0, 0, 1).
 
 
Create IFCCurve from the given curve
 
Creates IFC curve from curve loop.
 
Creates a plane whose origin is at (0, 0, 0) and normal is zDir.
 
Create a Transform from a PlanarFace.
 
Create a Transform from a Plane.
 
Checks if curve is line or arc.
 
Get Arc or Line from Family Symbol given a family instance. This works by finding the related 2D geometries that can be obtained from the Plan View
 
Get face angle/slope. This will be calculated at GePoint2d(0,0).
 
Gets origin, X direction and curve bound from a curve.
 
Gets bounding box of geometries.
 
 
Collects all meshes within a GeometryElement and all solids clipped between a given IFCRange.
 
Gets coordinates of a point.
 
Gets ratios of a direction.
 
Creates and returns an instance of the Options class with current view's DetailLevel or the detail level set to Fine if current view is not checked. 
Get the largest face from a Solid
 
Converts the given Ge point to IfcCartesianPoint3D
 
Get geometry of one level of a potentially multi-story stair, ramp, or railing.
 
Gets the IfcObjectPlacement handle stored as the reference for an IfcLocalPlacement.
 
Gets the IfcAxis2Placement handle stored as the relative placement for an IfcLocalPlacement.
 
Gets the collection of IfcRepresentationMaps stored in an IfcTypeProduct handle.
 
Gets a scaled transform.
 
Calculates the slope of an extrusion relative to an axis.
 
Collects all solids and meshes within a GElement, given the input the OdBmElement
 
Collects all solids and meshes within a GElement.
 
Collects all solids and meshes within a GeometryElement; the solids which consist of multiple closed volumes will be split into single closed volume Solids.
 
Collects all solids and meshes within a GeometryElement; the solids which consist of multiple closed volumes will be split into single closed volume Solids.
 
Collects all solids and meshes within a GeometryElement; the solids which consist of multiple closed volumes will be split into single closed volume Solids.
 
 
Obtains a new curve transformed via the indicated translation vector.
 
Gets polyline points or curve segments from a curve.
 
Generates the UV value of a point projected to the XY plane of a transform representing a local coordinate system, given an extrusion direction.
 
Sets the IfcAxis2Placement handle stored as the placement relative to for an IfcLocalPlacement.
 
Sets the IfcAxis2Placement handle stored as the relative placement for an IfcLocalPlacement.
 
Evaluate whether we should use the geomtry from the family instance, or we can use the common one from the Symbol
 
Converts the given Ge vector to IfcDirection
 
Converts the given Ge vector to IfcVector
 
Comparer for OdGePoint3d. 
Copyright (c) 2002-2021. Open Design Alliance. All rights reserved.