E.g. in the following function defined with type hint, should I specify the return type of a Point3d object as rhino3dm.Point3d
as shown in the docs of rhino3dm
, or rhino3dm._rhino3dm.Point3d
as indicated by the type()
function in python
?
import rhino3dm
def create_point(
_x: float,
_y: float,
_z: float,
) -> rhino3dm._rhino3dm.Point3d:
-
Point3d
class as shown in the doc:
-
class of a
Point3d
object as indicated by thetype()
function inpython
: