« blib/lib/Paws/LocationService/DisassociateTrackerConsumerResponse.pm
↑ Summary
blib/lib/Paws/LocationService/GetDevicePosition.pm »
| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::LocationService::GeofenceGeometry; | ||
| 3 | use Moose; | ||
| 4 | has Polygon => (is => 'ro', isa => 'ArrayRef[ArrayRef[ArrayRef[Num]]]'); | ||
| 5 | |||
| 6 | 1; | ||
| 7 | |||
| 8 | ### main pod documentation begin ### | ||
| 9 | |||
| 10 | =head1 NAME | ||
| 11 | |||
| 12 | Paws::LocationService::GeofenceGeometry | ||
| 13 | |||
| 14 | =head1 USAGE | ||
| 15 | |||
| 16 | This class represents one of two things: | ||
| 17 | |||
| 18 | =head3 Arguments in a call to a service | ||
| 19 | |||
| 20 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 21 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 22 | |||
| 23 | As an example, if Att1 is expected to be a Paws::LocationService::GeofenceGeometry object: | ||
| 24 | |||
| 25 | $service_obj->Method(Att1 => { Polygon => $value, ..., Polygon => $value }); | ||
| 26 | |||
| 27 | =head3 Results returned from an API call | ||
| 28 | |||
| 29 | Use accessors for each attribute. If Att1 is expected to be an Paws::LocationService::GeofenceGeometry object: | ||
| 30 | |||
| 31 | $result = $service_obj->Method(...); | ||
| 32 | $result->Att1->Polygon | ||
| 33 | |||
| 34 | =head1 DESCRIPTION | ||
| 35 | |||
| 36 | Contains the geofence geometry details. | ||
| 37 | |||
| 38 | Amazon Location doesn't currently support polygons with holes, | ||
| 39 | multipolygons, polygons that are wound clockwise, or that cross the | ||
| 40 | antimeridian. | ||
| 41 | |||
| 42 | =head1 ATTRIBUTES | ||
| 43 | |||
| 44 | |||
| 45 | =head2 Polygon => ArrayRef[ArrayRef[ArrayRef[Num]]] | ||
| 46 | |||
| 47 | An array of 1 or more linear rings. A linear ring is an array of 4 or | ||
| 48 | more vertices, where the first and last vertex are the same to form a | ||
| 49 | closed boundary. Each vertex is a 2-dimensional point of the form: | ||
| 50 | C<[longitude, latitude]>. | ||
| 51 | |||
| 52 | The first linear ring is an outer ring, describing the polygon's | ||
| 53 | boundary. Subsequent linear rings may be inner or outer rings to | ||
| 54 | describe holes and islands. Outer rings must list their vertices in | ||
| 55 | counter-clockwise order around the ring's center, where the left side | ||
| 56 | is the polygon's exterior. Inner rings must list their vertices in | ||
| 57 | clockwise order, where the left side is the polygon's interior. | ||
| 58 | |||
| 59 | |||
| 60 | |||
| 61 | =head1 SEE ALSO | ||
| 62 | |||
| 63 | This class forms part of L<Paws>, describing an object used in L<Paws::LocationService> | ||
| 64 | |||
| 65 | =head1 BUGS and CONTRIBUTIONS | ||
| 66 | |||
| 67 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 68 | |||
| 69 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 70 | |||
| 71 | =cut | ||
| 72 |