Gocator Development Kit
 All Classes Files Functions Variables Typedefs Friends Modules Pages
GdkCircleFeature.h
Go to the documentation of this file.
1 /**
2  * @file GdkCircleFeature.h
3  *
4  * @internal
5  * Copyright (C) 2016-2022 by LMI Technologies Inc.
6  * Licensed under the MIT License.
7  * Redistributed files must retain the above copyright notice.
8  */
9 #ifndef GDK_CIRCLE_FEATURE_H
10 #define GDK_CIRCLE_FEATURE_H
11 
12 #include <Gdk/Tools/GdkFeature.h>
13 
14 /**
15 * Describes a GDK circle feature.
16 *
17 * @class GdkCircleFeature
18 * @extends GdkFeature
19 * @ingroup Gdk-Tools
20 */
23 
24 /**
25 * Sets the position of the circle feature.
26 *
27 * @public @memberof GdkCircleFeature
28 * @param feature Circle feature object.
29 * @param position Reference to center position of circle to set.
30 * @return Operation status.
31 */
32 GdkFx(kStatus) GdkCircleFeature_SetPosition(GdkCircleFeature feature, const kPoint3d64f* position);
33 
34 /**
35 * Returns the position of the circle feature.
36 *
37 * @public @memberof GdkCircleFeature
38 * @param feature Circle feature object.
39 * @return Position of circle feature.
40 */
42 
43 /**
44 * Sets the radius of the circle feature.
45 *
46 * @public @memberof GdkCircleFeature
47 * @param feature Circle feature object.
48 * @param radius Radius of circle to set.
49 * @return Operation status.
50 */
51 GdkFx(kStatus) GdkCircleFeature_SetRadius(GdkCircleFeature feature, const k64f radius);
52 
53 /**
54 * Returns the radius of the circle feature.
55 *
56 * @public @memberof GdkCircleFeature
57 * @param feature Circle feature object.
58 * @return Radius of circle feature.
59 */
61 
62 /**
63 * Sets the normal of the circle feature.
64 *
65 * @public @memberof GdkCircleFeature
66 * @param feature Circle feature object.
67 * @param normal Reference to normal vector of circle to set.
68 * @return Operation status.
69 */
70 GdkFx(kStatus) GdkCircleFeature_SetNormal(GdkCircleFeature feature, const kPoint3d64f* normal);
71 
72 /**
73 * Returns the normal of the circle feature.
74 *
75 * @public @memberof GdkCircleFeature
76 * @param feature Circle feature object.
77 * @param normal Reference to normal vector of circle.
78 * @return Operation status.
79 */
81 
82 #include <Gdk/Tools/GdkCircleFeature.x.h>
83 
84 #endif
Definition: GdkCfgInterfaces.h:14
kStatus GdkCircleFeature_SetPosition(GdkCircleFeature feature, const kPoint3d64f *position)
Sets the position of the circle feature.
#define kDeclareClassEx(PREFIX, SYMBOL, BASE)
kStatus GdkCircleFeature_SetNormal(GdkCircleFeature feature, const kPoint3d64f *normal)
Sets the normal of the circle feature.
Declares geometric feature class.
Describes a GDK circle feature.
const kPoint3d64f * GdkCircleFeature_Position(GdkCircleFeature feature)
Returns the position of the circle feature.
kStatus GdkCircleFeature_SetRadius(GdkCircleFeature feature, const k64f radius)
Sets the radius of the circle feature.
k64f GdkCircleFeature_Radius(GdkCircleFeature feature)
Returns the radius of the circle feature.
kStatus GdkCircleFeature_Normal(GdkCircleFeature feature, kPoint3d64f *normal)
Returns the normal of the circle feature.