天气与日历 切换到窄版

 找回密码
 立即注册
中国膜结构网
十大进口膜材评选 十大国产膜材评选 十大膜结构设计评选 十大膜结构公司评选
查看: 13|回复: 0

AcGe类的误差

[复制链接]
  • TA的每日心情
    开心
    昨天 15:23
  • 签到天数: 69 天

    [LV.6]常住居民II

    410

    主题

    167

    回帖

    2704

    积分

    管理员

    积分
    2704
    发表于 2024-6-22 09:46:18 | 显示全部楼层 |阅读模式



    AcGe类的误差


    struct AcGeContext {
      AcGeTol gTol;
      void (* gErrorFunc)();
      void (* gOrthoVector)(const AcGeVector3d&,AcGeVector3d&);
      void* (* gAllocMem)(size_t);
      void* (* gAllocMemLeak)(size_t, const char *, int);
      void (* gFreeMem)(void*);
      void* (* gAllocMemNear)(size_t, AcGe::metaTypeIndex, const void*);
      void* (* gAllocMemNearVector)(size_t, AcGe::metaTypeIndex, unsigned int, const void*);
      void (* gSetExternalStore)(const void*);
      void (* gAssertFunc)(const ACHAR *condition, const ACHAR *filename, int lineNumber, const ACHAR *status);
    };
    File
    gegbl.h

    Members
    Members
    Description
    AcGeTol gTol;
    Provides a "global" default tolerance object. This is an AcGeTol object that contains the default AcGeTol tolerance values (equalPoint and equalVector tolerances set to 1.e-10).
    void (* gErrorFunc)();
    This function pointer can be set to point to a function that can be used to handle errors. By default, this pointer points to a function that is empty (that is, does nothing more than return).
    void (* gOrthoVector)(const AcGeVector3d&,AcGeVector3d&);
    This function pointer goes to a function that calculates a vector that is orthogonal to vec and sets orthoVec to the result.
    If the absolute values of the X and Y components are each less than 1/64, then: orthoVec.x is set to vec.z orthoVec.y is set to 0.0 orthoVec.z is set to -vec.x
    Otherwise: orthoVec.x is set to -vec.y orthoVec.y is set to vec.x orthoVec.z is set to 0.0
    void* (* gAllocMem)(size_t);
    This function pointer points to a user-defined function for allocating memory. All new operations in gelib go through the function pointed to by gAllocMem. If an application is using a different memory manager than gelib, then this function pointer can be set to point to the application's own memory allocation function. This avoids problems that arise from having an application delete objects that were created by gelib using a different memory manager than the application.
    void (* gFreeMem)(void*);
    This function pointer points to a user-defined function for freeing memory. All delete operations in gelib go through the function pointed to by gFreeMem.
    Description
    The AcGeContext structure provides a namespace for a tolerance data value and a few functions that are used throughout the AcGe library.

     

     

     

     

    AcGe类的误差
    中国膜结构网打造全中国最好的膜结构综合平台 ,统一协调膜结构设计,膜结构施工,膜材采购,膜材定制,膜结构预算全方位服务。 中国空间膜结构协会合作单位。
    您需要登录后才可以回帖 登录 | 立即注册

    本版积分规则

    QQ|Archiver|手机版|中国膜结构网|中国膜结构协会|进口膜材|国产膜材|ETFE|PVDF|PTFE|设计|施工|安装|车棚|看台|污水池|

    GMT+8, 2024-7-1 05:58 , Processed in 0.055492 second(s), 22 queries .

    Powered by Discuz! X3.5

    © 2001-2024 Discuz! Team.

    快速回复 返回顶部 返回列表