C3D Toolkit  Kernel - 117958, Vision - 2.7.6.12

The shell extension parameters. More...

#include <op_shell_parameter.h>

+ Collaboration diagram for ExtensionValues:

Public Types

enum  ExtensionType { et_same = 0 , et_tangent , et_direction }
 Types of extension. More...
 
enum  ExtensionWay { ew_distance = -2 , ew_vertex = -1 , ew_shell = 0 }
 Ways of extension. More...
 
enum  LateralKind { le_normal = 0 , le_prolong }
 Methods of construction of the lateral edges. More...
 

Public Member Functions

 ExtensionValues ()
 Default constructor.
 
 ExtensionValues (const ExtensionValues &other)
 Copy-constructor.
 
 ExtensionValues (ExtensionType t, ExtensionWay w, LateralKind k, const MbCartPoint3D &p, const MbVector3D &dir, double d, bool pro, bool comb, const MbFaceShell *s, const MbItemIndex &fIndex)
 Constructor.
 
virtual ~ExtensionValues ()
 Destructor.
 
void InitByDistance (ExtensionType t, LateralKind k, const MbVector3D &v, double d)
 Initialization function. More...
 
void InitByVertex (ExtensionType t, LateralKind k, const MbCartPoint3D &v)
 Initialization function. More...
 
void InitByShell (ExtensionType t, LateralKind k, const MbFace *f, const MbSolid *s)
 Initialization function. More...
 
void Transform (const MbMatrix3D &matr, MbRegTransform *ireg=nullptr)
 Transform an object according to the matrix.
 
void Move (const MbVector3D &to, MbRegTransform *ireg=nullptr)
 Move an object along a vector.
 
void Rotate (const MbAxis3D &axis, double ang, MbRegTransform *ireg=nullptr)
 Rotate an object at a given angle around an axis.
 
const MbFaceShellGetShell () const
 Get the shell.
 
const MbItemIndexGetFaceIndex () const
 The index of face in the shell.
 
void SetShell (const MbFace *f, const MbSolid *s)
 Replacement of shell and its selected face.
 
void operator= (const ExtensionValues &other)
 Assignment operator.
 
bool IsSame (const ExtensionValues &other, double accuracy) const
 Determine whether an object is equal?
 

Public Attributes

ExtensionType type
 Type of extension.
 
ExtensionWay way
 Way of extension.
 
LateralKind kind
 Method of construction of the lateral edges.
 
MbCartPoint3D point
 The point to extend.up to which.
 
MbVector3D direction
 Direction of extension.
 
double distance
 Distance.
 
bool prolong
 Prolong along smoothly mating edges.
 
bool combine
 Combine faces if it is possible.
 

Detailed Description

The shell extension parameters.

The parameters of extension shell by extending or face-filling.

Member Enumeration Documentation

◆ ExtensionType

Types of extension.

Types of shell extension. Indicates the form extension surface.

Enumerator
et_same 

Along the same surface.

et_tangent 

Along tangent to the edge.

et_direction 

Along the direction.

◆ ExtensionWay

Ways of extension.

Ways of shell extension.

Enumerator
ew_distance 

Prolong on the distance.

ew_vertex 

Prolong to the vertex.

ew_shell 

Prolong to the shell.

◆ LateralKind

Methods of construction of the lateral edges.

Methods of construction of the lateral edges when extending shell.

Enumerator
le_normal 

Along the normal to boundary.

le_prolong 

Extend the initial edges.

Member Function Documentation

◆ InitByDistance()

void ExtensionValues::InitByDistance ( ExtensionType  t,
LateralKind  k,
const MbVector3D v,
double  d 
)

Initialization function.

Initialization function of extending to a distance.

Parameters
[in]t- Type of extension.
[in]k- Method of construction of the lateral edges.
[in]v- Direction of extension.
[in]d- Value of extension.

◆ InitByVertex()

void ExtensionValues::InitByVertex ( ExtensionType  t,
LateralKind  k,
const MbCartPoint3D v 
)

Initialization function.

Initialization function of extension to the vertex.

Parameters
[in]t- Type of extension.
[in]k- Method of construction of the lateral edges.
[in]v- The vertex to construct up to.

◆ InitByShell()

void ExtensionValues::InitByShell ( ExtensionType  t,
LateralKind  k,
const MbFace f,
const MbSolid s 
)

Initialization function.

Initialization function of extension to the surface.

Parameters
[in]t- Type of extension.
[in]k- Method of construction of the lateral edges.
[in]f- Face of the shell.
[in]s- Solid for replacement of shell.

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