Verifies a mesh object contains double-precision vertices.
Rhino.IsMeshDoublePrecision (strObject)
strObject |
Required. String. The object's identifier. |
Boolean |
True if the mesh object contains double-precision vertices, False if the mesh object contains single-precision (float) vertices. |
Null |
On error. |
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