#include <BAggregatePoint.h>

Public Member Functions | |
| void | Add (const BAggregatePoint &aggy) |
| Adds a collection of BPointGeo objects to this BAggregatePoint geometry. | |
| void | Add (const BPointGeoPtr &pGeo) |
| Adds a BPointGeo to this BAggregatePoint geometry. | |
| virtual void | AddGeometry (const BGeometryPtr &pGeo) |
| Adds a BGeometry to the BAggregatePoint. | |
| BAggregatePoint (const BAggregatePoint &aggy) | |
| Copy constructor. | |
| BAggregatePoint (const BPoints &points) | |
| Constructs a BAggregatePoint from a collection of BPoints. | |
| BAggregatePoint () | |
| Default constructor, which constructs an empty collection of BPointGeo objects. | |
| virtual BGeometry * | Clone (void) const |
| Creates a deep-copy of this object. | |
| virtual size_t | ComputeSize (void) const |
| Computes the size of the BByteArray required to store this object. | |
| virtual bool | Contains3dGeometry () const |
| Indicates whether or not this BAggregatePoint contains 3D geometries. | |
| virtual double | DistanceTo (const BPoint &point) const |
| Calculates the minimum distance from this BGeometry to the specified BPoint. | |
| virtual void | DoResolveToPoint (const BPoint &refPt) |
| Resolves this BGeometry based on the input BPoint. | |
| virtual void | FromByteArray (const BByteArray &bytes, size_t &startPos) |
| Initializes an instance of this object from a BByteArray. | |
| virtual BGeometryPtr | GetGeometryAt (size_t index) const |
| Gets a BPointGeo from this BAggregatePoint. | |
| virtual size_t | GetGeometryCount (void) const |
| Gets the number of BPointGeo objects in this BAggregatePoint. | |
| virtual bool | Intersects (const BRect &rect) const |
| Determines whether or not this BGeometry intersects the specified BRect. | |
| virtual bool | IsAggregate (void) const |
| Determines whether or not this BGeometry is an aggregate geometry. | |
| void | Remove (const BPointGeoPtr &pGeo) |
| Removes a BPointGeo from this BAggregatePoint geometry. | |
| virtual BByteArray | ToByteArray (void) const |
| Stores this object in a BByteArray. | |
| virtual void | Transform (const BTransform &cst) |
| Transforms the coordinates in this BGeometry to a different coordinate system. | |
| virtual void | TransformReverse (const BTransform &cst) |
| Transforms the coordinates in this BGeometry to a different coordinate system using the "reverse" of the BTransform. | |
| virtual | ~BAggregatePoint () |
| Destructor. | |
Protected Member Functions | |
| virtual BRect | ComputeMBR () const |
| Computes the minimum bounding rectangle for this BAggregateLinear. | |
| BAggregatePoint | ( | ) | [inline] |
Default constructor, which constructs an empty collection of BPointGeo objects.
| BAggregatePoint | ( | const BPoints & | points | ) |
Constructs a BAggregatePoint from a collection of BPoints.
One BPointGeo is created for each BPoint, and the BPointGeo is stored in this BAggregatePoint.
| points | The collection of BPoints. |
| BAggregatePoint | ( | const BAggregatePoint & | aggy | ) | [inline] |
| virtual ~BAggregatePoint | ( | ) | [inline, virtual] |
Destructor.
| void Add | ( | const BAggregatePoint & | aggy | ) |
Adds a collection of BPointGeo objects to this BAggregatePoint geometry.
| aggy | The collection of BPointGeo objects. |
| void Add | ( | const BPointGeoPtr & | pGeo | ) |
Adds a BPointGeo to this BAggregatePoint geometry.
| pGeo | The BPointGeo to add to this BAggregatePoint geometry. |
| virtual void AddGeometry | ( | const BGeometryPtr & | pGeo | ) | [virtual] |
Adds a BGeometry to the BAggregatePoint.
This method will only succeed if the specified BGeometry is a BPointGeo.
| pGeo | The BGeometry to be added. |
Implements BGeometryCollection.
| virtual BGeometry* Clone | ( | void | ) | const [virtual] |
| virtual BRect ComputeMBR | ( | ) | const [protected, virtual] |
Computes the minimum bounding rectangle for this BAggregateLinear.
Implements BGeometry.
| virtual size_t ComputeSize | ( | void | ) | const [inline, virtual] |
Computes the size of the BByteArray required to store this object.
Reimplemented from BGeometry.
| virtual bool Contains3dGeometry | ( | ) | const [virtual] |
Indicates whether or not this BAggregatePoint contains 3D geometries.
Implements BGeometryCollection.
| virtual double DistanceTo | ( | const BPoint & | point | ) | const [virtual] |
| virtual void DoResolveToPoint | ( | const BPoint & | refPt | ) | [virtual] |
| virtual void FromByteArray | ( | const BByteArray & | bytes, | |
| size_t & | startPos | |||
| ) | [virtual] |
Initializes an instance of this object from a BByteArray.
| bytes | The BByteArray containing the byte representation for this object. | |
| startPos | The position in the BByteArray where the byte representation begins. This value will be updated to point to the byte past the end of this object in the byte array. |
Reimplemented from BGeometry.
| virtual BGeometryPtr GetGeometryAt | ( | size_t | index | ) | const [virtual] |
Gets a BPointGeo from this BAggregatePoint.
| index | The index of the desired BPointGeo. |
Implements BGeometryCollection.
| virtual size_t GetGeometryCount | ( | void | ) | const [inline, virtual] |
Gets the number of BPointGeo objects in this BAggregatePoint.
Implements BGeometryCollection.
| virtual bool Intersects | ( | const BRect & | rect | ) | const [virtual] |
| virtual bool IsAggregate | ( | void | ) | const [inline, virtual] |
Determines whether or not this BGeometry is an aggregate geometry.
Since this is a BAggregatePoint, this method will always return true.
Reimplemented from BGeometry.
| void Remove | ( | const BPointGeoPtr & | pGeo | ) |
Removes a BPointGeo from this BAggregatePoint geometry.
| pGeo | The BPointGeo to remove from this BAggregatePoint geometry. |
| virtual BByteArray ToByteArray | ( | void | ) | const [virtual] |
Stores this object in a BByteArray.
Reimplemented from BGeometry.
| virtual void Transform | ( | const BTransform & | cst | ) | [virtual] |
Transforms the coordinates in this BGeometry to a different coordinate system.
| cst | The BTransform that describes the transformation. |
Reimplemented from BGeometry.
| virtual void TransformReverse | ( | const BTransform & | cst | ) | [virtual] |
Transforms the coordinates in this BGeometry to a different coordinate system using the "reverse" of the BTransform.
| cst | The BTransform that describes the transformation. |
Reimplemented from BGeometry.