1<?php 2/* 3 * Copyright 2014 Google Inc. 4 * 5 * Licensed under the Apache License, Version 2.0 (the "License"); you may not 6 * use this file except in compliance with the License. You may obtain a copy of 7 * the License at 8 * 9 * http://www.apache.org/licenses/LICENSE-2.0 10 * 11 * Unless required by applicable law or agreed to in writing, software 12 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 13 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 14 * License for the specific language governing permissions and limitations under 15 * the License. 16 */ 17 18namespace Google\Service\SemanticTile; 19 20class Area extends \Google\Collection 21{ 22 protected $collection_key = 'triangleIndices'; 23 protected $basemapZOrderType = BasemapZOrder::class; 24 protected $basemapZOrderDataType = ''; 25 public $hasExternalEdges; 26 public $internalEdges; 27 public $loopBreaks; 28 public $triangleIndices; 29 public $type; 30 protected $vertexOffsetsType = Vertex2DList::class; 31 protected $vertexOffsetsDataType = ''; 32 public $zOrder; 33 34 /** 35 * @param BasemapZOrder 36 */ 37 public function setBasemapZOrder(BasemapZOrder $basemapZOrder) 38 { 39 $this->basemapZOrder = $basemapZOrder; 40 } 41 /** 42 * @return BasemapZOrder 43 */ 44 public function getBasemapZOrder() 45 { 46 return $this->basemapZOrder; 47 } 48 public function setHasExternalEdges($hasExternalEdges) 49 { 50 $this->hasExternalEdges = $hasExternalEdges; 51 } 52 public function getHasExternalEdges() 53 { 54 return $this->hasExternalEdges; 55 } 56 public function setInternalEdges($internalEdges) 57 { 58 $this->internalEdges = $internalEdges; 59 } 60 public function getInternalEdges() 61 { 62 return $this->internalEdges; 63 } 64 public function setLoopBreaks($loopBreaks) 65 { 66 $this->loopBreaks = $loopBreaks; 67 } 68 public function getLoopBreaks() 69 { 70 return $this->loopBreaks; 71 } 72 public function setTriangleIndices($triangleIndices) 73 { 74 $this->triangleIndices = $triangleIndices; 75 } 76 public function getTriangleIndices() 77 { 78 return $this->triangleIndices; 79 } 80 public function setType($type) 81 { 82 $this->type = $type; 83 } 84 public function getType() 85 { 86 return $this->type; 87 } 88 /** 89 * @param Vertex2DList 90 */ 91 public function setVertexOffsets(Vertex2DList $vertexOffsets) 92 { 93 $this->vertexOffsets = $vertexOffsets; 94 } 95 /** 96 * @return Vertex2DList 97 */ 98 public function getVertexOffsets() 99 { 100 return $this->vertexOffsets; 101 } 102 public function setZOrder($zOrder) 103 { 104 $this->zOrder = $zOrder; 105 } 106 public function getZOrder() 107 { 108 return $this->zOrder; 109 } 110} 111 112// Adding a class alias for backwards compatibility with the previous class name. 113class_alias(Area::class, 'Google_Service_SemanticTile_Area'); 114