Skip to content

editorGlobalsSurfacePlaneCache

Class: SurfacePlaneCache

Hierarchy

SurfacePlaneCache

Index

Constructors

Properties

Methods

Constructors

constructor

+ new SurfacePlaneCache(mesh: Mesh): SurfacePlaneCache

Inherited from MeshCache.constructor

Defined in src/model/data/Concepts/Mesh/MeshCache/MeshCache.ts:9

Parameters:

Name Type
mesh Mesh

Returns: SurfacePlaneCache

Properties

Protected Readonly mesh

mesh: Mesh

Inherited from MeshCache.mesh

Defined in src/model/data/Concepts/Mesh/MeshCache/MeshCache.ts:8


Private planes

planes: Map‹MeshSurface‹›, any› = new Map()

Defined in src/model/data/Concepts/Mesh/MeshCache/SurfacePlaneCache.ts:5

Methods

Private _checkValid

_checkValid(): void

Inherited from MeshCache._checkValid

Defined in src/model/data/Concepts/Mesh/MeshCache/MeshCache.ts:28

Throws an exception if this instance is outdated.

Note: Subclasses should call first call this method in order to ensure they do not operate on stale data.

Returns: void


destroy

destroy(): void

Inherited from MeshCache.destroy

Defined in src/model/data/Concepts/Mesh/MeshCache/MeshCache.ts:14

Returns: void


getPlane

getPlane(surface: MeshSurface): ReadonlyPlane

Defined in src/model/data/Concepts/Mesh/MeshCache/SurfacePlaneCache.ts:7

Parameters:

Name Type
surface MeshSurface

Returns: ReadonlyPlane


isValid

isValid(): boolean

Inherited from MeshCache.isValid

Defined in src/model/data/Concepts/Mesh/MeshCache/MeshCache.ts:18

Returns: boolean