26 lines
635 B
C++
26 lines
635 B
C++
#pragma once
|
||
|
||
#if defined(SG_API_LIBRARY)
|
||
# define SG_APISHARED_EXPORT __declspec(dllexport)
|
||
#else
|
||
# define SG_APISHARED_EXPORT __declspec(dllimport)
|
||
#endif
|
||
|
||
#include "SG_baseDataType.h"
|
||
#include <vector>
|
||
|
||
typedef struct
|
||
{
|
||
double statorOuterD; //定子外直径
|
||
double statorInnerD; //定子内孔直径
|
||
double gripperR;//夹爪半径
|
||
}SG_motorStatorPositionParam;
|
||
|
||
///数据输入必须是grid格式,以进行水平方向和垂直方向的处理
|
||
SG_APISHARED_EXPORT void sg_motorStatorPosition(
|
||
SVzNL3DLaserLine* laser3DPoints,
|
||
int lineNum,
|
||
const SG_motorStatorPositionParam positionParam,
|
||
int* errCode,
|
||
std::vector<SSG_motorStatorPosition>& resultOpPositions
|
||
); |