Function WellboreBounds

This component is used to provide a DistanceContext for a Wellbore, which allow the use of the Distance component to conditionally show/hide other components depending on the distance from the wellbore to the camera.

<Wellbore id={wellboreId}>
<WellboreBounds id={wellboreId}>
<BasicTrajectory />
<Distance min={0} max={2000}>
<TubeTrajectory />
</Distance>
</WellboreBounds>
</Wellbore>

This component does not use the WellboreContext to retrieve the wellbore id, and must be provided as a prop.