Hello. I have one problem. In one CADsystem, there are two methods that allow return the surfaces bounded by select edge. “The methods pfcGeometry.Edge.GetSurface1and pfcGeometry.Edge.GetSurface2 return the surfaces bounded by this edge”. Can you please tell me if there are analogues of these methods in Rhino, because I rummaged through everything, but it gave nothing? Any help would be very helpful, thanks in advance))
BrepLoopList contours = face.Loops;
foreach (BrepLoop contour in contours)
{
BrepEdgeList edges = contour.Brep.Edges;
foreach (BrepEdge edge in edges)
{
Face faceNode2 = null;
BrepFace secondFace = null;
int edgeIndex = edge.EdgeIndex; //GetId();
BrepFace f1 = null;
BrepFace f2 = null;
try
{
f1 = edge.????? // GetSurface1();
}
catch (Exception ex)
{
throw new Exception(ex.Message);
}
try
{
f2 = edge.????? //GetSurface2();
}
catch (Exception ex)
{
throw new Exception(ex.Message);
}
}
}