RawSurface.merge¶
giant.ray_tracer.shapes.surface
:
- RawSurface.merge(self, other, compute_bounding_box=True, compute_reference_ellipsoid=True)¶
This method is used to merge two surface collections together. It only works if the two surfaces are the same
This method returns a new object, it does not do an in-place merge.
- Parameters:
other (RawSurface) – The other surface to be merged with this one
compute_bounding_box (bool) – A flag specifying whether to compute the bounding box for the merged shape
compute_reference_ellipsoid (bool) – A flag specifying whether to compute the reference ellipsoid for the merged shape
- Returns:
A new surface resulting from combining self with other
- Return type:
- Raises:
ValueError – If the surface types are not the same