dtcc.VolumeMesh.from_proto(pb: Geometry | bytes)[source]

Initialize VolumeMesh from a protobuf representation.

Parameters:
pb : Union[proto.Geometry, bytes]

The protobuf message or its serialized bytes representation.