C++ API entities

class xc.EntMdlr

Bases: xc.SetEstruct

In((EntMdlr)arg1, (GeomObj3d)arg2, (float)arg3) → bool :

In(geomObject,tolerance) Return true if this object lies inside the geometric object.

C++ signature :
bool In(XC::EntMdlr {lvalue},GeomObj3d,double)
Out((EntMdlr)arg1, (GeomObj3d)arg2, (float)arg3) → bool :

Out(geomObject,tolerance) Return true if this object lies outside the geometric object.

C++ signature :
bool Out(XC::EntMdlr {lvalue},GeomObj3d,double)
getElement((EntMdlr)arg1, (int)arg2, (int)arg3, (int)arg4) → Element :

Returns (i,j,k) node.

C++ signature :
XC::Element* getElement(XC::EntMdlr {lvalue},unsigned long,unsigned long,unsigned long)
getNearestElement((EntMdlr)arg1, (Pos3d)arg2) → Element :

Returns nearest element.

C++ signature :
XC::Element* getNearestElement(XC::EntMdlr {lvalue},Pos3d)
getNearestNode((EntMdlr)arg1, (Pos3d)arg2) → Node :

Returns nearest node.

C++ signature :
XC::Node* getNearestNode(XC::EntMdlr {lvalue},Pos3d)
getNode((EntMdlr)arg1, (int)arg2, (int)arg3, (int)arg4) → Node :

Returns (i,j,k) node.

C++ signature :
XC::Node* getNode(XC::EntMdlr {lvalue},unsigned long,unsigned long,unsigned long)
getPosCentroid((EntMdlr)arg1) → Pos3d :

Returns the centroid of the object.

C++ signature :
Pos3d getPosCentroid(XC::EntMdlr {lvalue})
getSimpsonWeights((EntMdlr)arg1, (str)arg2, (str)arg3, (int)arg4, (int)arg5, (int)arg6) → Vector :

Returns weights for Simpson’s rule integration.

C++ signature :
XC::Vector getSimpsonWeights(XC::EntMdlr {lvalue},std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >,std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >,unsigned long,unsigned long,unsigned long)
class xc.Pnt

Bases: xc.EntMdlr

getNLines

Returns number of lines that touch the point.

getNode((Pnt)arg1) → Node :

Returns point’s node.

C++ signature :
XC::Node* getNode(XC::Pnt {lvalue})
getTagNode

Returns node’s tag.

getVectorPos((Pnt)arg1) → Vector3d :

Return the position vector of the point.

C++ signature :
Vector3d getVectorPos(XC::Pnt {lvalue})
hasNode

True if the point has a node.

class xc.Face

Bases: xc.CmbEdge

getContour((Face)arg1) → Polyline3d :

Return the face contour as a 3D polyline.

C++ signature :
Polyline3d getContour(XC::Face {lvalue})
class xc.QuadSurface

Bases: xc.Face

defGridPoints((QuadSurface)arg1, (list)arg2) → None :
C++ signature :
void defGridPoints(XC::QuadSurface {lvalue},boost::python::list)
getIVector

Return the local x vector.

getJVector

Return the local x vector.

getKVector

Return the local x vector.

getLocalAxes((QuadSurface)arg1) → Matrix :

Return the surface local axes as matrix rows: [[x1,y1,z1],[x2,y2,z2],…·] .

C++ signature :
XC::Matrix getLocalAxes(XC::QuadSurface {lvalue})
getPolygon((QuadSurface)arg1) → Polygon3d :

Return the contour as a 3D polygon.

C++ signature :
Polygon3d getPolygon(XC::QuadSurface {lvalue})
setElemSizeI((QuadSurface)arg1, (float)arg2) → None :
C++ signature :
void setElemSizeI(XC::QuadSurface {lvalue},double)
setElemSizeIJ((QuadSurface)arg1, (float)arg2, (float)arg3) → None :
C++ signature :
void setElemSizeIJ(XC::QuadSurface {lvalue},double,double)
setElemSizeJ((QuadSurface)arg1, (float)arg2) → None :
C++ signature :
void setElemSizeJ(XC::QuadSurface {lvalue},double)
class xc.Body

Bases: xc.EntMdlr

Six-faced body.

class xc.Block

Bases: xc.Body

Six-faced solid.

class xc.UniformGrid

Bases: xc.EntMdlr

class xc.MapCMEdges

Bases: xc.ModelComponentContainerBase

exists((MapCMEdges)arg1, (int)arg2) → bool :
C++ signature :
bool exists(XC::ModelComponentContainer<XC::Edge> {lvalue},unsigned long)
get((MapCMEdges)arg1, (int)arg2) → Edge :
C++ signature :
XC::Edge* get(XC::ModelComponentContainer<XC::Edge> {lvalue},unsigned long)
getKeys((MapCMEdges)arg1) → list :
C++ signature :
boost::python::list getKeys(XC::ModelComponentContainer<XC::Edge> {lvalue})
class xc.MapCMFaces

Bases: xc.ModelComponentContainerBase

exists((MapCMFaces)arg1, (int)arg2) → bool :
C++ signature :
bool exists(XC::ModelComponentContainer<XC::Face> {lvalue},unsigned long)
get((MapCMFaces)arg1, (int)arg2) → Face :
C++ signature :
XC::Face* get(XC::ModelComponentContainer<XC::Face> {lvalue},unsigned long)
getKeys((MapCMFaces)arg1) → list :
C++ signature :
boost::python::list getKeys(XC::ModelComponentContainer<XC::Face> {lvalue})
class xc.map_faces

Bases: xc.MapCMFaces

class xc.MapCMBodies

Bases: xc.ModelComponentContainerBase

exists((MapCMUgrids)arg1, (int)arg2) → bool :
C++ signature :
bool exists(XC::ModelComponentContainer<XC::Body> {lvalue},unsigned long)
get((MapCMUgrids)arg1, (int)arg2) → Body :
C++ signature :
XC::Body* get(XC::ModelComponentContainer<XC::Body> {lvalue},unsigned long)
getKeys((MapCMUgrids)arg1) → list :
C++ signature :
boost::python::list getKeys(XC::ModelComponentContainer<XC::Body> {lvalue})
class xc.MapBodies

Bases: xc.map_bodies

class xc.MapCMUgrids

Bases: xc.ModelComponentContainerBase

exists((MapCMUgrids)arg1, (int)arg2) → bool :
C++ signature :
bool exists(XC::ModelComponentContainer<XC::Body> {lvalue},unsigned long)
get((MapCMUgrids)arg1, (int)arg2) → Body :
C++ signature :
XC::Body* get(XC::ModelComponentContainer<XC::Body> {lvalue},unsigned long)
getKeys((MapCMUgrids)arg1) → list :
C++ signature :
boost::python::list getKeys(XC::ModelComponentContainer<XC::Body> {lvalue})
class xc.map_ugrids

Bases: xc.MapCMUgrids