RDimArcLengthEntity
Class in Entity Module
Header: #include <src/entity/RDimArcLengthEntity.h>
Inherits: RDimAngularEntity
Description
Section titled “Description”Arc length dimension entity class.
Scriptable: This class is available in script environments.
Shared Pointer Support: Objects can be used in QSharedPointer.
Public Functions
Section titled “Public Functions”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 Public Functions
Section titled “Static Public Functions”| static RS::EntityType | getRtti() |
| static QSet< RPropertyTypeId > | getStaticPropertyTypeIds() |
| static void | init() |
Static Public Attributes
Section titled “Static Public Attributes”Protected Functions
Section titled “Protected Functions”| virtual void | print(QDebug dbg) constStream operator for QDebug. |
Protected Attributes
Section titled “Protected Attributes”| RDimArcLengthData | data |
Member Documentation
Section titled “Member Documentation”RDimArcLengthEntity
Section titled “RDimArcLengthEntity”RDimArcLengthEntity::RDimArcLengthEntity(RDocument *document, const RDimArcLengthData &data)~RDimArcLengthEntity
Section titled “~RDimArcLengthEntity”virtual RDimArcLengthEntity::~RDimArcLengthEntity()virtual
virtual QSharedPointer< RObject > RDimArcLengthEntity::clone() constvirtual inline const
Reimplemented from clone.
cloneToDimArcLengthEntity
Section titled “cloneToDimArcLengthEntity”QSharedPointer< RDimArcLengthEntity > RDimArcLengthEntity::cloneToDimArcLengthEntity() constinline const
getCenter
Section titled “getCenter”RVector RDimArcLengthEntity::getCenter() constinline const
getData
Section titled “getData”virtual RDimArcLengthData & RDimArcLengthEntity::getData()virtual inline
Returns: Reference to the data object of the entity.
Reimplemented from getData.
getData
Section titled “getData”virtual const RDimArcLengthData & RDimArcLengthEntity::getData() constvirtual inline const
Returns: Const reference to the data object of the entity.
Reimplemented from getData.
getProperty
Section titled “getProperty”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.
setCenter
Section titled “setCenter”void RDimArcLengthEntity::setCenter(const RVector &p)inline
setData
Section titled “setData”void RDimArcLengthEntity::setData(RDimArcLengthData &d)inline
setProperty
Section titled “setProperty”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.
getRtti
Section titled “getRtti”static RS::EntityType RDimArcLengthEntity::getRtti()static inline
getStaticPropertyTypeIds
Section titled “getStaticPropertyTypeIds”static QSet< RPropertyTypeId > RDimArcLengthEntity::getStaticPropertyTypeIds()static inline
static void RDimArcLengthEntity::init()static
PropertyArchTick
Section titled “PropertyArchTick”static RPropertyTypeId RDimArcLengthEntity::PropertyArchTickstatic
PropertyArrow1Flipped
Section titled “PropertyArrow1Flipped”static RPropertyTypeId RDimArcLengthEntity::PropertyArrow1Flippedstatic
PropertyArrow2Flipped
Section titled “PropertyArrow2Flipped”static RPropertyTypeId RDimArcLengthEntity::PropertyArrow2Flippedstatic
PropertyAutoTextPos
Section titled “PropertyAutoTextPos”static RPropertyTypeId RDimArcLengthEntity::PropertyAutoTextPosstatic
PropertyBlock
Section titled “PropertyBlock”static RPropertyTypeId RDimArcLengthEntity::PropertyBlockstatic
PropertyCenterX
Section titled “PropertyCenterX”static RPropertyTypeId RDimArcLengthEntity::PropertyCenterXstatic
PropertyCenterY
Section titled “PropertyCenterY”static RPropertyTypeId RDimArcLengthEntity::PropertyCenterYstatic
PropertyCenterZ
Section titled “PropertyCenterZ”static RPropertyTypeId RDimArcLengthEntity::PropertyCenterZstatic
PropertyColor
Section titled “PropertyColor”static RPropertyTypeId RDimArcLengthEntity::PropertyColorstatic
PropertyCustom
Section titled “PropertyCustom”static RPropertyTypeId RDimArcLengthEntity::PropertyCustomstatic
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.
PropertyDimArcPositionX
Section titled “PropertyDimArcPositionX”static RPropertyTypeId RDimArcLengthEntity::PropertyDimArcPositionXstatic
PropertyDimArcPositionY
Section titled “PropertyDimArcPositionY”static RPropertyTypeId RDimArcLengthEntity::PropertyDimArcPositionYstatic
PropertyDimArcPositionZ
Section titled “PropertyDimArcPositionZ”static RPropertyTypeId RDimArcLengthEntity::PropertyDimArcPositionZstatic
PropertyDimArcSymbolType
Section titled “PropertyDimArcSymbolType”static RPropertyTypeId RDimArcLengthEntity::PropertyDimArcSymbolTypestatic
PropertyDimasz
Section titled “PropertyDimasz”static RPropertyTypeId RDimArcLengthEntity::PropertyDimaszstatic
PropertyDimBlockName
Section titled “PropertyDimBlockName”static RPropertyTypeId RDimArcLengthEntity::PropertyDimBlockNamestatic
PropertyDimclrt
Section titled “PropertyDimclrt”static RPropertyTypeId RDimArcLengthEntity::PropertyDimclrtstatic
PropertyDimdec
Section titled “PropertyDimdec”static RPropertyTypeId RDimArcLengthEntity::PropertyDimdecstatic
PropertyDimdsep
Section titled “PropertyDimdsep”static RPropertyTypeId RDimArcLengthEntity::PropertyDimdsepstatic
PropertyDimexe
Section titled “PropertyDimexe”static RPropertyTypeId RDimArcLengthEntity::PropertyDimexestatic
PropertyDimexo
Section titled “PropertyDimexo”static RPropertyTypeId RDimArcLengthEntity::PropertyDimexostatic
PropertyDimgap
Section titled “PropertyDimgap”static RPropertyTypeId RDimArcLengthEntity::PropertyDimgapstatic
PropertyDimlfac
Section titled “PropertyDimlfac”static RPropertyTypeId RDimArcLengthEntity::PropertyDimlfacstatic
PropertyDimlunit
Section titled “PropertyDimlunit”static RPropertyTypeId RDimArcLengthEntity::PropertyDimlunitstatic
PropertyDimscale
Section titled “PropertyDimscale”static RPropertyTypeId RDimArcLengthEntity::PropertyDimscalestatic
PropertyDimtad
Section titled “PropertyDimtad”static RPropertyTypeId RDimArcLengthEntity::PropertyDimtadstatic
PropertyDimtih
Section titled “PropertyDimtih”static RPropertyTypeId RDimArcLengthEntity::PropertyDimtihstatic
PropertyDimtsz
Section titled “PropertyDimtsz”static RPropertyTypeId RDimArcLengthEntity::PropertyDimtszstatic
PropertyDimtxt
Section titled “PropertyDimtxt”static RPropertyTypeId RDimArcLengthEntity::PropertyDimtxtstatic
PropertyDimzin
Section titled “PropertyDimzin”static RPropertyTypeId RDimArcLengthEntity::PropertyDimzinstatic
PropertyDisplayedColor
Section titled “PropertyDisplayedColor”static RPropertyTypeId RDimArcLengthEntity::PropertyDisplayedColorstatic
PropertyDrawOrder
Section titled “PropertyDrawOrder”static RPropertyTypeId RDimArcLengthEntity::PropertyDrawOrderstatic
PropertyExtensionLine1EndX
Section titled “PropertyExtensionLine1EndX”static RPropertyTypeId RDimArcLengthEntity::PropertyExtensionLine1EndXstatic
PropertyExtensionLine1EndY
Section titled “PropertyExtensionLine1EndY”static RPropertyTypeId RDimArcLengthEntity::PropertyExtensionLine1EndYstatic
PropertyExtensionLine1EndZ
Section titled “PropertyExtensionLine1EndZ”static RPropertyTypeId RDimArcLengthEntity::PropertyExtensionLine1EndZstatic
PropertyExtensionLine2EndX
Section titled “PropertyExtensionLine2EndX”static RPropertyTypeId RDimArcLengthEntity::PropertyExtensionLine2EndXstatic
PropertyExtensionLine2EndY
Section titled “PropertyExtensionLine2EndY”static RPropertyTypeId RDimArcLengthEntity::PropertyExtensionLine2EndYstatic
PropertyExtensionLine2EndZ
Section titled “PropertyExtensionLine2EndZ”static RPropertyTypeId RDimArcLengthEntity::PropertyExtensionLine2EndZstatic
PropertyExtLineFix
Section titled “PropertyExtLineFix”static RPropertyTypeId RDimArcLengthEntity::PropertyExtLineFixstatic
PropertyExtLineFixLength
Section titled “PropertyExtLineFixLength”static RPropertyTypeId RDimArcLengthEntity::PropertyExtLineFixLengthstatic
PropertyFontName
Section titled “PropertyFontName”static RPropertyTypeId RDimArcLengthEntity::PropertyFontNamestatic
PropertyHandle
Section titled “PropertyHandle”static RPropertyTypeId RDimArcLengthEntity::PropertyHandlestatic
PropertyLayer
Section titled “PropertyLayer”static RPropertyTypeId RDimArcLengthEntity::PropertyLayerstatic
PropertyLinetype
Section titled “PropertyLinetype”static RPropertyTypeId RDimArcLengthEntity::PropertyLinetypestatic
PropertyLinetypeScale
Section titled “PropertyLinetypeScale”static RPropertyTypeId RDimArcLengthEntity::PropertyLinetypeScalestatic
PropertyLineweight
Section titled “PropertyLineweight”static RPropertyTypeId RDimArcLengthEntity::PropertyLineweightstatic
PropertyLowerTolerance
Section titled “PropertyLowerTolerance”static RPropertyTypeId RDimArcLengthEntity::PropertyLowerTolerancestatic
PropertyMeasuredValue
Section titled “PropertyMeasuredValue”static RPropertyTypeId RDimArcLengthEntity::PropertyMeasuredValuestatic
PropertyMiddleOfTextX
Section titled “PropertyMiddleOfTextX”static RPropertyTypeId RDimArcLengthEntity::PropertyMiddleOfTextXstatic
PropertyMiddleOfTextY
Section titled “PropertyMiddleOfTextY”static RPropertyTypeId RDimArcLengthEntity::PropertyMiddleOfTextYstatic
PropertyMiddleOfTextZ
Section titled “PropertyMiddleOfTextZ”static RPropertyTypeId RDimArcLengthEntity::PropertyMiddleOfTextZstatic
PropertyProtected
Section titled “PropertyProtected”static RPropertyTypeId RDimArcLengthEntity::PropertyProtectedstatic
PropertyText
Section titled “PropertyText”static RPropertyTypeId RDimArcLengthEntity::PropertyTextstatic
PropertyType
Section titled “PropertyType”static RPropertyTypeId RDimArcLengthEntity::PropertyTypestatic
PropertyUpperTolerance
Section titled “PropertyUpperTolerance”static RPropertyTypeId RDimArcLengthEntity::PropertyUpperTolerancestatic
PropertyWorkingSet
Section titled “PropertyWorkingSet”static RPropertyTypeId RDimArcLengthEntity::PropertyWorkingSetstatic
virtual void RDimArcLengthEntity::print(QDebug dbg) constvirtual const protected
Stream operator for QDebug.
Reimplemented from print.
RDimArcLengthData RDimArcLengthEntity::dataprotected