open3d.geometry.LineSet¶
-
class
open3d.geometry.LineSet¶ LineSet define a sets of lines in 3D. A typical application is to display the point cloud correspondence paris.
-
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__(*args, **kwargs)¶ Overloaded function.
__init__(self: open3d.geometry.LineSet) -> None
Default constructor
__init__(self: open3d.geometry.LineSet, arg0: open3d.geometry.LineSet) -> None
Copy constructor
-
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_line_coordinate(self: open3d.geometry.LineSet, line_index: int) → Tuple[numpy.ndarray[float64[3, 1]], numpy.ndarray[float64[3, 1]]]¶
-
get_max_bound(self: open3d.geometry.Geometry3D) → numpy.ndarray[float64[3, 1]]¶ Returns max bounds for geometry coordinates.
-
get_min_bound(self: open3d.geometry.Geometry3D) → numpy.ndarray[float64[3, 1]]¶ Returns min bounds for geometry coordinates.
-
has_colors(self: open3d.geometry.LineSet) → bool¶ Returns
Trueif the object’s lines contain contain colors.
-
has_lines(self: open3d.geometry.LineSet) → bool¶ Returns
Trueif the object contains lines.
-
has_points(self: open3d.geometry.LineSet) → bool¶ Returns
Trueif the object contains points.
-
is_empty(self: open3d.geometry.Geometry) → bool¶ Returns
Trueiff the geometry is empty.
-
transform(self: open3d.geometry.Geometry3D, arg0: numpy.ndarray[float64[4, 4]]) → None¶ Apply transformation (4x4 matrix) to the geometry coordinates.
-
HalfEdgeTriangleMesh= Type.HalfEdgeTriangleMesh¶
-
Image= Type.Image¶
-
LineSet= Type.LineSet¶
-
PointCloud= Type.PointCloud¶
-
TriangleMesh= Type.TriangleMesh¶
-
Unspecified= Type.Unspecified¶
-
VoxelGrid= Type.VoxelGrid¶
-
property
colors¶ RGB colors of lines.
- Type
float64array of shape(num_lines, 3), range[0, 1], usenumpy.asarray()to access data
-
property
lines¶ Lines denoted by the index of points forming the line.
- Type
intarray of shape(num_lines, 2), usenumpy.asarray()to access data
-
property
points¶ Points coordinates.
- Type
float64array of shape(num_points, 3), usenumpy.asarray()to access data
-
class