<Code Lib>
2020 Method
Changes 0
M

BRepBuilderEdgeGeometry.Create(Curve)

Description:
Construct BRepBuilderEdgeGeometry based on any GCurve, including GLine and GArc. The curve will be simplified if possible, and the concrete type of the returned value will reflect that simplification: BRepBuilderLinearEdgeGeometry if the curve could be simplified to a line, BRepBuilderArcEdgeGeometry if it could be simplified to an arc, BRepBuilderGenericCurveEdgeGeometry otherwise.
Overloads (2):
Create(Curve)

public static BRepBuilderEdgeGeometry Create(
	Curve curve
)

  • curve
    The 3D curve for this edge. This BRepBuilderEdgeGeometry stores a copy of the input curve. The use of isCurveOpenOrShort as a validator instead of isCurveOpen is a compromise to allow the creation of geometry that is normally considered unacceptable due to edges that are shorter than Revit allows.
Return Value BRepBuilderEdgeGeometry

Loading…