open3d.geometry.Geometry2D

class open3d.geometry.Geometry2D

The base geometry class for 2D geometries.

class Type

Enum class for Geometry types.

HalfEdgeTriangleMesh = Type.HalfEdgeTriangleMesh
Image = Type.Image
LineSet = Type.LineSet
PointCloud = Type.PointCloud
TriangleMesh = Type.TriangleMesh
Unspecified = Type.Unspecified
VoxelGrid = Type.VoxelGrid
__init__()

Initialize self. See help(type(self)) for accurate signature.

clear(self: open3d.geometry.Geometry) → None

Clear all elements in the geometry.

dimension(self: open3d.geometry.Geometry) → int

Returns whether the geometry is 2D or 3D.

get_geometry_type(self: open3d.geometry.Geometry) → open3d::geometry::Geometry::GeometryType

Returns one of registered geometry types.

get_max_bound(self: open3d.geometry.Geometry2D) → numpy.ndarray[float64[2, 1]]

Returns max bounds for geometry coordinates.

get_min_bound(self: open3d.geometry.Geometry2D) → numpy.ndarray[float64[2, 1]]

Returns min bounds for geometry coordinates.

is_empty(self: open3d.geometry.Geometry) → bool

Returns True iff the geometry is empty.

HalfEdgeTriangleMesh = Type.HalfEdgeTriangleMesh
Image = Type.Image
LineSet = Type.LineSet
PointCloud = Type.PointCloud
TriangleMesh = Type.TriangleMesh
Unspecified = Type.Unspecified
VoxelGrid = Type.VoxelGrid