Class GeomBoolCache
Cache for geometry boolean operations.
public class GeomBoolCache : IDisposable
- Inheritance
-
GeomBoolCache
- Implements
- Inherited Members
- Extension Methods
Constructors
GeomBoolCache(GeomBoolCacheEnum)
Initializes a new instance of the GeomBoolCache class.
public GeomBoolCache(GeomBoolCacheEnum boolGeomCacheEnum)
Parameters
boolGeomCacheEnumGeomBoolCacheEnumThe type of geometry boolean cache.
Properties
CachedTris
Gets or sets the cached triangles.
public CachedTris CachedTris { get; set; }
Property Value
ConvexTransformation
Gets or sets the convex transformation matrix. Defaults to the identity, which places the convex in its initial pose.
public mat4d_t ConvexTransformation { get; set; }
Property Value
GeomBoolCacheEnum
Gets or sets the type of geometry boolean cache.
public GeomBoolCacheEnum GeomBoolCacheEnum { get; set; }
Property Value
InitStickConvex
The share of the stick convex this cache subtracts with (see
InitStickConvex). The cache owns the share it is handed and gives it
back in Dispose(), so the native convex outlives the subtraction whatever
the profile that built it does meanwhile (a ClearCache gives back the profile's
own share only).
public InitStickConvex InitStickConvex { get; set; }
Property Value
PreferredCubeWidth
Gets or sets the preferred cube width.
public double PreferredCubeWidth { get; set; }
Property Value
Methods
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public void Dispose()
Dispose(bool)
Disposes what the cache owns: its CachedTris, and the share of the stick convex it was handed (InitStickConvex), given back here.
protected virtual void Dispose(bool disposing)
Parameters
disposingboolTrue if disposing, false if finalizing.
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.