compas_cgal.types

Vertices

The vertices of a mesh, defined as an array-like sequence of vertices, with each vertex represented by 3 spatial coordinates.

Faces

The faces of a mesh, defined as an array-like sequence of faces, with each face represented by 3 vertex indices.

VerticesFaces

Representation of a mesh as a tuple of vertices and faces.

Planes

A sequence of planes, with each plane defined as an actual Plane object, or as a tuple of a point and normal vector, with each point represented by a Point object or an equivalent list of coordinates, and each vector represented by a Vector object or an equivalent list of components.

VerticesNumpy

An array of vertices, with each vertex defined by 3 spatial coordinates.

FacesNumpy

An array of faces, with each face defined by 3 vertex indices.

VerticesFacesNumpy

Representation of a mesh as a tuple of vertices and faces, with the vertices represented a Nx3 array of spatial coordinates, and the faces as a Fx3 array of vertex indices.

PolylinesNumpy

A list of polylines, with each polyline represented as a Nx3 array of spatial coordinates.