Appearance
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
nodes
• nodes: Object
= {}
Index signature
▪ [key: string
]: Node
Defined in
Methods
addElement
▸ addElement(id
, basis
, nodeIds
): void
Parameters
Name | Type |
---|---|
id | string |
basis | string [] |
nodeIds | string [] |
Returns
void
Defined in
addNode
▸ addNode(id
, p
): void
Parameters
Name | Type |
---|---|
id | string |
p | number [] |
Returns
void
Defined in
evaluate
▸ evaluate(elementId
, xi
): number
[]
Parameters
Name | Type |
---|---|
elementId | string |
xi | number [] |
Returns
number
[]
Defined in
find
▸ find(point
, startingNodeId
): Object
Parameters
Name | Type |
---|---|
point | Vector3 |
startingNodeId | string |
Returns
Object
Name | Type |
---|---|
elementId | string |
xi | number [] |
Defined in
getNodeMaterialPoints
▸ getNodeMaterialPoints(nodeId
): { [key: string]
: any
; elementId
: string
; xi
: number
[] }[]
Parameters
Name | Type |
---|---|
nodeId | string |
Returns
{ [key: string]
: any
; elementId
: string
; xi
: number
[] }[]
Defined in
loadMesh
▸ loadMesh(json
): void
Parameters
Name | Type |
---|---|
json | IMeshNodes |
Returns
void
Defined in
search
▸ search(point
, startingNodeId
, tol
): Object
Parameters
Name | Type |
---|---|
point | Vector3 |
startingNodeId | string |
tol | number |
Returns
Object
Name | Type |
---|---|
elementId | string |
xi | number [] |