pimath 0.2.2 → 0.2.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/pimath.js CHANGED
@@ -4127,11 +4127,10 @@ class V {
4127
4127
  return t === "A" ? this.#a(e, i, s) : t === "C" ? this.#a(s, i, e) : this.#a(i, e, s);
4128
4128
  }
4129
4129
  getBisectors(t = !0) {
4130
- if (!this.#o.bisectors) {
4131
- const e = this.#h("A", t), i = this.#h("B", t), s = this.#h("C", t), r = e.intersection(i).point;
4132
- this.#o.bisectors = { A: e, B: i, C: s, intersection: r };
4133
- }
4134
- return this.#o.bisectors;
4130
+ if (t && this.#o.bisectors) return this.#o.bisectors;
4131
+ if (!t && this.#o.externalBisectors) return this.#o.externalBisectors;
4132
+ const e = this.#h("A", t), i = this.#h("B", t), s = this.#h("C", t), r = e.intersection(i).point;
4133
+ return t ? this.#o.bisectors = { A: e, B: i, C: s, intersection: r } : this.#o.externalBisectors = { A: e, B: i, C: s, intersection: r }, { A: e, B: i, C: s, intersection: r };
4135
4134
  }
4136
4135
  getHeights() {
4137
4136
  if (!this.#o.heights) {