PPoint2DfList.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2015-2018 Digital Barriers plc. All rights reserved.
3  * Contact: http://www.digitalbarriers.com/
4  *
5  * This file is part of the Papillon SDK.
6  *
7  * You can't use, modify or distribute any part of this file without
8  * the explicit written agreements of Digital Barriers.
9  */
10 
15 #pragma once
16 #include <PObject.h>
17 
18 PAPILLON_BEGIN_NAMESPACE
19 
20 class PPoint2Df;
21 
37 class PAPILLON_API_CORE PPoint2DfList : public PObject
38 {
39 public:
43  PPoint2DfList();
44 
50  PPoint2DfList(const PPoint2DfList& other);
51 
55  virtual ~PPoint2DfList();
56 
60  PPoint2DfList& operator=(const PPoint2DfList& other);
61 
65  void Clear();
66 
70  bool IsEmpty() const;
71 
75  papillon::int32 Size() const;
76 
80  void Add(const PPoint2Df& p);
81 
86  PPoint2Df Get(papillon::int32 n) const;
87 };
88 
89 PAPILLON_END_NAMESPACE
The PPoint2Df class represents a 2D-point with float coordinates; PPoint2Df instances are immutable (...
Definition: PPoint2Df.h:28
The PPoint2DfList class represents a list of PPoint2Df.
Definition: PPoint2DfList.h:37
The PObject class is the root class of all Papillon classes; all PObject behaves like shared referenc...
Definition: PObject.h:27
Class PObject: the root class of all Papillon classes.
PObject & operator=(const PObject &obj)
Performs a shared copy of other to this object.
Definition: PObject.h:45