|
C3D Toolkit
Kernel - 118058, Vision - 2.15.0.1823
|
Data for the construction of a ruled surface. More...
#include <op_shell_parameter.h>
Public Member Functions | |
| RuledSurfaceValues (const RuledSurfaceValues &, MbRegDuplicate *ireg) | |
| Copy-constructor. | |
| RuledSurfaceValues () | |
| Default constructor. | |
| ~RuledSurfaceValues () | |
| Destructor. | |
| bool | Init (const MbCurve3D &inCurve0, const MbCurve3D &inCurve1, bool selfInt=false, bool prop=false) |
| Initialization function. More... | |
| bool | Init (const MbCurve3D &inCurve0, const MbCurve3D &inCurve1, const SArray< double > &pars0, const SArray< double > &pars1, bool selfInt=false, bool prop=false) |
| Initialization function. More... | |
| void | Init (const RuledSurfaceValues &obj, bool sameCurves) |
| Initialization function. More... | |
| bool | IsValid () const |
| Initial check of parameters correctness. | |
| void | Transform (const MbMatrix3D &, MbRegTransform *ireg) |
| Transform by matrix. | |
| void | Move (const MbVector3D &, MbRegTransform *ireg) |
| Move an object along a vector. | |
| void | Rotate (const MbAxis3D &, double angle, MbRegTransform *ireg) |
| Rotate an object at a given angle around an axis. | |
| bool | IsSame (const RuledSurfaceValues &, double accuracy) const |
| Determine whether an object is equal? | |
| const MbCurve3D * | GetCurve (bool first) const |
| Get curve (the first or second). | |
| MbCurve3D * | SetCurve (bool first) |
| Get curve (the first or second). | |
| size_t | GetParamsCount (bool first) const |
| Get the count of splitting parameters. | |
| void | GetParams (bool first, SArray< double > &breaks) const |
| Get splitting array. | |
| double | GetParam (bool first, size_t k) const |
| Get splitting parameter by index. | |
| void | SetParams (bool first, const SArray< double > &ps) |
| Set array of splitting parameters. | |
| bool | IsEmpty () const |
| Whether arrays of splitting parameters are filled? | |
| void | CheckSelfInt (bool c) |
| Set flag of necessary to check self-intersections. | |
| bool | CheckSelfInt () const |
| Whether it is necessary to check self-intersections. | |
| void | SetJoinByVertices (bool byVerts) |
| Set flag of connection through vertices. | |
| bool | GetJoinByVertices () const |
| Whether curves are joined through vertices? | |
| void | SetSimplifyFaces (bool simplFaces) |
| Set flag of faces simplification. | |
| bool | GetSimplifyFaces () const |
| Get flag of faces simplification. | |
| void | SetProportional (bool prop) |
| Set flag of proportional to the natural parameterization of curves. | |
| bool | GetProportional () const |
| Get flag of proportional to the natural parameterization of curves. | |
| void | SetMismatch (double mMax) |
| Set permissible mismatch of opposite points of connecting segments. | |
| double | GetMismatch () const |
| Get permissible mismatch of opposite points of connecting segments. | |
| void | SetSegmentSplit (bool s) |
| Set flag of divide the shell into faces by contour segments. | |
| bool | GetSegmentSplit () const |
| Get flag of divide the shell into faces by contour segments. | |
Data for the construction of a ruled surface.
Data for the construction of a ruled surface by two curves.
| bool RuledSurfaceValues::Init | ( | const MbCurve3D & | inCurve0, |
| const MbCurve3D & | inCurve1, | ||
| bool | selfInt = false, |
||
| bool | prop = false |
||
| ) |
Initialization function.
Initialization function on the curves originals. Containers of parameters of splitting curves will be cleared.
| [in] | inCurve0 | - The curve for the replacement of the first curve. |
| [in] | inCurve1 | - The curve for the replacement of the second curve. |
| [in] | selfInt | - Flag of self-intersections checking. |
| [in] | prop | - Flag of proportional to the natural parameterization of curves. |
| bool RuledSurfaceValues::Init | ( | const MbCurve3D & | inCurve0, |
| const MbCurve3D & | inCurve1, | ||
| const SArray< double > & | pars0, | ||
| const SArray< double > & | pars1, | ||
| bool | selfInt = false, |
||
| bool | prop = false |
||
| ) |
Initialization function.
Initialization function on the curves originals.
| [in] | inCurve0 | - The curve for the replacement of the first curve. |
| [in] | inCurve1 | - The curve for the replacement of the second curve. |
| [in] | pars0 | - The parameters of splitting curve inCurve0. |
| [in] | pars1 | - The parameters of splitting curve inCurve1. |
| [in] | selfInt | - Flag of self-intersections checking. |
| [in] | prop | - Flag of proportional to the natural parameterization of curves. |
| void RuledSurfaceValues::Init | ( | const RuledSurfaceValues & | obj, |
| bool | sameCurves | ||
| ) |
Initialization function.
Initialization function on the curves originals or copies of curve.
| [in] | obj | - Copy parameters. |
| [in] | sameCurves | - Flag of using originals of curves. |