API / geotoolkit3d / geodata / Trajectory3d / Trajectory3d
geodata.Trajectory3d.Trajectory3d
Type Aliases
Ƭ CoordinatesForDepths: Object
| Name | Type |
|---|---|
heights | null | number[] |
origin | Vector3 |
widths | null | number[] |
x | number[] |
y | number[] |
z | number[] |
Ƭ GetPointByPositionOptions: Object
The options when retrieving a trajectory point by position.
| Name | Type | Description |
|---|---|---|
interpolate? | boolean | If true, the result will contain the interpolated position between the two closest points/stations found. If false, only the closest point/station will be returned. Default is true. |
maxdistance? | number | If the resulting point is further than this distance, the selection will be canceled and null will be return instead. Can save time if the well is at an unknown distance from the given point. By default is Number.POSITIVE_INFINITY |
position | Vector3 | The XYZ position to search for. Z is the elevation, meaning it increase going upward. When used alongside 3D picking, the picking position can directly be used without transformation. |
selectionmode? | TrajectorySelectionMode | Define the point selection mode, either closest by distance or by depth. Default mode is ClosestByDepth. |
Ƭ GetPointResult: Object
The point/station result from retrieving a point by coordinates in the trajectory.
| Name | Type | Description |
|---|---|---|
interpolatedpoint? | Point | null | When the interpolation option is enabled, this field will contain the point interpolated from the two closest trajectory points/stations. Will be undefined if interpolation is disabled. |
point1 | Station | The closest point/station to the provided coordinates. |
point2? | Station | null | The second closest point/station to the provided coordinates (if interpolation option is enabled, and if the provided coordinate is between point1 and point2). Will be undefined if interpolation is disabled or if the provided coordinate is not between two trajectory points/stations. |
Ƭ Point: Object
Define a point or station along the Trajectory. (Can be an interpolated point).
| Name | Type | Description |
|---|---|---|
md | number | The trajectory point's measured depth (md). |
position | Vector3 | The trajectory point's position (XYZ). Note that the Trajectory origin offset is applied (added) to this result. |
Ƭ Station: Point & { index: number }
Define a point/station of the Trajectory. This point/station is identified by it's index in the trajectory.