LayOut C API
Main Page
Related Pages
Data Structures
Files
File List
Globals
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
SketchUpAPI
geometry
transformation2d.h
Go to the documentation of this file.
1
// Copyright 2017 Trimble Inc., All rights reserved.
2
7
#ifndef SKETCHUP_GEOMETRY_TRANSFORMATION2D_H_
8
#define SKETCHUP_GEOMETRY_TRANSFORMATION2D_H_
9
10
#include <
SketchUpAPI/geometry.h
>
11
12
#pragma pack(push, 8)
13
14
#ifdef __cplusplus
15
extern
"C"
{
16
#endif // __cplusplus
17
30
SU_RESULT
SUTransformation2DTranslation
(
31
struct
SUTransformation2D
* transform,
const
struct
SUVector2D
* vector);
32
43
SU_RESULT
SUTransformation2DScale
(
struct
SUTransformation2D
* transform,
double
scale);
44
57
SU_RESULT
SUTransformation2DNonUniformScale
(
58
struct
SUTransformation2D
* transform,
double
x_scale,
double
y_scale);
59
73
SU_RESULT
SUTransformation2DScaleAboutPoint
(
74
struct
SUTransformation2D
* transform,
const
struct
SUPoint2D
* point,
double
scale);
75
90
SU_RESULT
SUTransformation2DNonUniformScaleAboutPoint
(
91
struct
SUTransformation2D
* transform,
const
struct
SUPoint2D
* point,
double
x_scale,
92
double
y_scale);
93
108
SU_RESULT
SUTransformation2DRotation
(
109
struct
SUTransformation2D
* transform,
const
struct
SUPoint2D
* point,
double
angle);
110
122
SU_RESULT
SUTransformation2DIsIdentity
(
123
const
struct
SUTransformation2D
* transform,
bool
* is_identity);
124
137
SU_RESULT
SUTransformation2DGetInverse
(
138
const
struct
SUTransformation2D
* transform,
struct
SUTransformation2D
* inverse);
139
153
SU_RESULT
SUTransformation2DMultiply
(
154
const
struct
SUTransformation2D
* transform1,
const
struct
SUTransformation2D
* transform2,
155
struct
SUTransformation2D
* out_transform);
156
157
#ifdef __cplusplus
158
}
// end extern "C"
159
#endif // __cplusplus
160
161
#pragma pack(pop)
162
163
#endif // SKETCHUP_GEOMETRY_TRANSFORMATION2D_H_
Generated on Wed Sep 8 2021 14:15:26 for LayOut C API by
1.8.3.1