You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now it isn't possible to pass a CompositeSurface object directly to a SurfaceFilter. While a CompositeSurface object has all of the operator methods to generate halfspaces, it (correctly) doesn't provide an ID method and can't be applied in the SurfaceFilter constructor.
Assuming that the desired behavior is to add all of the composing surfaces to the filter, we can enable this by either:
a. adding some special behavior for CompositeSurface types
b. adding a CompositeSurfaces.get_surfaces() method that returns a list of the objects surface objects to make it simpler to create the desired filter, leaving SurfaceFilter as-is.
Description
Right now it isn't possible to pass a
CompositeSurface
object directly to aSurfaceFilter
. While aCompositeSurface
object has all of the operator methods to generate halfspaces, it (correctly) doesn't provide an ID method and can't be applied in theSurfaceFilter
constructor.Assuming that the desired behavior is to add all of the composing surfaces to the filter, we can enable this by either:
a. adding some special behavior for
CompositeSurface
typesb. adding a
CompositeSurfaces.get_surfaces()
method that returns a list of the objects surface objects to make it simpler to create the desired filter, leavingSurfaceFilter
as-is.Alternatives
No others come to mind at this time.
Compatibility
This is an addition in capability and API, so compatibility shouldn't be an issue.
The text was updated successfully, but these errors were encountered: