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

Connect the edges to wires. 更多...

#include <APIWireConnectorByFace.h>

Public 成员函数

bool Build (const TopoShape &solid, const TopoShape &baseFace, const TopoShapeGroup &faces)
 
TopoShape GetWire () const
 
Real GetInitialLength () const
 
long GetSegmentCount () const
 
int GetBaseFaceIndex (long idx) const
 
int GetWallFaceIndex (long idx) const
 
int GetEdgeIndexOnBaseFace (long idx) const
 

静态 Public 成员函数

static Vector3 GetNormal (const TopoShape &face, const Vector3 &position)
 

详细描述

Connect the edges to wires.

TODO:

成员函数说明

bool AnyCAD::API::WireConnectorByFace::Build ( const TopoShape solid,
const TopoShape baseFace,
const TopoShapeGroup faces 
)

build the wire.

参数
solidthe solid.
baseFacethe base face
facesthe wall faces
返回
false if failed.
int AnyCAD::API::WireConnectorByFace::GetBaseFaceIndex ( long  idx) const

Get the index of the base face on solid.

参数
idxthe index of the segment.
返回
the index.
int AnyCAD::API::WireConnectorByFace::GetEdgeIndexOnBaseFace ( long  idx) const

Get the index of the edge on base face.

参数
idxthe index of the segment.
返回
the index.
Real AnyCAD::API::WireConnectorByFace::GetInitialLength ( ) const

Get the length.

返回
the length.
static Vector3 AnyCAD::API::WireConnectorByFace::GetNormal ( const TopoShape face,
const Vector3 position 
)
static

Get the normal on face.

参数
facethe face.
positionthe point on face
返回
the normal on position.
long AnyCAD::API::WireConnectorByFace::GetSegmentCount ( ) const

Get the segment count.

返回
the count.
int AnyCAD::API::WireConnectorByFace::GetWallFaceIndex ( long  idx) const

Get the index of the wall face on solid.

参数
idxthe index of the segment.
返回
the index.
TopoShape AnyCAD::API::WireConnectorByFace::GetWire ( ) const

Get the wire shape.

返回
the wire.

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