#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 UVPtStruct & | First () 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 UVPtStruct & | Last () 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 () | |
Side & | operator= (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< Contact > | contacts |
int | di |
std::set< int > | forced_nodes |
int | from |
StdMeshers_FaceSidePtr | grid |
int | nbNodeOut |
int | to |
FaceQuadStruct::Side::Side | ( | StdMeshers_FaceSidePtr | theGrid = StdMeshers_FaceSidePtr() | ) |
Constructor of a side of quad.
Sets up a contact between this and another side.
References 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 StdMeshers_Quadrangle_2D::setNormalizedGrid().
const vector< UVPtStruct > & FaceQuadStruct::Side::GetUVPtStruct | ( | bool | isXConst = 0 , |
double | constValue = 0 |
||
) | const |
References grid, nbNodeOut, and NbPoints().
Referenced by 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 StdMeshers_Quadrangle_2D::setNormalizedGrid().
Returns side length.
Referenced by ArchStructure.CommandStructuralSystem::Activated(), ArchPanel.CommandPanel::getPoint(), ArchPanel.CommandPanel::setLength(), and ArchPanel.CommandPanel::update().
int FaceQuadStruct::Side::NbPoints | ( | ) | const |
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 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 |
Referenced by StdMeshers_Quadrangle_2D::addEnforcedNodes(), GetUVPtStruct(), Plot.Plot::isGrid(), draftguitools.gui_snapper.Snapper::off(), operator const StdMeshers_FaceSidePtr(), operator StdMeshers_FaceSidePtr(), operator=(), draftguitools.gui_snapper.Snapper::restack(), draftguitools.gui_snapper.Snapper::setGrid(), StdMeshers_Quadrangle_2D::setNormalizedGrid(), draftguitools.gui_snapper.Snapper::setTrackers(), draftguitools.gui_snapper.Snapper::snapToGrid(), and StdMeshers_Quadrangle_2D::updateSideUV().
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=().