compas_cgal.types
¤
Attributes¤
Faces
module-attribute
¤
The faces of a mesh, defined as an array-like sequence of faces, with each face represented by 3 vertex indices.
FacesNumpy
module-attribute
¤
An array of faces, with each face defined by 3 vertex indices.
Planes
module-attribute
¤
Planes = (
Sequence[Plane]
| Sequence[tuple[Point, Vector]]
| Sequence[tuple[list[float], list[float]]]
)
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.
PolylinesNumpy
module-attribute
¤
PolylinesNumpy = list[FloatNx3]
A list of polylines, with each polyline represented as a Nx3 array of spatial coordinates.
PolylinesNumpySkeleton
module-attribute
¤
A list of polylines, where each polyline is represented by a tuple of start and end point coordinates.
SkeletonVertexMapping
module-attribute
¤
Vertex correspondence mapping for skeleton edges. Each tuple contains two lists: the first list has indices of original mesh vertices that contracted to the skeleton edge's start vertex, the second list has indices that contracted to the skeleton edge's end vertex.
Vertices
module-attribute
¤
The vertices of a mesh, defined as an array-like sequence of vertices, with each vertex represented by 3 spatial coordinates.
VerticesFaces
module-attribute
¤
Representation of a mesh as a tuple of vertices and faces.
VerticesFacesNumpy
module-attribute
¤
VerticesFacesNumpy = tuple[FloatNx3, IntNx3]
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.
VerticesNumpy
module-attribute
¤
An array of vertices, with each vertex defined by 3 spatial coordinates.