#include <BLinearGeo.h>

Public Member Functions | |
| virtual size_t | ComputeSize (void) const |
| Computes the size of the BByteArray required to store this object. | |
| virtual bool | Contains (const BPoint &point) const |
| Determines whether or not the specified BPoint is contained within this BLinearGeo. | |
| virtual void | FromByteArray (const BByteArray &bytes, size_t &startPos) |
| Initializes an instance of this object from a BByteArray. | |
| virtual double | GetLength (void) const |
| Gets the length of this BLinearGeo. | |
| virtual BByteArray | ToByteArray (void) const |
| Stores this object in a BByteArray. | |
Protected Member Functions | |
| BLinearGeo (const BLinearGeo &lgeo) | |
| Copy constructor. | |
| BLinearGeo (EGeometryType type) | |
| Constructs a BLinearGeo with the specified geometry type. | |
| BLinearGeo () | |
| Default constructor. | |
| virtual void | ComputeStats (void) const =0 |
| Calculates the length and MBR of this BLinearGeo. | |
Protected Attributes | |
| double | m_length |
| The length of this BLinearGeo. | |
| BLinearGeo | ( | ) | [inline, protected] |
Default constructor.
This constructor is hidden because this is an abstract class.
| BLinearGeo | ( | EGeometryType | type | ) | [inline, protected] |
Constructs a BLinearGeo with the specified geometry type.
This constructor is hidden because this is an abstract base class.
| type | The type of BLinearGeo to create. |
| BLinearGeo | ( | const BLinearGeo & | lgeo | ) | [inline, protected] |
Copy constructor.
This constructor is hidden because this is an abstract class.
| lgeo | The BLinearGeo object to copy. |
| virtual size_t ComputeSize | ( | void | ) | const [inline, virtual] |
Computes the size of the BByteArray required to store this object.
Reimplemented from BGeometry.
Reimplemented in BAggregateLinear, BArc, BLine, BPath, BPolyline, and BSegment.
| virtual void ComputeStats | ( | void | ) | const [protected, pure virtual] |
Calculates the length and MBR of this BLinearGeo.
Implemented in BAggregateLinear, BArc, BLine, BPath, and BPolyline.
| virtual bool Contains | ( | const BPoint & | point | ) | const [inline, virtual] |
Determines whether or not the specified BPoint is contained within this BLinearGeo.
| point | The point to test for containment. |
| 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 of the 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.
Reimplemented in BAggregateLinear, BArc, BLine, BPath, BPolyline, and BSegment.
| virtual double GetLength | ( | void | ) | const [virtual] |
Gets the length of this BLinearGeo.
| virtual BByteArray ToByteArray | ( | void | ) | const [virtual] |
Stores this object in a BByteArray.
Reimplemented from BGeometry.
Reimplemented in BAggregateLinear, BArc, BLine, BPath, BPolyline, and BSegment.
double m_length [mutable, protected] |
The length of this BLinearGeo.