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.
solid | the solid. |
baseFace | the base face |
faces | the wall faces |
int AnyCAD::API::WireConnectorByFace::GetBaseFaceIndex | ( | long | idx | ) | const |
Get the index of the base face on solid.
idx | the index of the segment. |
int AnyCAD::API::WireConnectorByFace::GetEdgeIndexOnBaseFace | ( | long | idx | ) | const |
Get the index of the edge on base face.
idx | the index of the segment. |
Real AnyCAD::API::WireConnectorByFace::GetInitialLength | ( | ) | const |
Get the length.
|
static |
Get the normal on face.
face | the face. |
position | the point on face |
long AnyCAD::API::WireConnectorByFace::GetSegmentCount | ( | ) | const |
Get the segment count.
int AnyCAD::API::WireConnectorByFace::GetWallFaceIndex | ( | long | idx | ) | const |
Get the index of the wall face on solid.
idx | the index of the segment. |
TopoShape AnyCAD::API::WireConnectorByFace::GetWire | ( | ) | const |
Get the wire shape.