AnyCAD C++ API  2018
 全部  命名空间 文件 函数 变量 类型定义 枚举 枚举值 友元 宏定义 
Public 成员函数 | 所有成员列表
AnyCAD::API::TopoDataExchangeStl类 参考

STL file writer and reader. -since R2014UR1. 更多...

#include <APITopoDataExchangeStl.h>

Public 成员函数

double GetDeflection () const
 
void SetDeflection (double val)
 
double GetCoefficient () const
 
void SetCoefficient (double val)
 
bool GetRelativeMode () const
 
void SetRelativeMode (bool val)
 
bool GetASCIIMode () const
 
void SetASCIIMode (bool val)
 
bool Write (const TopoShape &pShape, const Path &szFileName)
 
TopoShape Read (const Path &szFileName)
 

详细描述

STL file writer and reader. -since R2014UR1.

TODO:

成员函数说明

bool AnyCAD::API::TopoDataExchangeStl::GetASCIIMode ( ) const

Gets the ASCII mode.

返回
the mode.
double AnyCAD::API::TopoDataExchangeStl::GetCoefficient ( ) const

Gets the coeffiecient.

返回
the coeffiecient.
double AnyCAD::API::TopoDataExchangeStl::GetDeflection ( ) const

Gets the deflection of the meshing algorithm.

返回
the deflection.
bool AnyCAD::API::TopoDataExchangeStl::GetRelativeMode ( ) const

Gets the relative mode.

返回
the mode.
TopoShape AnyCAD::API::TopoDataExchangeStl::Read ( const Path szFileName)

Read from STL file

参数
szFileNamethe file name.
返回
pShapes the TopoShape.
void AnyCAD::API::TopoDataExchangeStl::SetASCIIMode ( bool  val)

Write Option If the mode returns True (default value) the generated

参数
valthe mode.
void AnyCAD::API::TopoDataExchangeStl::SetCoefficient ( double  val)

Write Option Sets the coeffiecient for computation of deflection through

参数
valthe coeffiecient.
void AnyCAD::API::TopoDataExchangeStl::SetDeflection ( double  val)

Write Option Sets the deflection of the meshing algorithm. Deflection is used, only if relative mode is false.

参数
valthe deflection.
void AnyCAD::API::TopoDataExchangeStl::SetRelativeMode ( bool  val)

Write Option If the mode returns True (default value), the

参数
valthe mode.
bool AnyCAD::API::TopoDataExchangeStl::Write ( const TopoShape pShape,
const Path szFileName 
)

Write to STL file

参数
pShapethe TopoShape.
szFileNamethe file name.
返回
true if successes.

该类的文档由以下文件生成: