#include <StdMeshers_Quadrangle_2D.hxx>
Data Structures | |
struct | Contact |
Public Member Functions | |
Side (StdMeshers_FaceSidePtr theGrid=StdMeshers_FaceSidePtr()) | |
Constructor of a side of quad. More... | |
Side & | operator= (const Side &otherSide) |
Side copying. More... | |
operator StdMeshers_FaceSidePtr () | |
operator const StdMeshers_FaceSidePtr () const | |
void | AddContact (int ip, Side *side, int iop) |
Sets up a contact between this and another side. More... | |
int | ToSideIndex (int quadNodeIndex) const |
Converts node index of a quad to node index of this side. More... | |
int | ToQuadIndex (int sideNodeIndex) const |
Converts node index of this side to node index of a quad. More... | |
bool | IsForced (int nodeIndex) const |
Checks if a node is enforced. More... | |
bool | IsReversed () const |
bool | Reverse (bool keepGrid) |
Reverse the side. More... | |
int | NbPoints () const |
double | Param (int nodeIndex) const |
Returns a normalized parameter of a point indexed within a quadrangle. More... | |
double | Length (int from=-1, int to=-1) const |
Returns side length. More... | |
gp_XY | Value2d (double x) const |
Returns UV by a parameter normalized within a quadrangle. More... | |
const UVPtStruct & | First () const |
const UVPtStruct & | Last () const |
const std::vector< UVPtStruct > & | GetUVPtStruct (bool isXConst=0, double constValue=0) const |
Data Fields | |
StdMeshers_FaceSidePtr | grid |
int | from |
int | to |
int | di |
std::set< int > | forced_nodes |
std::vector< Contact > | contacts |
int | nbNodeOut |
FaceQuadStruct::Side::Side | ( | StdMeshers_FaceSidePtr | theGrid = StdMeshers_FaceSidePtr() | ) |
Constructor of a side of quad.
Sets up a contact between this and another side.
References contacts, GetUVPtStruct(), FaceQuadStruct::Side::Contact::other_point, FaceQuadStruct::Side::Contact::other_side, FaceQuadStruct::Side::Contact::point, and FaceQuadStruct::side.
Referenced by StdMeshers_Quadrangle_2D::splitQuad().
const UVPtStruct& FaceQuadStruct::Side::First | ( | ) | const |
References from, and GetUVPtStruct().
Referenced by FaceQuadStruct::SideIterator::Init(), and StdMeshers_Quadrangle_2D::setNormalizedGrid().
const std::vector<UVPtStruct>& FaceQuadStruct::Side::GetUVPtStruct | ( | bool | isXConst = 0 , |
double | constValue = 0 |
||
) | const |
References grid, nbNodeOut, and NbPoints().
Referenced by AddContact(), StdMeshers_Quadrangle_2D::addEnforcedNodes(), First(), Last(), StdMeshers_Quadrangle_2D::setNormalizedGrid(), and StdMeshers_Quadrangle_2D::updateSideUV().
Checks if a node is enforced.
[in] | nodeIndex | - an index of a node in a size |
true
if the node is forced Referenced by StdMeshers_Quadrangle_2D::addEnforcedNodes().
bool FaceQuadStruct::Side::IsReversed | ( | ) | const |
const UVPtStruct& FaceQuadStruct::Side::Last | ( | ) | const |
References GetUVPtStruct(), IsReversed(), nbNodeOut, and to.
Referenced by FaceQuadStruct::SideIterator::Init(), and StdMeshers_Quadrangle_2D::setNormalizedGrid().
int FaceQuadStruct::Side::NbPoints | ( | ) | const |
References Abs(), from, and to.
Referenced by GetUVPtStruct(), FaceQuadStruct::SideIterator::Init(), StdMeshers_Quadrangle_2D::setNormalizedGrid(), and StdMeshers_Quadrangle_2D::updateSideUV().
FaceQuadStruct::Side::operator const StdMeshers_FaceSidePtr | ( | ) | const |
References grid.
FaceQuadStruct::Side::operator StdMeshers_FaceSidePtr | ( | ) |
References grid.
FaceQuadStruct::Side & FaceQuadStruct::Side::operator= | ( | const Side & | otherSide | ) |
double FaceQuadStruct::Side::Param | ( | int | nodeIndex | ) | const |
Returns a normalized parameter of a point indexed within a quadrangle.
Converts node index of this side to node index of a quad.
Converts node index of a quad to node index of this side.
Referenced by StdMeshers_Quadrangle_2D::addEnforcedNodes(), and StdMeshers_Quadrangle_2D::splitQuad().
gp_XY FaceQuadStruct::Side::Value2d | ( | double | x | ) | const |
Returns UV by a parameter normalized within a quadrangle.
std::vector<Contact> FaceQuadStruct::Side::contacts |
Referenced by AddContact(), StdMeshers_Quadrangle_2D::addEnforcedNodes(), operator=(), and FaceQuadStruct::shift().
int FaceQuadStruct::Side::di |
Referenced by operator=().
std::set<int> FaceQuadStruct::Side::forced_nodes |
int FaceQuadStruct::Side::from |
Referenced by StdMeshers_Quadrangle_2D::addEnforcedNodes(), First(), IsReversed(), NbPoints(), and operator=().
StdMeshers_FaceSidePtr FaceQuadStruct::Side::grid |
int FaceQuadStruct::Side::nbNodeOut |
Referenced by StdMeshers_Quadrangle_2D::addEnforcedNodes(), GetUVPtStruct(), IsReversed(), Last(), and operator=().
int FaceQuadStruct::Side::to |
Referenced by StdMeshers_Quadrangle_2D::addEnforcedNodes(), IsReversed(), Last(), NbPoints(), and operator=().