The shape processing settings.
更多...
|
| void | FixShape (double tolerance3d, double maxTolerance) |
| |
| void | FixFaceSize (double tolerance) |
| |
| void | DropSmallEdges (double tolerance) |
| |
| void | SplitAngle (double angle, double maxTolerance) |
| |
| void | SplitClosedFaces (int nbSplitPoints) |
| |
| void | SplitContinuity (double tolerance3d, String^ surfaceContinuity, String^ curveContinuity) |
| |
| void | BsplineRestriction (bool SurfaceMode, bool Curve3dMode, bool Curve2dMode, double tolerance3d, double tolerance2d, bool RequiredDegree, int RequiredNbSegments, String^ Continuity3d, String^ Continuity2d) |
| |
| void | ToBezier (bool SurfaceMode, bool Curve3dMode, bool Curve2dMode, double MaxTolerance) |
| |
| void | SameParameter (double tolerance3d) |
| |
The shape processing settings.
TODO:
| void AnyCAD::Platform::ShapeProcessSettings::BsplineRestriction |
( |
bool |
SurfaceMode, |
|
|
bool |
Curve3dMode, |
|
|
bool |
Curve2dMode, |
|
|
double |
tolerance3d, |
|
|
double |
tolerance2d, |
|
|
bool |
RequiredDegree, |
|
|
int |
RequiredNbSegments, |
|
|
String^ |
Continuity3d, |
|
|
String^ |
Continuity2d |
|
) |
| |
converts curves and surfaces to Bsplines and processes them with the following parameters:
- 参数
-
| SurfaceMode | approximation of surfaces if restriction is necessary. |
| Curve3dMode | conversion of any 3D curve to BSpline and approximation. |
| Curve2dMode | conversion of any 2D curve to BSpline and approximation. |
| tolerance3d | defines the possibility of surfaces and 3D curves approximation with the specified parameters. |
| tolerance2d | defines the possibility of surfaces and 2D curves approximation with the specified parameters. |
| RequiredDegree | required degree of the resulting BSplines. |
| RequiredNbSegments | required maximum number of segments of resultant BSplines. |
| Continuity3d | continuity of the resulting surfaces and 3D curves. |
| Continuity2d | continuity of the resulting 2D curves. |
| void AnyCAD::Platform::ShapeProcessSettings::DropSmallEdges |
( |
double |
tolerance | ) |
|
removes edges, which merge with neighbouring edges.
- 参数
-
| tolerance | defines minimum possible distance between two parallel edges. |
| void AnyCAD::Platform::ShapeProcessSettings::FixFaceSize |
( |
double |
tolerance | ) |
|
removes small faces, such as spots and strips.
- 参数
-
| tolerance | defines minimum possible face size. |
| void AnyCAD::Platform::ShapeProcessSettings::FixShape |
( |
double |
tolerance3d, |
|
|
double |
maxTolerance |
|
) |
| |
Corrects invalid shapes.
- 参数
-
| tolerance3d | work tolerance for detection of the problems and correction of them. |
| maxTolerance | maximal possible tolerance of the shape after correction. |
| void AnyCAD::Platform::ShapeProcessSettings::SameParameter |
( |
double |
tolerance3d | ) |
|
fixes edges of 2D and 3D curves not having the same parameter.
- 参数
-
| tolerance3d | defines tolerance for fixing of edges. |
| void AnyCAD::Platform::ShapeProcessSettings::SplitAngle |
( |
double |
angle, |
|
|
double |
maxTolerance |
|
) |
| |
splits faces based on conical surfaces, surfaces of revolution and cylindrical surfaces in segments using a certain angle.
- 参数
-
| angle | the central angle of the resulting segments (i.e. we obtain two segments if Angle=180, four if Angle=90, etc). |
| maxTolerance | maximum possible tolerance among the resulting segments. |
| void AnyCAD::Platform::ShapeProcessSettings::SplitClosedFaces |
( |
int |
nbSplitPoints | ) |
|
splits closed faces in segments. The number of segments depends on the number of splitting points.
- 参数
-
| nbSplitPoints | the number of splitting points. |
| void AnyCAD::Platform::ShapeProcessSettings::SplitContinuity |
( |
double |
tolerance3d, |
|
|
String^ |
surfaceContinuity, |
|
|
String^ |
curveContinuity |
|
) |
| |
splits shapes to reduce continuities of curves and surfaces. Parametric Continuity : C0, C1, C2, CN Geometric Continuity: G1, G2
- 参数
-
| tolerance3d | 3D tolerance for correction of geometry. |
| surfaceContinuity | required continuity for surfaces. |
| curveContinuity | required continuity for curves. |
| void AnyCAD::Platform::ShapeProcessSettings::ToBezier |
( |
bool |
SurfaceMode, |
|
|
bool |
Curve3dMode, |
|
|
bool |
Curve2dMode, |
|
|
double |
MaxTolerance |
|
) |
| |
converts curves and surfaces of any type to Bezier curves and surfaces.
- 参数
-
| SurfaceMode | if checked in, allows conversion of surfaces. |
| Curve3dMode | if checked in, allows conversion of 3D curves. |
| Curve2dMode | if checked in, allows conversion of 2D curves. |
| MaxTolerance | defines tolerance for detection and correction of problems. |
该类的文档由以下文件生成: