I am trying to trim a PlaneSurface with a closed Curve.
I tried following method :
Rhino.Geometry.Brep.Loops.AddPlanarFaceLoop(faceindex, Rhino.Geometry.BrepLoopType.Outer, Curve  closedboundary )
I am getting a Invalid brep every time i try this - what can be the cause for this ?
The boundary i supply is planar and consisting of a closed polyline with 5 points.
Also, it would be great if someone could highlight usage and difference between following methods as they both seem to serve similar purpose, unfortunately explanation in the sdk documentation is a bit thin :
Rhino.Geometry.Brep.Loops.AddOuterLoop() -> just needs a faceindex as input -> where do you supply a curve for this ?