53 lines
1.5 KiB
C
53 lines
1.5 KiB
C
/*
|
|
* CONFIDENTIAL AND CONTAINING PROPRIETARY TRADE SECRETS
|
|
* Copyright 2015-2017 The MathWorks, Inc.
|
|
* The source code contained in this listing contains proprietary and
|
|
* confidential trade secrets of The MathWorks, Inc. The use, modification,
|
|
* or development of derivative work based on the code or ideas obtained
|
|
* from the code is prohibited without the express written permission of The
|
|
* MathWorks, Inc. The disclosure of this code to any party not authorized
|
|
* by The MathWorks, Inc. is strictly forbidden.
|
|
* CONFIDENTIAL AND CONTAINING PROPRIETARY TRADE SECRETS
|
|
*/
|
|
|
|
#ifndef POLYFUN_POLYGON_BOOLEAN_H
|
|
#define POLYFUN_POLYGON_BOOLEAN_H
|
|
|
|
/**
|
|
* This file is to support codegen, copied from emlrt.h
|
|
* This file is published to (matlabroot)/extern/include
|
|
*/
|
|
|
|
#if defined(_MSC_VER)
|
|
# pragma once
|
|
#endif
|
|
#if defined(__GNUC__) && (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ > 3))
|
|
# pragma once
|
|
#endif
|
|
|
|
/*
|
|
* Only define EXTERN_C if it hasn't been defined already. This allows
|
|
* individual modules to have more control over managing their exports.
|
|
*/
|
|
#ifndef EXTERN_C
|
|
|
|
#ifdef __cplusplus
|
|
#define EXTERN_C extern "C"
|
|
#else
|
|
#define EXTERN_C extern
|
|
#endif
|
|
|
|
#endif
|
|
|
|
#ifndef POLYFUN_MODULE_API
|
|
#define POLYFUN_MODULE_API
|
|
#endif
|
|
|
|
EXTERN_C POLYFUN_MODULE_API
|
|
void polyBoolean_c(double *x1, double *y1, int *size1,
|
|
double *x2, double *y2, int *size2,
|
|
double *input_scale_p, int *op_type,
|
|
double *rx, double *ry, int *rn,
|
|
double *pPgon, double *pCon, double *pIdx);
|
|
#endif
|