Skip to content

DracoCompression

Public Class

Google Draco compression for mesh and point cloud data

Inheritance Hierarchy

System.Object
Rhino.FileIO.DracoCompression

Namespace: Rhino.FileIO

Assembly: RhinoCommon (in RhinoCommon.dll)

Syntax

public class DracoCompression : IDisposable

The DracoCompression type exposes the following members.

Properties

Name

Description


Public Property

The attribute position for normals when compressed


Public Property

The attribute position for texture coordinates when compressed


Public Property

The attribute position for vertices when compressed


Public Property

The attribute position for vertex colors when compressed


Methods

Name

Description


Public Method
Static Member

Compress a mesh using default compression options.


Public Method
Static Member

Compress a point cloud


Public Method
Static Member

Compress a mesh


Public Method
Static Member

Compress a point cloud


Public Method
Static Member

Decompress base64 encoded version of Draco data into either a mesh or point cloud


Public Method
Static Member

Decompress data into either a mesh or point cloud.


Public Method
Static Member

Read compressed data from disk and decompress to RhinoCommon geometry


Public Method

Actively reclaims unmanaged resources that this instance uses.


Public Method

Equals

Determines whether the specified object is equal to the current object.

(Inherited from Object.)


Protected Method

Finalizer for DracoCompression

(Overrides Object.Finalize..)


Public Method

GetHashCode

Serves as the default hash function.

(Inherited from Object.)


Public Method

GetType

Gets the Type of the current instance.

(Inherited from Object.)


Protected Method

MemberwiseClone

Creates a shallow copy of the current Object.

(Inherited from Object.)


Public Method

Convert byte array of Draco compressed data into a base64 encoded string


Public Method

Gets the Draco compressed data as a byte array


Public Method

ToString

Returns a string that represents the current object.

(Inherited from Object.)


Public Method

Write the compressed data to disk