RhinoDocTryGetRenderPrimitiveBoundingBox Method |
Note: This API is now obsolete.
Get the bounding box for the custom render meshes associated with this
document (i.e. - GH meshes).
Namespace:
Rhino
Assembly:
RhinoCommon (in RhinoCommon.dll)
Since: 6.9
Syntax [ObsoleteAttribute]
public bool TryGetRenderPrimitiveBoundingBox(
ViewportInfo viewport,
DisplayPipelineAttributes attrs,
out BoundingBox boundingBox
)
<ObsoleteAttribute>
Public Function TryGetRenderPrimitiveBoundingBox (
viewport As ViewportInfo,
attrs As DisplayPipelineAttributes,
<OutAttribute> ByRef boundingBox As BoundingBox
) As Boolean
Parameters
- viewport
- Type: Rhino.DocObjectsViewportInfo
The viewport being rendered. - attrs
- Type: Rhino.DisplayDisplayPipelineAttributes
Attributes for the view mode you are supplying meshes for. Will be null if this is a modal rendering.
- boundingBox
- Type: Rhino.GeometryBoundingBox
This will be set to BoundingBox.Unset on failure otherwise it will be
the bounding box for the custom render meshes associated with this
object.
Return Value
Type:
Boolean
Returns true if the bounding box was successfully calculated otherwise
returns false on error.
See Also