Public Member Functions |
| virtual RCircle * | clone () const |
| virtual bool | flipHorizontal () |
| virtual bool | flipVertical () |
| double | getArea () const |
| virtual RBox | getBoundingBox () const |
| RVector | getCenter () const |
| virtual QList< RVector > | getCenterPoints () const |
| double | getCircumference () const |
| double | getDiameter () const |
| virtual QList< RVector > | getEndPoints () const |
| virtual double | getLength () const |
| virtual QList< RVector > | getMiddlePoints () const |
| virtual QList< RVector > | getPointsWithDistanceToEnd (double distance, RS::From from=RS::FromAny) const |
| double | getRadius () const |
| virtual RVector | getVectorTo (const RVector &point, bool limited=true) const |
| virtual bool | mirror (const RLine &axis) |
| virtual bool | move (const RVector &offset) |
| | RCircle () |
| | Creates a circle object with invalid center and 0 radius.
|
| | RCircle (const RVector ¢er, const double radius) |
| virtual bool | rotate (double rotation, const RVector ¢er=RDEFAULT_RVECTOR) |
| virtual bool | scale (const RVector &scaleFactors, const RVector ¢er=RDEFAULT_RVECTOR) |
| void | setArea (double a) |
| void | setCenter (const RVector &vector) |
| void | setCircumference (double c) |
| void | setDiameter (double d) |
| void | setRadius (double radius) |
| virtual void | to2D () |
| | Flattens this shape to the X/Y plane.
|
| virtual | ~RCircle () |
| virtual RVector | getClosestPointOnShape (const RVector &p, bool limited=true) const |
| virtual double | getDistanceTo (const RVector &point, bool limited=true) const |
| QList< RVector > | getIntersectionPoints (const RShape &other, bool limited=true, bool same=false) const |
| virtual RVector | getPointAtPercent (double p) const |
| virtual RVector | getVectorFromEndpointTo (const RVector &point) const |
| virtual bool | intersectsWith (const RShape &other, bool limited=true) const |
| virtual bool | isInterpolated () const |
| | Reimplement and return true if this shape relies on interpolation for geometrical operations such as finding intersection points.
|
| virtual bool | isOnShape (const RVector &point, bool limited=true, double tolerance=RDEFAULT_TOLERANCE_1E_MIN4) const |
| | RShape () |
| virtual bool | scale (double scaleFactor, const RVector ¢er=RVector()) |
| virtual bool | stretch (const RBox &area, const RVector &offset) |
| virtual bool | stretch (const RPolyline &area, const RVector &offset) |
| virtual | ~RShape () |
Additional Inherited Members |
| static QList< RVector > | getIntersectionPoints (const RShape &shape1, const RShape &shape2, bool limited=true, bool same=false) |
| static QList< RVector > | getIntersectionPointsAA (const RArc &arc1, const RArc &arc2, bool limited=true) |
| static QList< RVector > | getIntersectionPointsAC (const RArc &arc1, const RCircle &circle2, bool limited=true) |
| static QList< RVector > | getIntersectionPointsAE (const RArc &arc1, const REllipse &ellipse2, bool limited=true) |
| static QList< RVector > | getIntersectionPointsAX (const RArc &arc1, const RExplodable &explodable2, bool limited=true) |
| static QList< RVector > | getIntersectionPointsCC (const RCircle &circle1, const RCircle &circle2) |
| static QList< RVector > | getIntersectionPointsCE (const RCircle &circle1, const REllipse &ellipse2) |
| static QList< RVector > | getIntersectionPointsCX (const RCircle &circle1, const RExplodable &explodable2, bool limited=true) |
| static QList< RVector > | getIntersectionPointsEE (const REllipse &ellipse1, const REllipse &ellipse2) |
| static QList< RVector > | getIntersectionPointsEX (const REllipse &ellipse1, const RExplodable &explodable2, bool limited=true) |
| static QList< RVector > | getIntersectionPointsLA (const RLine &line1, const RArc &arc2, bool limited=true) |
| static QList< RVector > | getIntersectionPointsLC (const RLine &line1, const RCircle &circle2, bool limited=true) |
| static QList< RVector > | getIntersectionPointsLE (const RLine &line1, const REllipse &ellipse2, bool limited=true) |
| static QList< RVector > | getIntersectionPointsLL (const RLine &line1, const RLine &line2, bool limited=true) |
| static QList< RVector > | getIntersectionPointsLX (const RLine &line1, const RExplodable &explodable2, bool limited=true) |
| static QList< RVector > | getIntersectionPointsXX (const RExplodable &explodable1, const RExplodable &explodable2, bool limited=true, bool same=false) |
| static bool | order (QList< QList< QSharedPointer< RShape > > > &boundary) |
| | Orders the given list of loops into a list of closed loops in which all shapes are connected end to start point.
|
| virtual void | print (QDebug dbg) const |
Low-level mathematical representation of a circle.
- Scriptable:
- This class is wrapped for script environments.
- Shared Pointer Support:
- Script wrappers of this class support wrapping in QSharedPointer.
- Copyable:
- Script wrappers of this class should pass objects by reference.