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.
DistanceContext
Wellbore
Distance
<Wellbore id={wellboreId}> <WellboreBounds id={wellboreId}> <BasicTrajectory /> <Distance min={0} max={2000}> <TubeTrajectory /> </Distance> </WellboreBounds></Wellbore> Copy
<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.
WellboreContext
WellboreBounds props
Optional
This component is used to provide a
DistanceContext
for aWellbore
, which allow the use of theDistance
component to conditionally show/hide other components depending on the distance from the wellbore to the camera.Example
Remarks
This component does not use the
WellboreContext
to retrieve the wellbore id, and must be provided as a prop.See