#include <hps.h>
Public Member Functions | |
| CircularArcKey () | |
| CircularArcKey (Key const &in_that) | |
| CircularArcKey (CircularArcKey const &in_that) | |
| CircularArcKey & | operator= (CircularArcKey const &in_that) |
| CircularArcKey (CircularArcKey &&in_that) | |
| CircularArcKey & | operator= (CircularArcKey &&in_that) |
| HPS::Type | ObjectType () const |
| void | Consume (CircularArcKit &in_kit) |
| void | Set (CircularArcKit const &in_kit) |
| void | Show (CircularArcKit &out_kit) const |
| CircularArcKey & | SetStart (Point const &in_start) |
| CircularArcKey & | SetMiddle (Point const &in_middle) |
| CircularArcKey & | SetEnd (Point const &in_end) |
| bool | ShowStart (Point &out_start) const |
| bool | ShowMiddle (Point &out_middle) const |
| bool | ShowEnd (Point &out_end) const |
Public Member Functions inherited from HPS::GeometryKey | |
| GeometryKey () | |
| GeometryKey (Key const &in_that) | |
| GeometryKey (GeometryKey const &in_that) | |
| GeometryKey & | operator= (GeometryKey const &in_that) |
| GeometryKey (GeometryKey &&in_that) | |
| GeometryKey & | operator= (GeometryKey &&in_that) |
| size_t | ShowReferrers (SegmentKeyArray &out_segments) const |
| size_t | ShowReferrers (ReferenceKeyArray &out_references) const |
| GeometryKey & | SetPriority (int in_priority) |
| GeometryKey & | UnsetPriority () |
| bool | ShowPriority (int &out_priority) const |
| GeometryKey & | SetUserData (intptr_t in_index, size_t in_bytes, byte const in_data[]) |
| GeometryKey & | SetUserData (intptr_t in_index, ByteArray const &in_data) |
| GeometryKey & | SetUserData (IntPtrTArray const &in_indices, ByteArrayArray const &in_data) |
| GeometryKey & | UnsetUserData (intptr_t in_index) |
| GeometryKey & | UnsetUserData (size_t in_count, intptr_t const in_indices[]) |
| GeometryKey & | UnsetUserData (IntPtrTArray const &in_indices) |
| GeometryKey & | UnsetAllUserData () |
| size_t | ShowUserDataCount () const |
| bool | ShowUserDataIndices (IntPtrTArray &out_indices) const |
| bool | ShowUserData (intptr_t in_index, ByteArray &out_data) const |
| bool | ShowUserData (IntPtrTArray &out_indices, ByteArrayArray &out_data) const |
| bool | ShowBoundings (BoundingKit &out_kit) const |
Public Member Functions inherited from HPS::Key | |
| Key () | |
| Key (Key const &in_that) | |
| Key (Control const &in_control) | |
| Key (Key &&in_that) | |
| Key & | operator= (Key &&in_that) |
| virtual | ~Key () |
| bool | HasOwner () const |
| SegmentKey | Up () const |
| SegmentKey | Owner () const |
| void | Delete () |
| void | MoveTo (SegmentKey const &in_new_owner) |
| Key | CopyTo (SegmentKey const &in_destination) const |
| Key & | operator= (Key const &in_that) |
| virtual void | Assign (Key const &in_that) |
| bool | Equals (Key const &in_that) const |
| bool | operator!= (Key const &in_that) const |
| bool | operator== (Key const &in_that) const |
| size_t | GetHash () const |
Public Member Functions inherited from HPS::Object | |
| Object & | operator= (Object const &other_object) |
| Object (Object &&in_that) | |
| Object & | operator= (Object &&in_that) |
| HPS::Type | Type () const |
| virtual bool | Empty () const |
| virtual void | Reset () |
| bool | HasType (HPS::Type in_mask) const |
| intptr_t | GetClassID () const |
| intptr_t | GetInstanceID () const |
Additional Inherited Members | |
Static Public Member Functions inherited from HPS::Object | |
| template<typename T > | |
| static intptr_t | ClassID () |
The CircularArcKey class is a smart pointer to a database object. It is handle to a circular arc inserted via SegmentKey::InsertCircularArc. A circular arc is the line geometry, as such its visualization will be determined by attributes affecting lines.
| HPS::CircularArcKey::CircularArcKey | ( | ) |
The default constructor creates an uninitialized CircularArcKey object. The Type() function will return Type::None.
|
explicit |
This constructor creates a CircularArcKey object that shares the underlying smart-pointer of the source Key. The copy will only be successful if the source key is really an upcast of a CircularArc key. Otherwise the copy will fail and the resulting CircularArcKey will be invalid.
| in_key | The source Key to copy. |
| HPS::CircularArcKey::CircularArcKey | ( | CircularArcKey const & | in_that | ) |
The copy constructor creates a CircularArcKey object that shares the underlying smart-pointer of the source CircularArcKey.
| in_that | The source CircularArcKey to copy. |
| HPS::CircularArcKey::CircularArcKey | ( | CircularArcKey && | in_that | ) |
The move constructor creates a CircularArcKey by transferring the underlying impl of the rvalue reference to this CircularArcKey thereby avoiding a copy and allocation.
| in_that | An rvalue reference to a CircularArcKey to take the impl from. |
| void HPS::CircularArcKey::Consume | ( | CircularArcKit & | in_kit | ) |
Completely replaces all settings on this CircularArcKey with those set on the specified kit and resets the kit.
| in_kit | The kit from which to get the settings to replace on this CircularArcKey. |
|
inlinevirtual |
This function returns the type the object, as declared. This does not necessarily give the true type of the underlying object.
Reimplemented from HPS::GeometryKey.
| CircularArcKey& HPS::CircularArcKey::operator= | ( | CircularArcKey const & | in_that | ) |
Associate this CircularArcKey with the same underlying impl as the source CircularArcKey.
| in_that | The source CircularArcKey for the assignment. |
| CircularArcKey& HPS::CircularArcKey::operator= | ( | CircularArcKey && | in_that | ) |
The move assignment operator transfers the underlying impl of the rvalue reference to this CircularArcKey thereby avoiding a copy.
| in_that | An rvalue reference to a CircularArcKey to take the impl from. |
| void HPS::CircularArcKey::Set | ( | CircularArcKit const & | in_kit | ) |
Replace those settings on this CircularArcKey with those set on the specified kit.
| in_kit | The kit from which to get the settings to replace on this CircularArcKey. |
| CircularArcKey& HPS::CircularArcKey::SetEnd | ( | Point const & | in_end | ) |
Sets the end point for this CircularArcKey. This is the point on the circumference of the circle at which the circular arc ends.
| in_end | The end point for this CircularArcKey. |
| CircularArcKey& HPS::CircularArcKey::SetMiddle | ( | Point const & | in_middle | ) |
Sets the middle point for this CircularArcKey. This is a point on the circumference of the circle between the start and end points for the circular arc.
| in_middle | The middle point for this CircularArcKey. |
| CircularArcKey& HPS::CircularArcKey::SetStart | ( | Point const & | in_start | ) |
Sets the start point for this CircularArcKey. This is the point on the circumference of the circle at which the circular arc starts.
| in_start | The start point for this CircularArcKey. |
| void HPS::CircularArcKey::Show | ( | CircularArcKit & | out_kit | ) | const |
Copy the contents of this CircularArcKey into the specified kit.
| out_kit | The kit to populate with the contents of this CircularArcKey. |
| bool HPS::CircularArcKey::ShowEnd | ( | Point & | out_end | ) | const |
Shows the end point for this CircularArcKey.
| out_end | The end point for this CircularArcKey. |
| bool HPS::CircularArcKey::ShowMiddle | ( | Point & | out_middle | ) | const |
Shows the middle point for this CircularArcKey.
| out_middle | The middle point for this CircularArcKey. |
| bool HPS::CircularArcKey::ShowStart | ( | Point & | out_start | ) | const |
Shows the start point for this CircularArcKey.
| out_start | The start point for this CircularArcKey. |