Skip to content

copper3d / Modules / Utils/MeshNodeTool / MeshNodeTool

Class: MeshNodeTool

Utils/MeshNodeTool.MeshNodeTool

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new MeshNodeTool()

Properties

elements

elements: Object = {}

Index signature

▪ [key: string]: Element

Defined in

src/Utils/MeshNodeTool.ts:28


nodes

nodes: Object = {}

Index signature

▪ [key: string]: Node

Defined in

src/Utils/MeshNodeTool.ts:27

Methods

addElement

addElement(id, basis, nodeIds): void

Parameters

NameType
idstring
basisstring[]
nodeIdsstring[]

Returns

void

Defined in

src/Utils/MeshNodeTool.ts:33


addNode

addNode(id, p): void

Parameters

NameType
idstring
pnumber[]

Returns

void

Defined in

src/Utils/MeshNodeTool.ts:30


evaluate

evaluate(elementId, xi): number[]

Parameters

NameType
elementIdstring
xinumber[]

Returns

number[]

Defined in

src/Utils/MeshNodeTool.ts:56


find

find(point, startingNodeId): Object

Parameters

NameType
pointVector3
startingNodeIdstring

Returns

Object

NameType
elementIdstring
xinumber[]

Defined in

src/Utils/MeshNodeTool.ts:61


getNodeMaterialPoints

getNodeMaterialPoints(nodeId): { [key: string]: any; elementId: string ; xi: number[] }[]

Parameters

NameType
nodeIdstring

Returns

{ [key: string]: any; elementId: string ; xi: number[] }[]

Defined in

src/Utils/MeshNodeTool.ts:215


loadMesh

loadMesh(json): void

Parameters

NameType
jsonIMeshNodes

Returns

void

Defined in

src/Utils/MeshNodeTool.ts:46


search(point, startingNodeId, tol): Object

Parameters

NameType
pointVector3
startingNodeIdstring
tolnumber

Returns

Object

NameType
elementIdstring
xinumber[]

Defined in

src/Utils/MeshNodeTool.ts:118