Skip to content

editorGlobalsSingleSurfaceMeshImplementation

Class: SingleSurfaceMeshImplementation

A MeshImplementation that only allows one surface inside.

Hierarchy

  • SingleSurfaceMeshImplementation

Implements

Index

Constructors

Properties

Methods

Constructors

constructor

+ new SingleSurfaceMeshImplementation(surface: MeshSurface): SingleSurfaceMeshImplementation

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

Parameters:

Name Type
surface MeshSurface

Returns: SingleSurfaceMeshImplementation

Properties

Private surface

surface: MeshSurface

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

Methods

cleanse

cleanse(): void

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

Returns: void


clear

clear(): void

Implementation of IMeshImplementation

Defined in src/model/data/Concepts/Mesh/SingleSurfaceMeshImplementation.ts:22

Returns: void


getSurfaces

getSurfaces(): readonly MeshSurface[]

Implementation of IMeshImplementation

Defined in src/model/data/Concepts/Mesh/SingleSurfaceMeshImplementation.ts:26

Returns: readonly MeshSurface[]


hasSurface

hasSurface(surface: MeshSurface): boolean

Implementation of IMeshImplementation

Defined in src/model/data/Concepts/Mesh/SingleSurfaceMeshImplementation.ts:34

Parameters:

Name Type
surface MeshSurface

Returns: boolean


isEmpty

isEmpty(): boolean

Implementation of IMeshImplementation

Defined in src/model/data/Concepts/Mesh/SingleSurfaceMeshImplementation.ts:38

Returns: boolean


isTwoManifold

isTwoManifold(): boolean

Implementation of IMeshImplementation

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

Returns: boolean


setSurface

setSurface(surface: MeshSurface): void

Defined in src/model/data/Concepts/Mesh/SingleSurfaceMeshImplementation.ts:42

Parameters:

Name Type
surface MeshSurface

Returns: void