Skip to content

RDimArcLengthEntity

Class in Entity Module
Header: #include <src/entity/RDimArcLengthEntity.h>
Inherits: RDimAngularEntity

Arc length dimension entity class.

Scriptable: This class is available in script environments.

Shared Pointer Support: Objects can be used in QSharedPointer.

RDimArcLengthEntity(RDocument *document, const RDimArcLengthData &data)
virtual ~RDimArcLengthEntity()
virtual QSharedPointer< RObject > clone() const
QSharedPointer< RDimArcLengthEntity > cloneToDimArcLengthEntity() const
RVector getCenter() const
virtual RDimArcLengthData & getData()
virtual const RDimArcLengthData & getData() const
virtual QPair< QVariant, RPropertyAttributes > getProperty(RPropertyTypeId &propertyTypeId, bool humanReadable=false, bool noAttributes=false, bool showOnRequest=false)
void setCenter(const RVector &p)
void setData(RDimArcLengthData &d)
virtual bool setProperty(RPropertyTypeId propertyTypeId, const QVariant &value, RTransaction *transaction=NULL)
Sets the given property to the given value.
static RS::EntityType getRtti()
static QSet< RPropertyTypeId > getStaticPropertyTypeIds()
static void init()
static RPropertyTypeId PropertyArchTick
static RPropertyTypeId PropertyArrow1Flipped
static RPropertyTypeId PropertyArrow2Flipped
static RPropertyTypeId PropertyAutoTextPos
static RPropertyTypeId PropertyBlock
static RPropertyTypeId PropertyCenterX
static RPropertyTypeId PropertyCenterY
static RPropertyTypeId PropertyCenterZ
static RPropertyTypeId PropertyColor
static RPropertyTypeId PropertyCustom
static RPropertyTypeId PropertyDimArcPositionX
static RPropertyTypeId PropertyDimArcPositionY
static RPropertyTypeId PropertyDimArcPositionZ
static RPropertyTypeId PropertyDimArcSymbolType
static RPropertyTypeId PropertyDimasz
static RPropertyTypeId PropertyDimBlockName
static RPropertyTypeId PropertyDimclrt
static RPropertyTypeId PropertyDimdec
static RPropertyTypeId PropertyDimdsep
static RPropertyTypeId PropertyDimexe
static RPropertyTypeId PropertyDimexo
static RPropertyTypeId PropertyDimgap
static RPropertyTypeId PropertyDimlfac
static RPropertyTypeId PropertyDimlunit
static RPropertyTypeId PropertyDimscale
static RPropertyTypeId PropertyDimtad
static RPropertyTypeId PropertyDimtih
static RPropertyTypeId PropertyDimtsz
static RPropertyTypeId PropertyDimtxt
static RPropertyTypeId PropertyDimzin
static RPropertyTypeId PropertyDisplayedColor
static RPropertyTypeId PropertyDrawOrder
static RPropertyTypeId PropertyExtensionLine1EndX
static RPropertyTypeId PropertyExtensionLine1EndY
static RPropertyTypeId PropertyExtensionLine1EndZ
static RPropertyTypeId PropertyExtensionLine2EndX
static RPropertyTypeId PropertyExtensionLine2EndY
static RPropertyTypeId PropertyExtensionLine2EndZ
static RPropertyTypeId PropertyExtLineFix
static RPropertyTypeId PropertyExtLineFixLength
static RPropertyTypeId PropertyFontName
static RPropertyTypeId PropertyHandle
static RPropertyTypeId PropertyLayer
static RPropertyTypeId PropertyLinetype
static RPropertyTypeId PropertyLinetypeScale
static RPropertyTypeId PropertyLineweight
static RPropertyTypeId PropertyLowerTolerance
static RPropertyTypeId PropertyMeasuredValue
static RPropertyTypeId PropertyMiddleOfTextX
static RPropertyTypeId PropertyMiddleOfTextY
static RPropertyTypeId PropertyMiddleOfTextZ
static RPropertyTypeId PropertyProtected
static RPropertyTypeId PropertyText
static RPropertyTypeId PropertyType
static RPropertyTypeId PropertyUpperTolerance
static RPropertyTypeId PropertyWorkingSet
virtual void print(QDebug dbg) const
Stream operator for QDebug.
RDimArcLengthData data

RDimArcLengthEntity::RDimArcLengthEntity(RDocument *document, const RDimArcLengthData &data)

virtual RDimArcLengthEntity::~RDimArcLengthEntity()

virtual

virtual QSharedPointer< RObject > RDimArcLengthEntity::clone() const

virtual inline const

Reimplemented from clone.

QSharedPointer< RDimArcLengthEntity > RDimArcLengthEntity::cloneToDimArcLengthEntity() const

inline const

RVector RDimArcLengthEntity::getCenter() const

inline const

virtual RDimArcLengthData & RDimArcLengthEntity::getData()

virtual inline

Returns: Reference to the data object of the entity.

Reimplemented from getData.

virtual const RDimArcLengthData & RDimArcLengthEntity::getData() const

virtual inline const

Returns: Const reference to the data object of the entity.

Reimplemented from getData.

virtual QPair< QVariant, RPropertyAttributes > RDimArcLengthEntity::getProperty(RPropertyTypeId &propertyTypeId, bool humanReadable=false, bool noAttributes=false, bool showOnRequest=false)

virtual

Returns: The value and attributes of the given property or an invalid property if this property owner has no property with the given ID.

Reimplemented from getProperty.

void RDimArcLengthEntity::setCenter(const RVector &p)

inline

void RDimArcLengthEntity::setData(RDimArcLengthData &d)

inline

virtual bool RDimArcLengthEntity::setProperty(RPropertyTypeId propertyTypeId, const QVariant &value, RTransaction *transaction=NULL)

virtual

Sets the given property to the given value.

If this property owner does not know a property with that ID, it is up to the property owner what happens. The property might be added into a list of dynamic properties or dropped.

Returns: True if the property owner was modified in any way, false otherwise.

Reimplemented from setProperty.

static RS::EntityType RDimArcLengthEntity::getRtti()

static inline

static QSet< RPropertyTypeId > RDimArcLengthEntity::getStaticPropertyTypeIds()

static inline

static void RDimArcLengthEntity::init()

static

static RPropertyTypeId RDimArcLengthEntity::PropertyArchTick

static

static RPropertyTypeId RDimArcLengthEntity::PropertyArrow1Flipped

static

static RPropertyTypeId RDimArcLengthEntity::PropertyArrow2Flipped

static

static RPropertyTypeId RDimArcLengthEntity::PropertyAutoTextPos

static

static RPropertyTypeId RDimArcLengthEntity::PropertyBlock

static

static RPropertyTypeId RDimArcLengthEntity::PropertyCenterX

static

static RPropertyTypeId RDimArcLengthEntity::PropertyCenterY

static

static RPropertyTypeId RDimArcLengthEntity::PropertyCenterZ

static

static RPropertyTypeId RDimArcLengthEntity::PropertyColor

static

static RPropertyTypeId RDimArcLengthEntity::PropertyCustom

static

All rights reserved.

This file is part of the QCAD project.

QCAD is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

QCAD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with QCAD.

static RPropertyTypeId RDimArcLengthEntity::PropertyDimArcPositionX

static

static RPropertyTypeId RDimArcLengthEntity::PropertyDimArcPositionY

static

static RPropertyTypeId RDimArcLengthEntity::PropertyDimArcPositionZ

static

static RPropertyTypeId RDimArcLengthEntity::PropertyDimArcSymbolType

static

static RPropertyTypeId RDimArcLengthEntity::PropertyDimasz

static

static RPropertyTypeId RDimArcLengthEntity::PropertyDimBlockName

static

static RPropertyTypeId RDimArcLengthEntity::PropertyDimclrt

static

static RPropertyTypeId RDimArcLengthEntity::PropertyDimdec

static

static RPropertyTypeId RDimArcLengthEntity::PropertyDimdsep

static

static RPropertyTypeId RDimArcLengthEntity::PropertyDimexe

static

static RPropertyTypeId RDimArcLengthEntity::PropertyDimexo

static

static RPropertyTypeId RDimArcLengthEntity::PropertyDimgap

static

static RPropertyTypeId RDimArcLengthEntity::PropertyDimlfac

static

static RPropertyTypeId RDimArcLengthEntity::PropertyDimlunit

static

static RPropertyTypeId RDimArcLengthEntity::PropertyDimscale

static

static RPropertyTypeId RDimArcLengthEntity::PropertyDimtad

static

static RPropertyTypeId RDimArcLengthEntity::PropertyDimtih

static

static RPropertyTypeId RDimArcLengthEntity::PropertyDimtsz

static

static RPropertyTypeId RDimArcLengthEntity::PropertyDimtxt

static

static RPropertyTypeId RDimArcLengthEntity::PropertyDimzin

static

static RPropertyTypeId RDimArcLengthEntity::PropertyDisplayedColor

static

static RPropertyTypeId RDimArcLengthEntity::PropertyDrawOrder

static

static RPropertyTypeId RDimArcLengthEntity::PropertyExtensionLine1EndX

static

static RPropertyTypeId RDimArcLengthEntity::PropertyExtensionLine1EndY

static

static RPropertyTypeId RDimArcLengthEntity::PropertyExtensionLine1EndZ

static

static RPropertyTypeId RDimArcLengthEntity::PropertyExtensionLine2EndX

static

static RPropertyTypeId RDimArcLengthEntity::PropertyExtensionLine2EndY

static

static RPropertyTypeId RDimArcLengthEntity::PropertyExtensionLine2EndZ

static

static RPropertyTypeId RDimArcLengthEntity::PropertyExtLineFix

static

static RPropertyTypeId RDimArcLengthEntity::PropertyExtLineFixLength

static

static RPropertyTypeId RDimArcLengthEntity::PropertyFontName

static

static RPropertyTypeId RDimArcLengthEntity::PropertyHandle

static

static RPropertyTypeId RDimArcLengthEntity::PropertyLayer

static

static RPropertyTypeId RDimArcLengthEntity::PropertyLinetype

static

static RPropertyTypeId RDimArcLengthEntity::PropertyLinetypeScale

static

static RPropertyTypeId RDimArcLengthEntity::PropertyLineweight

static

static RPropertyTypeId RDimArcLengthEntity::PropertyLowerTolerance

static

static RPropertyTypeId RDimArcLengthEntity::PropertyMeasuredValue

static

static RPropertyTypeId RDimArcLengthEntity::PropertyMiddleOfTextX

static

static RPropertyTypeId RDimArcLengthEntity::PropertyMiddleOfTextY

static

static RPropertyTypeId RDimArcLengthEntity::PropertyMiddleOfTextZ

static

static RPropertyTypeId RDimArcLengthEntity::PropertyProtected

static

static RPropertyTypeId RDimArcLengthEntity::PropertyText

static

static RPropertyTypeId RDimArcLengthEntity::PropertyType

static

static RPropertyTypeId RDimArcLengthEntity::PropertyUpperTolerance

static

static RPropertyTypeId RDimArcLengthEntity::PropertyWorkingSet

static

virtual void RDimArcLengthEntity::print(QDebug dbg) const

virtual const protected

Stream operator for QDebug.

Reimplemented from print.

RDimArcLengthData RDimArcLengthEntity::data

protected