Describes a radial dimension measures of arcs and circles. More...
#include <cadex/Drawing/Dimension.hxx>
Public Member Functions | |
RadialDimension () | |
Constructor. | |
RadialDimension (const Geom::Point2d &theCenterPoint, const Geom::Point2d &theChordPoint, const Geom::Point2d &theDimensionEndPoint, double theMeasurementValue) | |
Constructor. | |
const Geom::Point2d & | CenterPoint () const |
Returns the central point of the radial dimension. | |
void | SetCenterPoint (const Geom::Point2d &theCenterPoint) |
Sets the central point of the radial dimension. | |
const Geom::Point2d & | ChordPoint () const |
Returns the chord point of the radial dimension. | |
void | SetChordPoint (const Geom::Point2d &theChordPoint) |
Sets the chord point of the radial dimension. | |
const Geom::Point2d & | DimensionEndPoint () const |
Returns the end of the dimension line. | |
void | SetDimensionEndPoint (const Geom::Point2d &theDimensionEndPoint) |
Sets the end of the dimension line. | |
bool | StartsFromCenter () const |
Returns true if the radius dimension line starts from the center of the measured entity. | |
void | SetStartsFromCenter (bool theStartsFromCenter) const |
![]() | |
ArrowType | FirstArrowType () const |
Returns type of the first arrow of dimension. | |
void | SetFirstArrowType (ArrowType theFirstArrowType) |
Sets type of the first arrow of dimension. | |
ArrowType | SecondArrowType () const |
Returns type of the second arrow of dimension. | |
void | SetSecondArrowType (ArrowType theSecondArrowType) |
Sets type of the second arrow of dimension. | |
ArrowheadPlacementType | ArrowheadPlacement () const |
Returns the arrowhead placement. | |
void | SetArrowheadPlacement (ArrowheadPlacementType theArrowheadPlacement) |
Sets the arrowhead placement. | |
bool | AlignTextHorizontally () const |
Returns true if the measurement text is align horizontally. | |
void | SetAlignTextHorizontally (bool theAlignTextHorizontally) |
double | MeasurementValue () const |
Returns the actual measurement. | |
void | SetMeasurementValue (double theMeasurementValue) |
Sets the actual measurement. | |
cadex::Drawing::Text | Text () const |
Returns the dimension text. | |
void | SetText (const cadex::Drawing::Text &theText) |
Sets the dimension text. | |
![]() | |
void | SetUuid (const Uuid &theUuid) |
cadex::Uuid | Uuid () const |
void | Accept (ElementVisitor &theVisitor) const |
![]() | |
size_t | Id () const |
Return unique identifier of public object. | |
internal::BaseObjectImpl * | Impl () const |
bool | IsNull () const |
operator bool () const | |
template<typename T > | |
bool | IsOfType () const |
template<typename T > | |
T * | Impl () const |
Reserved for internal use. | |
Static Public Member Functions | |
static bool | CompareType (const BaseObject &theObject) |
![]() | |
static bool | CompareType (const BaseObject &theObject) |
![]() | |
static bool | CompareType (const BaseObject &theObject) |
Additional Inherited Members | |
![]() | |
enum class | ArrowType { Undefined = 0 , ClosedFilled = 1 , ClosedBlank = 2 , Closed = 3 , Dot = 4 , ArchitecturalTick = 5 , Oblique = 6 , Open = 7 , OriginIndicator = 8 , OriginIndicator2 = 9 , RightAngle = 10 , Open30 = 11 , DotSmall = 12 , DotBlank = 13 , DotSmallBlank = 14 , Box = 15 , BoxFilled = 16 , DatumTriangle = 17 , DatumTriangleFilled = 18 , Integral = 19 } |
the arrow type. More... | |
enum class | ArrowheadPlacementType { Internal , External } |
![]() | |
typedef std::shared_ptr< internal::BaseObjectImpl > | ImplType |
![]() | |
Dimension (const ImplType &theImpl) | |
![]() | |
Element (const ImplType &theImpl) | |
![]() | |
BaseObject (const ImplType &theImpl) | |
Describes a radial dimension measures of arcs and circles.
CenterPoint is the center of the circle arc, which the dimension describes. ChordPoint lies on the said circle arc. DimensionEndPoint defines the length of the leader of this dimension.