Checks if the region bounded by the input curve loop can be represented as the subtraction of 0 or more convex polygons from a base convex polygon.
Namespace: Autodesk.Revit.DB.IFC
Assembly: RevitAPIIFC (in RevitAPIIFC.dll) Version: 24.0.0.0 (24.0.0.0)
Since:
2012
Syntax
C# |
---|
public static bool IsCurveLoopConvexWithOpenings(
CurveLoop inputCurveLoop,
Wall wall,
IFCRange range,
out bool loopIsDegenerate
) |
Visual Basic |
---|
Public Shared Function IsCurveLoopConvexWithOpenings ( _
inputCurveLoop As CurveLoop, _
wall As Wall, _
range As IFCRange, _
<OutAttribute> ByRef loopIsDegenerate As Boolean _
) As Boolean |
Visual C++ |
---|
public:
static bool IsCurveLoopConvexWithOpenings(
CurveLoop^ inputCurveLoop,
Wall^ wall,
IFCRange^ range,
[OutAttribute] bool% loopIsDegenerate
) |
Parameters
- inputCurveLoop
- Type: Autodesk.Revit.DB..::..CurveLoop
The input curve loop. It is intended that this curve loop have been obtained from the elevation profile of a wall.
- wall
- Type: Autodesk.Revit.DB..::..Wall
The wall from which the curve loop was obtained.
- range
- Type: Autodesk.Revit.DB.IFC..::..IFCRange
The range extents of the wall.
- loopIsDegenerate
- Type: System..::..Boolean%
If the function returns false but this returns true, the loop could be obtained but was degenerate. Thus there is no extrusion
that can be produced.
Return Value
True if the region can be represented by a boolean combination of polygons, false otherwise.
Remarks
Exceptions
See Also