open3d.geometry.Geometry#

class open3d.geometry.Geometry#

The base geometry class.

class Type#

Enum class for Geometry types.

HalfEdgeTriangleMesh = <Type.HalfEdgeTriangleMesh: 7>#
Image = <Type.Image: 8>#
LineSet = <Type.LineSet: 4>#
PointCloud = <Type.PointCloud: 1>#
RGBDImage = <Type.RGBDImage: 9>#
TetraMesh = <Type.TetraMesh: 10>#
TriangleMesh = <Type.TriangleMesh: 6>#
Unspecified = <Type.Unspecified: 0>#
VoxelGrid = <Type.VoxelGrid: 2>#
property value#
__init__(*args, **kwargs)#
clear(self)#

Clear all elements in the geometry.

Returns:

open3d.geometry.Geometry

dimension(self)#

Returns whether the geometry is 2D or 3D.

Returns:

int

get_geometry_type(self)#

Returns one of registered geometry types.

Returns:

open3d.geometry.Geometry.GeometryType

is_empty(self)#

Returns True iff the geometry is empty.

Returns:

bool

HalfEdgeTriangleMesh = <Type.HalfEdgeTriangleMesh: 7>#
Image = <Type.Image: 8>#
LineSet = <Type.LineSet: 4>#
PointCloud = <Type.PointCloud: 1>#
RGBDImage = <Type.RGBDImage: 9>#
TetraMesh = <Type.TetraMesh: 10>#
TriangleMesh = <Type.TriangleMesh: 6>#
Unspecified = <Type.Unspecified: 0>#
VoxelGrid = <Type.VoxelGrid: 2>#