I’m trying to find a way on how to repeat the functinoal from the BoudingBox function on RhinoPython in C#.
The goal would be to create a function, that returns a BoundingBox with the Right XFORM applied to it - just like in PythonScript.
However, I’m already stuck with passing the parameters.
def BoundingBox(objects, view_or_plane=None, in_world_coords=True):
My TRY in C# Code:
public static BoundingBox BoundingBox(GeometryBasegeometry, Plane plane, bool inWorldCoords=true)
Problem would be, that GeometryBase doesn’t support Points (as far as I know). The fact that Plane is not optional doesn’t really strike me as a serious problem.
Can anyone help?