algoLib/sourceCode/motorStatorPosition_Export.h
2025-06-08 10:46:41 +08:00

26 lines
635 B
C++
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#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
);