public function sum(): Segment
    {
        return AlKashi::side(
            $this->firstSegment,
            $this->degree,
            $this->secondSegment
        );
    }
public function sum(): Segment
    {
        return AlKashi::side(
            $this->firstSegment,
            $this->degree,
            $this->secondSegment
        );
    }
public function sum ( ) : Segment { return AlKashi :: side ( $ this -> firstSegment , $ this -> degree , $ this -> secondSegment ) ; }
It sums the segments like we would sum vectors, except here we don't use
vectors as it would need a plan to express a direction
It sums the segments like we would sum vectors except here we don t use vectors as it would need a plan to express a direction