12 #ifndef GO_API_SURFACE_TYPES_H
13 #define GO_API_SURFACE_TYPES_H
25 #define GO_SURFACE_LOCATION_TYPE_MAX (0)
26 #define GO_SURFACE_LOCATION_TYPE_MIN (1)
27 #define GO_SURFACE_LOCATION_TYPE_2D_CENTROID (2)
28 #define GO_SURFACE_LOCATION_TYPE_3D_CENTROID (3)
29 #define GO_SURFACE_LOCATION_TYPE_AVG (4)
30 #define GO_SURFACE_LOCATION_TYPE_MEDIAN (5)
33 typedef k32s GoSurfaceFeatureType;
35 #define GO_SURFACE_FEATURE_TYPE_CENTROID_2D (0)
36 #define GO_SURFACE_FEATURE_TYPE_CENTROID_3D (1)
37 #define GO_SURFACE_FEATURE_TYPE_X_MAX (2)
38 #define GO_SURFACE_FEATURE_TYPE_X_MIN (3)
39 #define GO_SURFACE_FEATURE_TYPE_Y_MAX (4)
40 #define GO_SURFACE_FEATURE_TYPE_Y_MIN (5)
41 #define GO_SURFACE_FEATURE_TYPE_Z_MAX (6)
42 #define GO_SURFACE_FEATURE_TYPE_Z_MIN (7)
364 GoFx(GoSurfaceFeatureType) GoSurfaceFeature_Type(GoSurfaceFeature feature);
365 GoFx(kStatus) GoSurfaceFeature_SetType(GoSurfaceFeature feature, GoSurfaceFeatureType type);
367 GoFx(kBool) GoSurfaceFeature_RegionEnabled(GoSurfaceFeature feature);
368 GoFx(kStatus) GoSurfaceFeature_EnableRegion(GoSurfaceFeature feature, kBool enable);
370 GoFx(GoRegion3d) GoSurfaceFeature_Region(GoSurfaceFeature feature);
373 #include <GoSdk/GoSurfaceTypes.x.h>
k64f GoCylinderRegion_Y(GoCylinderRegion region)
Gets the Y position.
k64f GoRegion3d_Z(GoRegion3d region)
Gets the Z-position.
kStatus GoSurfaceRegion2d_SetWidth(GoSurfaceRegion2d region, k64f width)
Sets the width.
kStatus GoCylinderRegion_SetY(GoCylinderRegion region, k64f value)
Sets the Y position.
kStatus GoSurfaceRegion2d_SetY(GoSurfaceRegion2d region, k64f value)
Sets the Y position.
k64f GoRegion3d_Length(GoRegion3d region)
Gets the length.
k64f GoCylinderRegion_Height(GoCylinderRegion region)
Gets the Height.
k64f GoRegion3d_Height(GoRegion3d region)
Gets the height.
k64f GoRegion3d_X(GoRegion3d region)
Gets the X position.
kStatus GoRegion3d_SetZ(GoRegion3d region, k64f z)
Sets the Z-position.
kStatus GoRegion3d_SetLength(GoRegion3d region, k64f length)
Sets the length.
kStatus GoCylinderRegion_SetX(GoCylinderRegion region, k64f x)
Sets the X position.
Essential API declarations.
Represents a surface centroid.
Definition: GoSurfaceTypes.h:16
k64f GoSurfaceRegion2d_Y(GoSurfaceRegion2d region)
Gets the Y position.
k64f GoSurfaceRegion2d_Length(GoSurfaceRegion2d region)
Gets the length.
k64f GoCylinderRegion_Z(GoCylinderRegion region)
Gets the Z-position.
k64f GoCylinderRegion_X(GoCylinderRegion region)
Gets the X position.
kStatus GoSurfaceRegion2d_SetLength(GoSurfaceRegion2d region, k64f length)
Sets the length.
kStatus GoRegion3d_SetHeight(GoRegion3d region, k64f height)
Sets the height.
k64f GoSurfaceRegion2d_X(GoSurfaceRegion2d region)
Gets the X position.
kStatus GoCylinderRegion_SetHeight(GoCylinderRegion region, k64f value)
Sets the Height.
kStatus GoRegion3d_SetY(GoRegion3d region, k64f value)
Sets the Y position.
k64f GoRegion3d_Width(GoRegion3d region)
Gets the width.
kStatus GoSurfaceRegion2d_SetX(GoSurfaceRegion2d region, k64f x)
Sets the X position.
kStatus GoCylinderRegion_SetRadius(GoCylinderRegion region, k64f value)
Sets the radius.
kStatus GoRegion3d_SetWidth(GoRegion3d region, k64f width)
Sets the width.
k64f GoCylinderRegion_Radius(GoCylinderRegion region)
Gets the radius.
kStatus GoCylinderRegion_SetZ(GoCylinderRegion region, k64f z)
Sets the Z-position.
k64f GoRegion3d_Y(GoRegion3d region)
Gets the Y position.
kStatus GoRegion3d_SetX(GoRegion3d region, k64f x)
Sets the X position.
k64f GoSurfaceRegion2d_Width(GoSurfaceRegion2d region)
Gets the width.