|
C3D Toolkit
Kernel - 118060, Vision - 2.15.0.1825
|
The parameters of patch. More...
#include <op_shell_parameter.h>
Public Types | |
| enum | SurfaceType { ts_tang , ts_norm , ts_none , ts_plane , ts_byCurves } |
| Type of patch. More... | |
Public Member Functions | |
| PatchValues () | |
| Default constructor. More... | |
| PatchValues (const PatchValues &other) | |
| Copy-constructor. | |
| ~PatchValues () | |
| Destructor. | |
| SurfaceType | GetType () const |
| Get type of patch. | |
| SurfaceType & | SetType () |
| Get type of patch for changing. | |
| bool | CheckSelfInt () const |
| Get the flag of checking self-intersection. | |
| void | SetCheckSelfInt (bool c) |
| Set the flag of checking self-intersection. | |
| bool | MergeEdges () const |
| Whether to merge similar edges (true)? | |
| void | SetMergingEdges (bool s) |
| Whether to merge similar edges. | |
| bool | IsTolerantData () const |
| Get the flag for building an tolerant patch from tolerant input data. | |
| void | SetTolerantData (bool tolData) |
| Set the flag for building an tolerant patch from tolerant input data. | |
| MbePatchMatingType | GetInternalMatingType () const |
| Get the type of mating between pieces of the patch. | |
| void | SetInternalMatingType (MbePatchMatingType matingType) |
| Set the type of mating between pieces of the patch. | |
| void | operator= (const PatchValues &other) |
| Assignment operator. | |
| bool | IsSame (const PatchValues &obj, double) const |
| Determine whether an object is equal? | |
The parameters of patch.
The parameters of patch.
Contain Information about type of patch and flag of checking self-intersection. If the ts_plane type is given, the patch will be built with flat faces.
The ts_byCurves type must be set if it is required to build a patch with conjugation along some boundaries. In this case, for the desired MbPatchCurve border, you need to set the pairing using the #SetMating method.
Type of patch.
The flag can be set by calling PatchValues::SetType().
| Enumerator | |
|---|---|
| ts_tang | Along the tangent. |
| ts_norm | Along the normal. |
| ts_none | Undefined. |
| ts_plane | Plane patch. |
| ts_byCurves | The construction is defined by conjugations on curves. |
|
inline |
Default constructor.
Constructor of parameters of patch with undefined type and without checking of self-intersection.