Scanbot SDK
Loading...
Searching...
No Matches
ScanbotSDKGeometry.h File Reference

Go to the source code of this file.

Typedefs

typedef struct scanbotsdk_line_segment_int_t scanbotsdk_line_segment_int_t
 scanbotsdk_line_segment_int_t class
 
typedef struct scanbotsdk_line_segment_float_t scanbotsdk_line_segment_float_t
 scanbotsdk_line_segment_float_t class
 
typedef struct scanbotsdk_aspect_ratio_t scanbotsdk_aspect_ratio_t
 scanbotsdk_aspect_ratio_t class
 

Functions

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 specified by the last argument.
 
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, the function does nothing.
 
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_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_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 location specified by the last argument.
 
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, the function does nothing.
 
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_float_get_end (scanbotsdk_line_segment_float_t *self, scanbotsdk_pointf_t *end)
 Returns value of end field of the given object.
 
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 specified by the last argument.
 
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 location specified by the last argument.
 
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, the function does nothing.
 
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.
 
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.