IsMeshDoublePrecision

Verifies a mesh object contains double-precision vertices.

Syntax

Rhino.IsMeshDoublePrecision (strObject)

Parameters

strObject

Required.  String.  The object's identifier.

Returns

Boolean

True if the mesh object contains double-precision vertices, False if the mesh object contains single-precision (float) vertices.

Null

On error.

Example

Const rhObjectMesh = 32

Dim strObject

strObject = Rhino.GetObject("Select a mesh", rhObjectMesh)

If Rhino.IsMeshDoublePrecision(strObject) Then

Rhino.Print "The mesh is double-precision."

Else

Rhino.Print "The mesh is single-precision."

End If

Also See

IsMesh