conditionalSelectFrom method

  1. @override
VestaIsoPoint conditionalSelectFrom({
  1. required VestaIsoPoint a,
  2. required VestaIsoPoint b,
  3. required bool choice,
})
override

Implementation

@override
VestaIsoPoint conditionalSelectFrom({
  required VestaIsoPoint a,
  required VestaIsoPoint b,
  required bool choice,
}) {
  return VestaIsoPoint(
    x: VestaFq.conditionalSelect(a.x, b.x, choice),
    y: VestaFq.conditionalSelect(a.y, b.y, choice),
    z: VestaFq.conditionalSelect(a.z, b.z, choice),
  );
}