8#ifndef SCANBOTSDK_GEOMETRY_H
9#define SCANBOTSDK_GEOMETRY_H
17#include <ScanbotSDKDefs.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