#include <BClip.h>
Public Member Functions | |
| BClip (const BClip &clip) | |
| Copy constructor. | |
| BClip () | |
| Default constructor. | |
| virtual BClip * | Clone () const |
| Creates a deep-copy of this object. | |
| virtual const EClipType | GetClipType (void) const |
| Get the type of this BClip. | |
| virtual const BAreaGeoPtr & | GetGeometry (void) const |
| Gets the geometry of this BClip. | |
| const BRect & | GetMBR () const |
| Gets the MBR of the clip region. | |
| bool | Initialize () |
| Set up the clipper based on its geometry (polygon, etc. | |
| virtual bool | IsClipped (const BPoint &point) const |
| Determines if specified BPoint is clipped by this BClip. | |
| virtual void | SetClipType (EClipType type) |
| Set the type of this BClip. | |
| virtual void | SetGeometry (const BAreaGeoPtr &geo) |
| Sets the geometry of this BClip. | |
| virtual void | Transform (const BTransform &cst) |
| Transforms the coordinates of this BClip to a different coordinate system. | |
| virtual void | TransformReverse (const BTransform &cst) |
| Transforms the coordinates of this BClip to a different coordinate system using the "reverse" of the BTransform. | |
| virtual | ~BClip () |
| Destructor. | |
Protected Member Functions | |
| BGeometryPtr | ApplyClip (BGeometryPtr &clippee) |
| Applies this BClip to the passed in "clippee" geometry. | |
Friends | |
| class | BFeature |
| virtual ~BClip | ( | ) | [inline, virtual] |
Destructor.
| BGeometryPtr ApplyClip | ( | BGeometryPtr & | clippee | ) | [protected] |
| virtual BClip* Clone | ( | ) | const [inline, virtual] |
Creates a deep-copy of this object.
| virtual const EClipType GetClipType | ( | void | ) | const [inline, virtual] |
| virtual const BAreaGeoPtr& GetGeometry | ( | void | ) | const [inline, virtual] |
| const BRect& GetMBR | ( | ) | const [inline] |
Gets the MBR of the clip region.
This is equivalent to the MBR of the underlying geometry for this BClip.
| bool Initialize | ( | ) |
Set up the clipper based on its geometry (polygon, etc.
)
| virtual bool IsClipped | ( | const BPoint & | point | ) | const [virtual] |
| virtual void SetClipType | ( | EClipType | type | ) | [inline, virtual] |
| virtual void SetGeometry | ( | const BAreaGeoPtr & | geo | ) | [virtual] |
| virtual void Transform | ( | const BTransform & | cst | ) | [virtual] |
Transforms the coordinates of this BClip to a different coordinate system.
| cst | The BTransform that describes the transformation. |
| virtual void TransformReverse | ( | const BTransform & | cst | ) | [virtual] |
Transforms the coordinates of this BClip to a different coordinate system using the "reverse" of the BTransform.
| cst | The BTransform that describes the transformation. |
friend class BFeature [friend] |