RDimAngular2LEntity
Class in Entity Module
Header: #include <src/entity/RDimAngular2LEntity.h>
Inherits: RDimAngularEntity
Description
Section titled “Description”Angular dimension entity from 2 lines class.
Scriptable: This class is available in script environments.
Shared Pointer Support: Objects can be used in QSharedPointer.
Public Functions
Section titled “Public Functions”RDimAngular2LEntity(RDocument *document, const RDimAngular2LData &data) |
|
| virtual | ~RDimAngular2LEntity() |
| virtual QSharedPointer< RObject > | clone() const |
| QSharedPointer< RDimAngular2LEntity > | cloneToDimAngular2LEntity() const |
| RVector | getCenter() const |
| virtual RDimAngular2LData & | getData() |
| virtual const RDimAngular2LData & | getData() const |
| RVector | getExtensionLine1Start() const |
| RVector | getExtensionLine2Start() const |
| virtual QPair< QVariant, RPropertyAttributes > | getProperty(RPropertyTypeId &propertyTypeId, bool humanReadable=false, bool noAttributes=false, bool showOnRequest=false) |
| void | setData(RDimAngular2LData &d) |
| void | setExtensionLine1Start(const RVector &p) |
| void | setExtensionLine2Start(const RVector &p) |
| 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”| RDimAngular2LData | data |
Member Documentation
Section titled “Member Documentation”RDimAngular2LEntity
Section titled “RDimAngular2LEntity”RDimAngular2LEntity::RDimAngular2LEntity(RDocument *document, const RDimAngular2LData &data)~RDimAngular2LEntity
Section titled “~RDimAngular2LEntity”virtual RDimAngular2LEntity::~RDimAngular2LEntity()virtual
virtual QSharedPointer< RObject > RDimAngular2LEntity::clone() constvirtual inline const
Reimplemented from clone.
cloneToDimAngular2LEntity
Section titled “cloneToDimAngular2LEntity”QSharedPointer< RDimAngular2LEntity > RDimAngular2LEntity::cloneToDimAngular2LEntity() constinline const
getCenter
Section titled “getCenter”RVector RDimAngular2LEntity::getCenter() constinline const
getData
Section titled “getData”virtual RDimAngular2LData & RDimAngular2LEntity::getData()virtual inline
Returns: Reference to the data object of the entity.
Reimplemented from getData.
getData
Section titled “getData”virtual const RDimAngular2LData & RDimAngular2LEntity::getData() constvirtual inline const
Returns: Const reference to the data object of the entity.
Reimplemented from getData.
getExtensionLine1Start
Section titled “getExtensionLine1Start”RVector RDimAngular2LEntity::getExtensionLine1Start() constinline const
getExtensionLine2Start
Section titled “getExtensionLine2Start”RVector RDimAngular2LEntity::getExtensionLine2Start() constinline const
getProperty
Section titled “getProperty”virtual QPair< QVariant, RPropertyAttributes > RDimAngular2LEntity::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.
setData
Section titled “setData”void RDimAngular2LEntity::setData(RDimAngular2LData &d)inline
setExtensionLine1Start
Section titled “setExtensionLine1Start”void RDimAngular2LEntity::setExtensionLine1Start(const RVector &p)inline
setExtensionLine2Start
Section titled “setExtensionLine2Start”void RDimAngular2LEntity::setExtensionLine2Start(const RVector &p)inline
setProperty
Section titled “setProperty”virtual bool RDimAngular2LEntity::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 RDimAngular2LEntity::getRtti()static inline
getStaticPropertyTypeIds
Section titled “getStaticPropertyTypeIds”static QSet< RPropertyTypeId > RDimAngular2LEntity::getStaticPropertyTypeIds()static inline
static void RDimAngular2LEntity::init()static
PropertyArchTick
Section titled “PropertyArchTick”static RPropertyTypeId RDimAngular2LEntity::PropertyArchTickstatic
PropertyArrow1Flipped
Section titled “PropertyArrow1Flipped”static RPropertyTypeId RDimAngular2LEntity::PropertyArrow1Flippedstatic
PropertyArrow2Flipped
Section titled “PropertyArrow2Flipped”static RPropertyTypeId RDimAngular2LEntity::PropertyArrow2Flippedstatic
PropertyAutoTextPos
Section titled “PropertyAutoTextPos”static RPropertyTypeId RDimAngular2LEntity::PropertyAutoTextPosstatic
PropertyBlock
Section titled “PropertyBlock”static RPropertyTypeId RDimAngular2LEntity::PropertyBlockstatic
PropertyColor
Section titled “PropertyColor”static RPropertyTypeId RDimAngular2LEntity::PropertyColorstatic
PropertyCustom
Section titled “PropertyCustom”static RPropertyTypeId RDimAngular2LEntity::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.
PropertyDimadec
Section titled “PropertyDimadec”static RPropertyTypeId RDimAngular2LEntity::PropertyDimadecstatic
PropertyDimArcPositionX
Section titled “PropertyDimArcPositionX”static RPropertyTypeId RDimAngular2LEntity::PropertyDimArcPositionXstatic
PropertyDimArcPositionY
Section titled “PropertyDimArcPositionY”static RPropertyTypeId RDimAngular2LEntity::PropertyDimArcPositionYstatic
PropertyDimArcPositionZ
Section titled “PropertyDimArcPositionZ”static RPropertyTypeId RDimAngular2LEntity::PropertyDimArcPositionZstatic
PropertyDimasz
Section titled “PropertyDimasz”static RPropertyTypeId RDimAngular2LEntity::PropertyDimaszstatic
PropertyDimaunit
Section titled “PropertyDimaunit”static RPropertyTypeId RDimAngular2LEntity::PropertyDimaunitstatic
PropertyDimazin
Section titled “PropertyDimazin”static RPropertyTypeId RDimAngular2LEntity::PropertyDimazinstatic
PropertyDimBlockName
Section titled “PropertyDimBlockName”static RPropertyTypeId RDimAngular2LEntity::PropertyDimBlockNamestatic
PropertyDimclrt
Section titled “PropertyDimclrt”static RPropertyTypeId RDimAngular2LEntity::PropertyDimclrtstatic
PropertyDimdsep
Section titled “PropertyDimdsep”static RPropertyTypeId RDimAngular2LEntity::PropertyDimdsepstatic
PropertyDimexe
Section titled “PropertyDimexe”static RPropertyTypeId RDimAngular2LEntity::PropertyDimexestatic
PropertyDimexo
Section titled “PropertyDimexo”static RPropertyTypeId RDimAngular2LEntity::PropertyDimexostatic
PropertyDimgap
Section titled “PropertyDimgap”static RPropertyTypeId RDimAngular2LEntity::PropertyDimgapstatic
PropertyDimscale
Section titled “PropertyDimscale”static RPropertyTypeId RDimAngular2LEntity::PropertyDimscalestatic
PropertyDimtad
Section titled “PropertyDimtad”static RPropertyTypeId RDimAngular2LEntity::PropertyDimtadstatic
PropertyDimtih
Section titled “PropertyDimtih”static RPropertyTypeId RDimAngular2LEntity::PropertyDimtihstatic
PropertyDimtsz
Section titled “PropertyDimtsz”static RPropertyTypeId RDimAngular2LEntity::PropertyDimtszstatic
PropertyDimtxt
Section titled “PropertyDimtxt”static RPropertyTypeId RDimAngular2LEntity::PropertyDimtxtstatic
PropertyDisplayedColor
Section titled “PropertyDisplayedColor”static RPropertyTypeId RDimAngular2LEntity::PropertyDisplayedColorstatic
PropertyDrawOrder
Section titled “PropertyDrawOrder”static RPropertyTypeId RDimAngular2LEntity::PropertyDrawOrderstatic
PropertyExtensionLine1EndX
Section titled “PropertyExtensionLine1EndX”static RPropertyTypeId RDimAngular2LEntity::PropertyExtensionLine1EndXstatic
PropertyExtensionLine1EndY
Section titled “PropertyExtensionLine1EndY”static RPropertyTypeId RDimAngular2LEntity::PropertyExtensionLine1EndYstatic
PropertyExtensionLine1EndZ
Section titled “PropertyExtensionLine1EndZ”static RPropertyTypeId RDimAngular2LEntity::PropertyExtensionLine1EndZstatic
PropertyExtensionLine1StartX
Section titled “PropertyExtensionLine1StartX”static RPropertyTypeId RDimAngular2LEntity::PropertyExtensionLine1StartXstatic
PropertyExtensionLine1StartY
Section titled “PropertyExtensionLine1StartY”static RPropertyTypeId RDimAngular2LEntity::PropertyExtensionLine1StartYstatic
PropertyExtensionLine1StartZ
Section titled “PropertyExtensionLine1StartZ”static RPropertyTypeId RDimAngular2LEntity::PropertyExtensionLine1StartZstatic
PropertyExtensionLine2EndX
Section titled “PropertyExtensionLine2EndX”static RPropertyTypeId RDimAngular2LEntity::PropertyExtensionLine2EndXstatic
PropertyExtensionLine2EndY
Section titled “PropertyExtensionLine2EndY”static RPropertyTypeId RDimAngular2LEntity::PropertyExtensionLine2EndYstatic
PropertyExtensionLine2EndZ
Section titled “PropertyExtensionLine2EndZ”static RPropertyTypeId RDimAngular2LEntity::PropertyExtensionLine2EndZstatic
PropertyExtensionLine2StartX
Section titled “PropertyExtensionLine2StartX”static RPropertyTypeId RDimAngular2LEntity::PropertyExtensionLine2StartXstatic
PropertyExtensionLine2StartY
Section titled “PropertyExtensionLine2StartY”static RPropertyTypeId RDimAngular2LEntity::PropertyExtensionLine2StartYstatic
PropertyExtensionLine2StartZ
Section titled “PropertyExtensionLine2StartZ”static RPropertyTypeId RDimAngular2LEntity::PropertyExtensionLine2StartZstatic
PropertyExtLineFix
Section titled “PropertyExtLineFix”static RPropertyTypeId RDimAngular2LEntity::PropertyExtLineFixstatic
PropertyExtLineFixLength
Section titled “PropertyExtLineFixLength”static RPropertyTypeId RDimAngular2LEntity::PropertyExtLineFixLengthstatic
PropertyFontName
Section titled “PropertyFontName”static RPropertyTypeId RDimAngular2LEntity::PropertyFontNamestatic
PropertyHandle
Section titled “PropertyHandle”static RPropertyTypeId RDimAngular2LEntity::PropertyHandlestatic
PropertyLayer
Section titled “PropertyLayer”static RPropertyTypeId RDimAngular2LEntity::PropertyLayerstatic
PropertyLinetype
Section titled “PropertyLinetype”static RPropertyTypeId RDimAngular2LEntity::PropertyLinetypestatic
PropertyLinetypeScale
Section titled “PropertyLinetypeScale”static RPropertyTypeId RDimAngular2LEntity::PropertyLinetypeScalestatic
PropertyLineweight
Section titled “PropertyLineweight”static RPropertyTypeId RDimAngular2LEntity::PropertyLineweightstatic
PropertyLowerTolerance
Section titled “PropertyLowerTolerance”static RPropertyTypeId RDimAngular2LEntity::PropertyLowerTolerancestatic
PropertyMeasuredValue
Section titled “PropertyMeasuredValue”static RPropertyTypeId RDimAngular2LEntity::PropertyMeasuredValuestatic
PropertyMiddleOfTextX
Section titled “PropertyMiddleOfTextX”static RPropertyTypeId RDimAngular2LEntity::PropertyMiddleOfTextXstatic
PropertyMiddleOfTextY
Section titled “PropertyMiddleOfTextY”static RPropertyTypeId RDimAngular2LEntity::PropertyMiddleOfTextYstatic
PropertyMiddleOfTextZ
Section titled “PropertyMiddleOfTextZ”static RPropertyTypeId RDimAngular2LEntity::PropertyMiddleOfTextZstatic
PropertyProtected
Section titled “PropertyProtected”static RPropertyTypeId RDimAngular2LEntity::PropertyProtectedstatic
PropertyText
Section titled “PropertyText”static RPropertyTypeId RDimAngular2LEntity::PropertyTextstatic
PropertyType
Section titled “PropertyType”static RPropertyTypeId RDimAngular2LEntity::PropertyTypestatic
PropertyUpperTolerance
Section titled “PropertyUpperTolerance”static RPropertyTypeId RDimAngular2LEntity::PropertyUpperTolerancestatic
PropertyWorkingSet
Section titled “PropertyWorkingSet”static RPropertyTypeId RDimAngular2LEntity::PropertyWorkingSetstatic
virtual void RDimAngular2LEntity::print(QDebug dbg) constvirtual const protected
Stream operator for QDebug.
Reimplemented from print.
RDimAngular2LData RDimAngular2LEntity::dataprotected