|
QCAD
Open Source 2D CAD
|
Go to the documentation of this file.
74 virtual QList<QSharedPointer<RShape> >
getShapes(
const RBox& queryBox =
RDEFAULT_RBOX,
bool ignoreComplex =
false,
bool segment =
false)
const {
76 Q_UNUSED(ignoreComplex)
79 return QList<QSharedPointer<RShape> >() <<
80 QSharedPointer<RShape>(
new RCircle(*
this));
RCircleData data
Definition: RCircleEntity.h:117
double getRadius() const
Definition: RCircleData.h:62
virtual RShape * castToShape()
Definition: RCircleData.h:70
double getRadius() const
Definition: RCircle.cpp:110
Circle entity.
Definition: RCircleEntity.h:38
virtual QList< RRefPoint > getReferencePoints(RS::ProjectionRenderingHint hint=RS::RenderTop) const
Definition: REntity.h:456
RCircle()
Copyright (c) 2011-2018 by Andrew Mustun.
Definition: RCircle.cpp:30
Represents a 3d vector (x/y/z).
Definition: RVector.h:46
EntityType
Entity types used for property handling / filtering.
Definition: RS.h:125
RDocument * document
Definition: RObject.h:341
virtual QList< QSharedPointer< RShape > > getShapes(const RBox &queryBox=RDEFAULT_RBOX, bool ignoreComplex=false, bool segment=false) const
Definition: RCircleData.h:74
@ EntityCircle
Circle.
Definition: RS.h:150
#define QCADENTITY_EXPORT
Definition: entity_global.h:10
Interface for geometrical shape classes.
Definition: RShape.h:72
virtual bool moveReferencePoint(const RVector &referencePoint, const RVector &targetPoint, Qt::KeyboardModifiers modifiers=Qt::NoModifier)
Moves the given reference point to the given target point or does nothing if this entity has no refer...
Definition: REntity.h:535
Q_DECLARE_METATYPE(RMath *)
Base class for all entity data classes.
Definition: REntityData.h:67
RCircle getCircle()
Definition: RCircleData.h:55
A graphics document contains and owns entities, layers, user coordinate systems, variables,...
Definition: RDocument.h:72
RVector getCenter() const
Definition: RCircle.cpp:102
virtual RS::EntityType getType() const
Definition: RCircleData.h:52
ProjectionRenderingHint
Sets the current rendering hint for exports.
Definition: RS.h:185
Low-level mathematical representation of a circle.
Definition: RCircle.h:40
#define RDEFAULT_RBOX
Definition: RBox.h:32
Copyright (c) 2011-2018 by Andrew Mustun.
Definition: RCircleData.h:40
@ RenderTop
Definition: RS.h:186
Represents a box e.g.
Definition: RBox.h:43
RVector getCenter() const
Definition: RCircleData.h:59