Source code for kappa_sdk.wellbore.depth_collection
[docs]
class DepthCollection:
def __init__(self, md_start: float, md_end: float, is_closed: bool) -> None:
self.__md_start = md_start
self.__md_end = md_end
self.__is_closed = is_closed
@property
def md_start(self) -> float:
"""Gets the MD start of this :class:`DepthCollection`."""
return self.__md_start
@property
def md_end(self) -> float:
"""Gets the MD end of this :class:`DepthCollection`."""
return self.__md_end
@property
def is_closed(self) -> bool:
"""Gets whether this :class:`DepthCollection` is closed."""
return self.__is_closed