MCPcopy Create free account
hub / github.com/microsoft/SandDance / copy

Method copy

docs/app/js/sanddance-app.js:75418–75423  ·  view source on GitHub ↗
(other)

Source from the content-addressed store, hash-verified

75416 return new SphericalCoordinates().copy(this);
75417 }
75418 copy(other) {
75419 this.radius = other.radius;
75420 this.phi = other.phi;
75421 this.theta = other.theta;
75422 return this.check();
75423 }
75424 fromLngLatZ([lng, lat, z]) {
75425 this.radius = 1 + z / this.radiusScale;
75426 this.phi = (0, _common.radians)(lat);

Callers

nothing calls this directly

Calls 1

checkMethod · 0.95

Tested by

no test coverage detected