C3D Toolkit  Kernel - 117982, Vision - 2.9.2.2

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 MbCurve3DGetCurve (bool first) const
 Get curve (the first or second).
 
MbCurve3DSetCurve (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.
 

Detailed Description

Data for the construction of a ruled surface.

Data for the construction of a ruled surface by two curves.

Member Function Documentation

◆ Init() [1/3]

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.

Parameters
[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.
Returns
The result of the primary scan of parameters.

◆ Init() [2/3]

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.

Parameters
[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.
Returns
The result of the primary scan of parameters.

◆ Init() [3/3]

void RuledSurfaceValues::Init ( const RuledSurfaceValues obj,
bool  sameCurves 
)

Initialization function.

Initialization function on the curves originals or copies of curve.

Parameters
[in]obj- Copy parameters.
[in]sameCurves- Flag of using originals of curves.

The documentation for this struct was generated from the following file: