Points

Inheritance diagram of rumba.Points
class Points

A set of 3d points.

This object is a point cloud.:cvar Points default_value: Static. The default value.

Methods

__init__

Constructor(s)

bounding_box

compute_vertex_normals(result)

Compute and return the vertex normals.

point_count()

Return the number of points.

read_points()

Return the points buffer.

write_points()

Return the points buffer.

Properties

default_value

__init__()

Constructor(s)

Points ()

Create an empty.

Points (v: Value)

Cast a Value in Points.

If v is not a Points object, this object will be an empty point cloud.

compute_vertex_normals(result: BufferV3f) None

Compute and return the vertex normals.

This function computes and returns a buffer of per-vertex smooth normals. This is not the correct display mesh normals.

point_count() int

Return the number of points.

Return type

int

read_points() BufferConstV3f

Return the points buffer.

Return type

BufferConstV3f

write_points() BufferV3f

Return the points buffer.

Return type

BufferV3f