#include <BSegLink.h>

This may represent a BSegment that has been added to the BPath, or it may represent a link between two non-connected BSegments that have been added to the path.
Public Member Functions | |
| BSegLink (const BSegLink &link) | |
| Copy constructor. | |
| BSegLink (ESegmentType segType, const BSegmentPtr &pSeg) | |
| Constructs a BSegLink with the specified geometry. | |
| BSegLink (const BSegmentPtr &pSeg) | |
| Constructs a BSegLink from an existing BSegment. | |
| BSegLink () | |
| Default constructor. | |
| virtual size_t | ComputeSize (void) const |
| Computes the size of the BByteArray required to store this object. | |
| virtual void | FromByteArray (const BByteArray &bytes, size_t &startPos) |
| Initializes an instance of this object from a BByteArray. | |
| const BSegmentPtr | GetSegmentPtr (void) const |
| Gets the pointer to the BSegment that defines the curvature for this BSegLink. | |
| BSegmentPtr | GetSegmentPtr (void) |
| Gets the pointer to the BSegment that defines the curvature for this BSegLink. | |
| ESegmentType | GetSegmentType (void) const |
| Gets the segment type. | |
| BSegLink & | operator= (const BSegLink &rhs) |
| Assignment operator. | |
| void | SetSegmentPtr (const BSegmentPtr pSeg) |
| Sets the pointer to the BSegment that defines the curvature for this BSegLink. | |
| void | SetSegmentType (ESegmentType type) |
| Sets the segment type. | |
| virtual BByteArray | ToByteArray (void) const |
| Stores this object in a BByteArray. | |
| virtual | ~BSegLink () |
| Destructor. | |
| BSegLink | ( | const BSegmentPtr & | pSeg | ) | [inline] |
| BSegLink | ( | ESegmentType | segType, | |
| const BSegmentPtr & | pSeg | |||
| ) | [inline] |
| virtual ~BSegLink | ( | ) | [inline, virtual] |
Destructor.
| virtual size_t ComputeSize | ( | void | ) | const [inline, virtual] |
Computes the size of the BByteArray required to store this object.
Implements BByteStreamable.
| virtual void FromByteArray | ( | const BByteArray & | bytes, | |
| size_t & | startPos | |||
| ) | [inline, 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. |
Implements BByteStreamable.
| const BSegmentPtr GetSegmentPtr | ( | void | ) | const [inline] |
| BSegmentPtr GetSegmentPtr | ( | void | ) | [inline] |
| ESegmentType GetSegmentType | ( | void | ) | const [inline] |
Gets the segment type.
| void SetSegmentPtr | ( | const BSegmentPtr | pSeg | ) | [inline] |
| void SetSegmentType | ( | ESegmentType | type | ) | [inline] |
Sets the segment type.
| type | The segment type. |
| virtual BByteArray ToByteArray | ( | void | ) | const [inline, virtual] |
Stores this object in a BByteArray.
Implements BByteStreamable.