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

The circle element. 更多...

#include <APICircleElement.h>

类 AnyCAD::API::CircleElement 继承关系图:
AnyCAD::API::CurveElement AnyCAD::API::GeomElement AnyCAD::API::RenderableElement AnyCAD::API::PropertiesElement AnyCAD::API::Element AnyCAD::API::Object AnyCAD::API::TieCircleElement

Public 成员函数

void SetCenterPt (const Vector3 &_CenterPt)
 
Vector3 GetCenterPt () const
 
void SetNormalDirection (const Vector3 &_NormalDirection)
 
Vector3 GetNormalDirection () const
 
void SetRadius (Real _Radius)
 
Real GetRadius () const
 
- Public 成员函数 继承自 AnyCAD::API::GeomElement
void SetVisibleShapeType (int _VisibleShapeType)
 
int GetVisibleShapeType () const
 
void SetGeometry (const TopoShape &geometry)
 
TopoShape GetGeometry () const
 
virtual SceneNode GetSceneNode () const
 
- Public 成员函数 继承自 AnyCAD::API::RenderableElement
void SetVisible (bool _Visible)
 
bool GetVisible () const
 
void SetStandalone (bool _Standalone)
 
bool GetStandalone () const
 
void SetStyleId (const ElementId &_StyleId)
 
ElementId GetStyleId () const
 
bool IsVisible () const
 
- Public 成员函数 继承自 AnyCAD::API::PropertiesElement
void AddParameter (ParameterId paramId, const ParameterValue &pParameter)
 
ParameterValue RemoveParameter (ParameterId paramId)
 
void AddParameterUI (ParameterId paramId, const ParameterUI &pParameterUI)
 
ParameterUI GetParameterUI (ParameterId paramId) const
 
ParameterUI RemoveParameterUI (ParameterId paramId)
 
ParameterUISet GetParameterUISet () const
 
virtual ParameterValue GetParameterValue (ParameterId paramId) const
 
virtual bool SetParameterValue (ParameterId paramId, const ParameterValue &pValue)
 
- Public 成员函数 继承自 AnyCAD::API::Element
ElementId GetId () const
 
String GetName () const
 
void SetName (const String &strName)
 
String GetCategory () const
 
void SetCategory (const String &category)
 
ParameterUISet GetSystemParameterUISet () const
 
Document GetOwnerDocument () const
 
- Public 成员函数 继承自 AnyCAD::API::Object
String GetObjectClassId () const
 
StringList ListParentClassIds () const
 

详细描述

The circle element.

TODO:

成员函数说明

Vector3 AnyCAD::API::CircleElement::GetCenterPt ( ) const

Get CenterPt.

返回
the CenterPt.
Vector3 AnyCAD::API::CircleElement::GetNormalDirection ( ) const

Get NormalDirection.

返回
the NormalDirection.
Real AnyCAD::API::CircleElement::GetRadius ( ) const

Get Radius.

返回
the Radius.
void AnyCAD::API::CircleElement::SetCenterPt ( const Vector3 _CenterPt)

Set the CenterPt.

参数
_CenterPtthe CenterPt.
void AnyCAD::API::CircleElement::SetNormalDirection ( const Vector3 _NormalDirection)

Set the NormalDirection.

参数
_NormalDirectionthe NormalDirection.
void AnyCAD::API::CircleElement::SetRadius ( Real  _Radius)

Set the Radius.

参数
_Radiusthe Radius.

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