1234567891011121314151617181920212223242526272829303132333435 |
- <?php
- /**
- * Created by PhpStorm.
- * User: mrs
- * Date: 28.12.2017
- * Time: 14:01
- */
- require_once('Segment.php');
- require_once('InterfaceAllSegments.php');
- class BrokenLine extends Segment implements AllSegments
- {
- public $points;
- public $segments = [];
- public $allSegmentsLength;
- public function __construct(Point ...$points)
- {
- $this->points = $points;
- }
- public function getAllSegments(): array
- {
- }
- public function getAllSegmentsLength(): float
- {
- }
- }
|