Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/xiangechen/chili3d
/ functions
Functions
3,062 in github.com/xiangechen/chili3d
⨍
Functions
3,062
◇
Types & classes
912
↓ 180 callers
Method
add
(...items: INode[])
packages/chili-core/src/model/node.ts:23
↓ 180 callers
Method
push
(...items: T[])
packages/chili-core/src/foundation/linkedList.ts:26
↓ 161 callers
Method
forEach
(callback: (item: T, index: number) => void)
packages/chili-core/src/foundation/collection.ts:117
↓ 135 callers
Method
getPrivateValue
(pubKey: K, defaultValue?: this[K])
packages/chili-core/src/foundation/observer.ts:35
↓ 106 callers
Method
sub
(right: XY)
packages/chili-core/src/math/xy.ts:46
↓ 102 callers
Method
set
(e: HTMLElement, path: I18nPath)
packages/chili-core/src/i18n/i18n.ts:30
↓ 101 callers
Method
remove
(...items: INode[])
packages/chili-core/src/model/node.ts:24
↓ 95 callers
Method
get
(database: string, table: string, id: string)
packages/chili-core/src/foundation/storage.ts:6
↓ 88 callers
Function
gc
(action: (collect: <T extends Deletable | IDisposable>(resource: T) => T) => R)
packages/chili-core/src/foundation/gc.ts:16
↓ 81 callers
Method
setPrivateValue
(pubKey: K, newValue: this[K])
packages/chili-core/src/foundation/observer.ts:55
↓ 72 callers
Method
toXYZ
(p: gp_Pnt | gp_Dir | gp_Vec | Vector3)
packages/chili-wasm/src/helper.ts:85
↓ 71 callers
Method
dispose
()
packages/chili-core/src/visual/viewGizmo.ts:7
↓ 71 callers
Method
pub
(event: K, ...args: Parameters<PubSubEventMap[K]>)
packages/chili-core/src/foundation/pubsub.ts:63
↓ 66 callers
Method
multiply
(scalar: number)
packages/chili-core/src/math/xy.ts:42
↓ 64 callers
Function
command
(metadata: CommandData)
packages/chili-core/src/command/decarator.ts:21
↓ 64 callers
Method
distanceTo
(right: XY)
packages/chili-core/src/math/xy.ts:59
↓ 60 callers
Method
setProperty
* Set the value of a private property, and if successful, execute emitPropertyChanged. * * Note: The private property name must be the publi
packages/chili-core/src/foundation/observer.ts:64
↓ 56 callers
Method
ok
(value: T)
packages/chili-core/src/foundation/result.ts:53
↓ 54 callers
Method
register
(app: IApplication)
packages/chili-core/src/service.ts:7
↓ 54 callers
Method
update
()
packages/chili-core/src/visual/view.ts:36
↓ 48 callers
Method
map
()
packages/chili-core/src/material.ts:108
↓ 45 callers
Method
filter
(predicate: (value: T, index: number, array: T[]) => boolean)
packages/chili-core/src/foundation/collection.ts:141
↓ 44 callers
Method
err
(error: E)
packages/chili-core/src/foundation/result.ts:57
↓ 43 callers
Method
at
(index: number)
packages/chili-core/src/foundation/collection.ts:137
↓ 43 callers
Method
normalize
()
packages/chili-core/src/math/xy.ts:54
↓ 39 callers
Method
clone
()
packages/chili-core/src/model/node.ts:17
↓ 39 callers
Method
map
(command: CommandKeys, keys: Keys)
packages/chili/src/services/hotkeyService.ts:86
↓ 38 callers
Method
append
(...nodes: Node[])
packages/chili-ui/src/project/tree/treeItemGroup.ts:65
↓ 37 callers
Method
dot
(right: XY)
packages/chili-core/src/math/xy.ts:30
↓ 35 callers
Function
throwBindingError
(message)
packages/chili-wasm/lib/chili-wasm.js:2943
↓ 34 callers
Method
isEqualTo
(right: XY, tolerance: number = 1e-8)
packages/chili-core/src/math/xy.ts:88
↓ 34 callers
Method
setProperty
( property: K, newValue: this[K], onPropertyChanged?: ((property: K, oldValue: this[K]
packages/chili-three/test/testEdge.ts:158
↓ 31 callers
Method
clear
()
packages/chili-core/src/visual/highlighter.ts:10
↓ 31 callers
Function
convertShapeResult
(result: ShapeResult)
packages/chili-wasm/src/factory.ts:48
↓ 31 callers
Method
delete
()
packages/chili-core/src/foundation/gc.ts:7
↓ 30 callers
Method
execute
(document: IDocument, controller: AsyncController)
packages/chili/src/step/step.ts:8
↓ 29 callers
Method
clear
()
packages/chili/src/snap/snap.ts:49
↓ 28 callers
Method
info
(message?: any, ...optionalParams: any[])
packages/chili-core/src/foundation/logger.ts:9
↓ 27 callers
Method
almostEqual
(a: number, b: number, tolerance = 1e-6)
packages/chili-core/src/math/mathUtils.ts:24
↓ 26 callers
Function
ensureOccShape
(shapes: IShape | IShape[])
packages/chili-wasm/src/factory.ts:31
↓ 26 callers
Function
svg
(props: HTMLProps<HTMLElement> & { icon: string })
packages/chili-controls/src/controls.ts:63
↓ 24 callers
Method
split
(shapes: IShape[])
packages/chili-core/src/shape/shape.ts:45
↓ 23 callers
Method
get
()
packages/chili-wasm/lib/chili-wasm.d.ts:375
↓ 22 callers
Method
cross
(right: XY)
packages/chili-core/src/math/xy.ts:26
↓ 21 callers
Function
createControl
(tag: K)
packages/chili-controls/src/controls.ts:8
↓ 21 callers
Method
onPropertyChanged
(handler: PropertyChangedHandler<this, K>)
packages/chili-core/src/foundation/observer.ts:14
↓ 20 callers
Method
convert
(value: TFrom)
packages/chili-core/src/foundation/converter.ts:7
↓ 19 callers
Method
error
()
packages/chili-wasm/lib/chili-wasm.d.ts:24
↓ 19 callers
Method
meshLine
(start: XYZ, end: XYZ)
packages/chili/src/commands/create/cone.ts:84
↓ 19 callers
Method
ofPoint
(point: XYZLike)
packages/chili-core/src/math/matrix4.ts:261
↓ 19 callers
Function
readLatin1String
(ptr)
packages/chili-wasm/lib/chili-wasm.js:2929
↓ 19 callers
Method
removePropertyChanged
(handler: PropertyChangedHandler<this, K>)
packages/chili-core/src/foundation/observer.ts:15
↓ 19 callers
Method
wrapShape
(shape: TopoDS_Shape, id: string = Id.generate())
packages/chili-wasm/src/helper.ts:297
↓ 18 callers
Method
fromArray
(array: ArrayLike<number>)
packages/chili-core/src/math/matrix4.ts:120
↓ 17 callers
Method
insertAfter
(target: INode | undefined, node: INode)
packages/chili-core/src/model/node.ts:27
↓ 17 callers
Method
intersect
(other: IEdge | Ray)
packages/chili-core/src/shape/shape.ts:64
↓ 17 callers
Method
ofPoints
(points: ArrayLike<number>)
packages/chili-core/src/math/matrix4.ts:233
↓ 17 callers
Method
warn
(message?: any, ...optionalParams: any[])
packages/chili-core/src/foundation/logger.ts:13
↓ 16 callers
Method
removeMesh
(id: number)
packages/chili-core/src/visual/visualContext.ts:24
↓ 16 callers
Method
toPnt
(value: Vector3)
packages/chili-wasm/src/helper.ts:93
↓ 16 callers
Method
value
(_0: number, _1: number)
packages/chili-wasm/lib/chili-wasm.d.ts:436
↓ 15 callers
Function
box
(min: PointLike, max: PointLike)
packages/chili-core/test/boundingBox.test.ts:7
↓ 15 callers
Method
isParallelTo
(right: XY, tolerance: number = 1e-8)
packages/chili-core/src/math/xy.ts:95
↓ 15 callers
Method
open
( dbName: string, storeName: string, version: number, options?: IDBObjectStore
packages/chili-storage/src/indexedDBStorage.ts:45
↓ 15 callers
Method
projectDistance
(p1: XYZ, p2: XYZ)
packages/chili-core/src/math/plane.ts:72
↓ 15 callers
Method
transformedMul
(matrix: Matrix4)
packages/chili-core/src/shape/shape.ts:23
↓ 14 callers
Method
allow
(node: INode)
packages/chili-core/src/selectionFilter.ts:12
↓ 14 callers
Method
convertBack
(value: TTo)
packages/chili-core/src/foundation/converter.ts:8
↓ 14 callers
Method
map
(callback: (item: T, index: number) => any)
packages/chili-core/src/foundation/collection.ts:121
↓ 14 callers
Method
reverse
()
packages/chili-core/src/shape/curve.ts:48
↓ 14 callers
Method
toXYZ
(vector: Vector3)
packages/chili-three/src/threeHelper.ts:32
↓ 13 callers
Method
angleOnPlaneTo
* Computes the angular value in radians between me and right on plane * @param right vector * @param normal plane normal * @returns [0,
packages/chili-core/src/math/xyz.ts:115
↓ 13 callers
Method
angleTo
* Computes the angular value in radians between me and right * @param right vector * @returns [0, PI]
packages/chili-core/src/math/xy.ts:82
↓ 13 callers
Method
appendChild
(node: T)
packages/chili-ui/src/project/tree/treeItemGroup.ts:60
↓ 13 callers
Method
appendChild
(node: T)
packages/chili-controls/src/expander/expander.ts:30
↓ 13 callers
Method
close
()
packages/chili-core/src/visual/view.ts:46
↓ 13 callers
Method
displayMesh
(datas: ShapeMeshData[], opacity?: number)
packages/chili-core/src/visual/visualContext.ts:23
↓ 13 callers
Function
embind__requireFunction
(signature, rawFunction, isAsync = false)
packages/chili-wasm/lib/chili-wasm.js:3532
↓ 13 callers
Method
set
(msg: string, type: MessageType)
packages/chili-ui/src/viewport/flyout/tip.ts:16
↓ 13 callers
Method
value
(parameter: number)
packages/chili-core/src/shape/curve.ts:40
↓ 13 callers
Method
worldTransform
()
packages/chili-core/src/visual/visualObject.ts:9
↓ 12 callers
Method
append
(...nodes: Node[])
packages/chili-controls/src/expander/expander.ts:34
↓ 12 callers
Method
copy
()
packages/chili-core/src/shape/geometry.ts:16
↓ 12 callers
Method
isNull
()
packages/chili-wasm/lib/chili-wasm.d.ts:463
↓ 12 callers
Method
loadTexture
(item: Texture | undefined)
packages/chili-three/src/threeHelper.ts:97
↓ 12 callers
Function
registerType
(rawType, registeredInstance, options = {})
packages/chili-wasm/lib/chili-wasm.js:2966
↓ 12 callers
Method
size
()
packages/chili-core/src/model/node.ts:26
↓ 12 callers
Method
toDir
(value: Vector3)
packages/chili-wasm/src/helper.ts:89
↓ 12 callers
Method
undo
()
packages/chili-core/src/foundation/history.ts:9
↓ 11 callers
Method
clearSelection
()
packages/chili-core/src/selection.ts:31
↓ 11 callers
Function
collection
(options: CollectionProps<T>)
packages/chili-controls/src/controls.ts:97
↓ 11 callers
Method
generate
(text: string, size: number, color: number, font: "fzhei")
packages/chili-core/src/visual/textGenerator.ts:7
↓ 11 callers
Method
isIntersect
(box1: BoundingBox, box2: BoundingBox, tolerance = 0.001)
packages/chili-core/src/math/boundingBox.ts:139
↓ 11 callers
Method
length
()
packages/chili-core/src/shape/shape.ts:65
↓ 11 callers
Method
rotate
(dx: number, dy: number)
packages/chili-core/src/visual/cameraController.ts:19
↓ 10 callers
Method
addNode
(...nodes: INode[])
packages/chili-core/src/document.ts:33
↓ 10 callers
Method
redo
()
packages/chili-core/src/foundation/history.ts:10
↓ 10 callers
Method
replace
(index: number, ...items: T[])
packages/chili-core/src/foundation/collection.ts:96
↓ 10 callers
Function
whenDependentTypesAreResolved
(myTypes, dependentTypes, getTypeConverters)
packages/chili-wasm/lib/chili-wasm.js:2811
↓ 9 callers
Method
addState
(shape: IVisualObject, state: VisualState, type: ShapeType, ...index: number[])
packages/chili-core/src/visual/highlighter.ts:12
next →
1–100 of 3,062, ranked by callers