FaceQuadStruct::Side Struct Reference

#include <StdMeshers_Quadrangle_2D.hxx>

Classes

struct  Contact
 

Public Member Functions

void AddContact (int ip, Side *side, int iop)
 Sets up a contact between this and another side. More...
 
const UVPtStructFirst () const
 
const vector< UVPtStruct > & GetUVPtStruct (bool isXConst=0, double constValue=0) const
 
bool IsForced (int nodeIndex) const
 Checks if a node is enforced. More...
 
bool IsReversed () const
 
const UVPtStructLast () const
 
double Length (int from=-1, int to=-1) const
 Returns side length. More...
 
int NbPoints () const
 
 operator const StdMeshers_FaceSidePtr () const
 
 operator StdMeshers_FaceSidePtr ()
 
Sideoperator= (const Side &otherSide)
 Side copying. More...
 
double Param (int nodeIndex) const
 Returns a normalized parameter of a point indexed within a quadrangle. More...
 
bool Reverse (bool keepGrid)
 Reverse the side. More...
 
 Side (StdMeshers_FaceSidePtr theGrid=StdMeshers_FaceSidePtr())
 Constructor of a side of quad. More...
 
int ToQuadIndex (int sideNodeIndex) const
 Converts node index of this side to node index of a quad. More...
 
int ToSideIndex (int quadNodeIndex) const
 Converts node index of a quad to node index of this side. More...
 
gp_XY Value2d (double x) const
 Returns UV by a parameter normalized within a quadrangle. More...
 

Public Attributes

std::vector< Contactcontacts
 
int di
 
std::set< intforced_nodes
 
int from
 
StdMeshers_FaceSidePtr grid
 
int nbNodeOut
 
int to
 

Constructor & Destructor Documentation

◆ Side()

FaceQuadStruct::Side::Side ( StdMeshers_FaceSidePtr  theGrid = StdMeshers_FaceSidePtr())

Constructor of a side of quad.

Member Function Documentation

◆ AddContact()

void FaceQuadStruct::Side::AddContact ( int  ip,
Side side,
int  iop 
)

Sets up a contact between this and another side.

References FaceQuadStruct::Side::Contact::point, and FaceQuadStruct::side.

Referenced by StdMeshers_Quadrangle_2D::splitQuad().

◆ First()

const UVPtStruct & FaceQuadStruct::Side::First ( ) const

◆ GetUVPtStruct()

const vector< UVPtStruct > & FaceQuadStruct::Side::GetUVPtStruct ( bool  isXConst = 0,
double  constValue = 0 
) const

◆ IsForced()

bool FaceQuadStruct::Side::IsForced ( int  nodeIndex) const

Checks if a node is enforced.

Parameters
[in]nodeIndex- an index of a node in a size
Returns
bool - true if the node is forced

Referenced by StdMeshers_Quadrangle_2D::addEnforcedNodes().

◆ IsReversed()

bool FaceQuadStruct::Side::IsReversed ( ) const

References from, nbNodeOut, and to.

Referenced by Last().

◆ Last()

const UVPtStruct & FaceQuadStruct::Side::Last ( ) const

◆ Length()

double FaceQuadStruct::Side::Length ( int  from = -1,
int  to = -1 
) const

◆ NbPoints()

int FaceQuadStruct::Side::NbPoints ( ) const

◆ operator const StdMeshers_FaceSidePtr()

FaceQuadStruct::Side::operator const StdMeshers_FaceSidePtr ( ) const

References grid.

◆ operator StdMeshers_FaceSidePtr()

FaceQuadStruct::Side::operator StdMeshers_FaceSidePtr ( )

References grid.

◆ operator=()

FaceQuadStruct::Side & FaceQuadStruct::Side::operator= ( const Side otherSide)

Side copying.

References contacts, di, forced_nodes, from, grid, nbNodeOut, and to.

◆ Param()

double FaceQuadStruct::Side::Param ( int  nodeIndex) const

Returns a normalized parameter of a point indexed within a quadrangle.

◆ Reverse()

bool FaceQuadStruct::Side::Reverse ( bool  keepGrid)

Reverse the side.

◆ ToQuadIndex()

int FaceQuadStruct::Side::ToQuadIndex ( int  sideNodeIndex) const

Converts node index of this side to node index of a quad.

◆ ToSideIndex()

int FaceQuadStruct::Side::ToSideIndex ( int  quadNodeIndex) const

Converts node index of a quad to node index of this side.

Referenced by StdMeshers_Quadrangle_2D::addEnforcedNodes(), and StdMeshers_Quadrangle_2D::splitQuad().

◆ Value2d()

gp_XY FaceQuadStruct::Side::Value2d ( double  x) const

Returns UV by a parameter normalized within a quadrangle.

Member Data Documentation

◆ contacts

std::vector<Contact> FaceQuadStruct::Side::contacts

◆ di

int FaceQuadStruct::Side::di

Referenced by operator=().

◆ forced_nodes

std::set<int> FaceQuadStruct::Side::forced_nodes

◆ from

◆ grid

◆ nbNodeOut

int FaceQuadStruct::Side::nbNodeOut

◆ to


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