Skip to content

SubD.SurfaceMeshCacheExists

Public Class

Checks that a surface mesh evaluation cache exists, and that it has the required options. This cache is used by -

, - ToNurbsCurve(Boolean), and - .

Namespace: Rhino.Geometry

Assembly: RhinoCommon (in RhinoCommon.dll)

**Since:**8.9

Syntax

public bool SurfaceMeshCacheExists(
bool bTextureCoordinatesExist,
bool bCurvaturesExist,
bool bColorsExist
)

Parameters

bTextureCoordinatesExist

Type:System.Boolean
If True, the cache must contain texture coordinates information.

bCurvaturesExist

Type:System.Boolean
If True, the cache must contain curvature information.

bColorsExist

Type:System.Boolean
If True, the cache must contain color information.

Return Value

Type:Boolean
True if the cache exists on all face fragments and has the required options.

Remarks

This does not check that the cache is up to date,

.