@@ -4,45 +4,45 @@ import collections.abc
44import numpy
55import typing
66__all__ = ['Arrows' , 'Box' , 'CameraFrustum' , 'Mesh' , 'Plane' , 'PointCloud' , 'PolyLine' , 'Sphere' , 'Triad' ]
7- def Arrows (starts : numpy .ndarray , ends : numpy .ndarray , colors : numpy .ndarray , thickness : typing .SupportsFloat ) -> bindings ._geom .Arrows :
7+ def Arrows (starts : numpy .ndarray , ends : numpy .ndarray , colors : numpy .ndarray , thickness : typing .SupportsFloat | typing . SupportsIndex ) -> bindings ._geom .Arrows :
88 """
99 Create an Arrows geometry
1010 """
1111def Box () -> bindings ._geom .Box :
1212 """
1313 Create a Box geometry
1414 """
15- def CameraFrustum (intrinsics_matrix : numpy .ndarray , image_width : typing .SupportsInt , image_height : typing .SupportsInt , image : numpy .ndarray | None = None , scale : typing .SupportsFloat = 1.0 ) -> bindings ._geom .CameraFrustum :
15+ def CameraFrustum (intrinsics_matrix : numpy .ndarray , image_width : typing .SupportsInt | typing . SupportsIndex , image_height : typing .SupportsInt | typing . SupportsIndex , image : numpy .ndarray | None = None , scale : typing .SupportsFloat | typing . SupportsIndex = 1.0 ) -> bindings ._geom .CameraFrustum :
1616 """
1717 Create a CameraFrustum geometry
1818 """
1919@typing .overload
20- def Mesh (vertices : numpy .ndarray , vertex_colors : numpy .ndarray , triangle_indices : collections .abc .Sequence [typing .SupportsInt ]) -> bindings ._geom .Mesh :
20+ def Mesh (vertices : numpy .ndarray , vertex_colors : numpy .ndarray , triangle_indices : collections .abc .Sequence [typing .SupportsInt | typing . SupportsIndex ]) -> bindings ._geom .Mesh :
2121 """
2222 Create a SimpleMesh geometry from raw data
2323 """
2424@typing .overload
25- def Mesh (vertices : numpy .ndarray , vertex_colors : numpy .ndarray , triangle_indices : collections .abc .Sequence [typing .SupportsInt ], vertex_normals : numpy .ndarray ) -> bindings ._geom .Mesh :
25+ def Mesh (vertices : numpy .ndarray , vertex_colors : numpy .ndarray , triangle_indices : collections .abc .Sequence [typing .SupportsInt | typing . SupportsIndex ], vertex_normals : numpy .ndarray ) -> bindings ._geom .Mesh :
2626 """
2727 Create a SimpleMesh geometry from raw data
2828 """
29- def Plane (normal : numpy .ndarray , point : numpy .ndarray , color : numpy .ndarray , radius : typing .SupportsFloat , alpha : typing .SupportsFloat ) -> bindings ._geom .Plane :
29+ def Plane (normal : numpy .ndarray , point : numpy .ndarray , color : numpy .ndarray , radius : typing .SupportsFloat | typing . SupportsIndex , alpha : typing .SupportsFloat | typing . SupportsIndex ) -> bindings ._geom .Plane :
3030 """
3131 Create a Plane geometry
3232 """
33- def PointCloud (positions : numpy .ndarray , colors : numpy .ndarray , radii : list [float ] | numpy .ndarray , min_brightness : typing .SupportsFloat = 1.0 ) -> bindings ._geom .PointCloud :
33+ def PointCloud (positions : numpy .ndarray , colors : numpy .ndarray , radii : list [float ] | numpy .ndarray , min_brightness : typing .SupportsFloat | typing . SupportsIndex = 1.0 ) -> bindings ._geom .PointCloud :
3434 """
3535 Create a PointCloud with per-point color and radius
3636 """
37- def PolyLine (points : numpy .ndarray , thickness : typing .SupportsFloat , color : numpy .ndarray , min_brightness : typing .SupportsFloat ) -> bindings ._geom .PolyLine :
37+ def PolyLine (points : numpy .ndarray , thickness : typing .SupportsFloat | typing . SupportsIndex , color : numpy .ndarray , min_brightness : typing .SupportsFloat | typing . SupportsIndex ) -> bindings ._geom .PolyLine :
3838 """
3939 Create a PolyLine geometry
4040 """
41- def Sphere (radius : typing .SupportsFloat = 1.0 , color : numpy .ndarray = ...) -> bindings ._geom .Sphere :
41+ def Sphere (radius : typing .SupportsFloat | typing . SupportsIndex = 1.0 , color : numpy .ndarray = ...) -> bindings ._geom .Sphere :
4242 """
4343 Create a Sphere geometry
4444 """
45- def Triad (pose : numpy .ndarray [float32 [4 ][4 ]] | None = None , scale : typing .SupportsFloat = 1.0 , thickness : typing .SupportsFloat = 0.10000000149011612 ) -> bindings ._geom .Triad :
45+ def Triad (pose : numpy .ndarray [float32 [4 ][4 ]] | None = None , scale : typing .SupportsFloat | typing . SupportsIndex = 1.0 , thickness : typing .SupportsFloat | typing . SupportsIndex = 0.10000000149011612 ) -> bindings ._geom .Triad :
4646 """
4747 Create a Triad geometry
4848 """
0 commit comments