Scanbot SDK
Loading...
Searching...
No Matches
ScanbotSDKGeometry.h
Go to the documentation of this file.
1// Auto-generated with ScanbotSDKCodegenV3. Modifications will be overwritten.
2// Generated from SchemasV3/CoreSchemas/schemas/Geometry.yaml
6
7#pragma once
8#ifndef SCANBOTSDK_GEOMETRY_H
9#define SCANBOTSDK_GEOMETRY_H
10
11
12#include <ScanbotSDKTypes.h>
13#include <stdbool.h>
14#include <stddef.h>
15#include <stdint.h>
16#include <ScanbotSDKErrorCode.h>
17#include <ScanbotSDKDefs.h>
18
19#ifdef __cplusplus
20extern "C" {
21#endif
22
23
30
45
46
54
64
74
75
82
97
98
106
116
126
127
134
150 double width,
151 double height,
153
164
165
173
185
197
198
199#ifdef __cplusplus
200} /* extern "C" */
201#endif
202
203#endif /* SCANBOTSDK_GEOMETRY_H */
ScanbotSDK Error Code C API.
scanbotsdk_error_code_t
The error codes returned by most of the Scanbot SDK functions.
Definition ScanbotSDKErrorCode.h:25
The Scanbot SDK C API primitive types.
SBSDK_API scanbotsdk_error_code_t scanbotsdk_line_segment_float_free(scanbotsdk_line_segment_float_t *object)
Frees the memory allocated for the instance of scanbotsdk_line_segment_float_t. If null is passed,...
struct scanbotsdk_line_segment_float_t scanbotsdk_line_segment_float_t
scanbotsdk_line_segment_float_t class
Definition ScanbotSDKGeometry.h:81
SBSDK_API scanbotsdk_error_code_t scanbotsdk_aspect_ratio_get_height(scanbotsdk_aspect_ratio_t *self, double *height)
Returns value of height field of the given object.
SBSDK_API scanbotsdk_error_code_t scanbotsdk_line_segment_int_create(scanbotsdk_point_t start, scanbotsdk_point_t end, scanbotsdk_line_segment_int_t **result)
Creates a new instance of scanbotsdk_line_segment_int with given params and stores it in the location...
SBSDK_API scanbotsdk_error_code_t scanbotsdk_aspect_ratio_create_with_defaults(scanbotsdk_aspect_ratio_t **result)
Creates a new instance of scanbotsdk_aspect_ratio_t with given required params and stores it in the l...
SBSDK_API scanbotsdk_error_code_t scanbotsdk_aspect_ratio_create(double width, double height, scanbotsdk_aspect_ratio_t **result)
Creates a new instance of scanbotsdk_aspect_ratio with given params and stores it in the location spe...
SBSDK_API scanbotsdk_error_code_t scanbotsdk_line_segment_int_get_start(scanbotsdk_line_segment_int_t *self, scanbotsdk_point_t *start)
Returns value of start field of the given object.
SBSDK_API scanbotsdk_error_code_t scanbotsdk_line_segment_float_create(scanbotsdk_pointf_t start, scanbotsdk_pointf_t end, scanbotsdk_line_segment_float_t **result)
Creates a new instance of scanbotsdk_line_segment_float with given params and stores it in the locati...
SBSDK_API scanbotsdk_error_code_t scanbotsdk_aspect_ratio_free(scanbotsdk_aspect_ratio_t *object)
Frees the memory allocated for the instance of scanbotsdk_aspect_ratio_t. If null is passed,...
struct scanbotsdk_aspect_ratio_t scanbotsdk_aspect_ratio_t
scanbotsdk_aspect_ratio_t class
Definition ScanbotSDKGeometry.h:133
SBSDK_API scanbotsdk_error_code_t scanbotsdk_line_segment_float_get_start(scanbotsdk_line_segment_float_t *self, scanbotsdk_pointf_t *start)
Returns value of start field of the given object.
SBSDK_API scanbotsdk_error_code_t scanbotsdk_line_segment_int_get_end(scanbotsdk_line_segment_int_t *self, scanbotsdk_point_t *end)
Returns value of end field of the given object.
SBSDK_API scanbotsdk_error_code_t scanbotsdk_aspect_ratio_get_width(scanbotsdk_aspect_ratio_t *self, double *width)
Returns value of width field of the given object.
struct scanbotsdk_line_segment_int_t scanbotsdk_line_segment_int_t
scanbotsdk_line_segment_int_t class
Definition ScanbotSDKGeometry.h:29
SBSDK_API scanbotsdk_error_code_t scanbotsdk_line_segment_int_free(scanbotsdk_line_segment_int_t *object)
Frees the memory allocated for the instance of scanbotsdk_line_segment_int_t. If null is passed,...
SBSDK_API scanbotsdk_error_code_t scanbotsdk_line_segment_float_get_end(scanbotsdk_line_segment_float_t *self, scanbotsdk_pointf_t *end)
Returns value of end field of the given object.
Represents a point with integer coordinates.
Definition ScanbotSDKTypes.h:18
Represents a point with floating point coordinates.
Definition ScanbotSDKTypes.h:33