MCPcopy
hub / github.com/graphif/project-graph / getZero

Method getZero

packages/data-structures/src/Vector.ts:14–16  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

12 }
13
14 static getZero(): Vector {
15 return new Vector(0, 0);
16 }
17
18 isZero(): boolean {
19 return this.x === 0 && this.y === 0;

Callers 15

divideMethod · 0.80
normalizeMethod · 0.80
averageMultipleMethod · 0.80
Vector.test.tsFile · 0.80
ConnectPointClass · 0.80
ExtensionEntityClass · 0.80
GraphImporterClass · 0.80
ImageNodeClass · 0.80
LatexNodeClass · 0.80
MarkdownImporterClass · 0.80
MermaidImporterClass · 0.80
NodeAdderClass · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected