Click or drag to resize

BrepExtendBrepFacesToConnect Method (BrepFace, Int32, BrepFace, Int32, Double, Double, Brep, Brep)

Extends Faces to meet and trims the faces to each other. If input faces intersect without extending, the selection point indicates the side to keep

Namespace:  Rhino.Geometry
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public static bool ExtendBrepFacesToConnect(
	BrepFace Face0,
	int edgeIndex0,
	BrepFace Face1,
	int edgeIndex1,
	double tol,
	double angleTol,
	out Brep outBrep0,
	out Brep outBrep1
)

Parameters

Face0
Type: Rhino.GeometryBrepFace
[in] first face to connect
edgeIndex0
Type: SystemInt32
[in] edge to extend.
Face1
Type: Rhino.GeometryBrepFace
[in] second surface
edgeIndex1
Type: SystemInt32
[in] edge to extend.
tol
Type: SystemDouble
[in] tolerance used for intersecting faces and simplifing extension curve
angleTol
Type: SystemDouble
[in] angle tolerance in radians used for simplifying extendsion curve
outBrep0
Type: Rhino.GeometryBrep
[out] first face extended and trimmed to connect with the second face
outBrep1
Type: Rhino.GeometryBrep
[out] second face extended and trimmed to connect with the first face

Return Value

Type: Boolean
true if valid connection found
See Also