xc
Public Member Functions | Protected Member Functions | Friends | List of all members

Deformation plane for a cross-section. More...

#include <DeformationPlane.h>

Inheritance diagram for XC::DeformationPlane:
Inheritance graph
[legend]
Collaboration diagram for XC::DeformationPlane:
Collaboration graph
[legend]

Public Member Functions

 DeformationPlane (const Pos3d &p1, const Pos3d &p2, const Pos3d &p3)
 
 DeformationPlane (const Plane &)
 
 DeformationPlane (const Pos2d &yz1, const double &e_1, const Pos2d &yz2, const double &e_2, const Pos2d &yz3, const double &e_3)
 Strains at three fibers.
 
 DeformationPlane (const double &eps=0.0)
 Constant strain over the section.
 
 DeformationPlane (const Vector &)
 
double Strain (const Pos2d &p) const
 Return the strain of the fiber at the position being passed as parameter. More...
 
const VectorgetDeformation (void) const
 Returns the generalized strains vector (epsilon, zCurvature, yCurvature).
 
void setDeformation (const Vector &)
 Set the generalized strains vector. More...
 
const VectorgetDeformation (const size_t &, const ResponseId &) const
 Returns the generalized strains vector. More...
 
boost::python::list getGeneralizedStrainsPy (const boost::python::list &) const
 
void ConstantStrain (const double &)
 
Line2d getNeutralAxis (void) const
 Return the neutral axis.
 
Pos2d getPointOnTensionedHalfPlane (void) const
 Returns (if possible) a point in the tensioned side of the cross-section. More...
 
Pos2d getPointOnCompressedHalfPlane (void) const
 Returns (if possible) a point in the compressed zone.
 
HalfPlane2d getTensionedHalfPlane (void) const
 Returns the tensioned half-plane.
 
HalfPlane2d getTensionedHalfPlane (const Line2d &) const
 Returns the half plane which border is the line being passed as parameter and is contained in the half plane in traction. More...
 
HalfPlane2d getCompressedHalfPlane (void) const
 Returns the compressed half plane.
 
HalfPlane2d getCompressedHalfPlane (const Line2d &) const
 Returns the compressed half-plane.
 
int sendSelf (Communicator &)
 Sends object through the communicator argument.
 
int recvSelf (const Communicator &)
 Receives object through the communicator argument.
 
- Public Member Functions inherited from Plane
 Plane (const CGPlane_3 &cgp)
 
 Plane (const Pos3d &p1, const Pos3d &p2, const Pos3d &p3)
 Constructor: plane defined by three points.
 
 Plane (const Pos3d &o, const Vector3d &v)
 Constructor: plane defined by the point and the normal vector.
 
 Plane (const Pos3d &p, const Vector3d &v1, const Vector3d &v2)
 Constructor.
 
 Plane (const Line3d &r, const Pos3d &p)
 Constructor.
 
 Plane (const Segment3d &s, const Vector3d &v)
 Constructor.
 
 Plane (const Polygon3d &trg)
 Constructor.
 
 Plane (const GeneralEquationOfPlane &eg)
 Constructor.
 
 Plane (const GeomObj3d::list_Pos3d &lp)
 Constructor.
 
 Plane (const boost::python::list &)
 Constructor (Python interface).
 
template<typename InputIterator >
 Plane (InputIterator begin, InputIterator end)
 
virtual bool operator== (const Plane &) const
 Comparison operator.
 
virtual GeomObjgetCopy (void) const
 
const CGPlane_3 & ToCGAL (void) const
 
void ThreePoints (const Pos3d &p1, const Pos3d &p2, const Pos3d &p3)
 
virtual GEOM_FT GetMax (unsigned short int) const
 Return the maximum value of the i-th coordinate.
 
virtual GEOM_FT GetMin (unsigned short int i) const
 Return the minimum value of the i-th coordinate.
 
Pos3d Projection (const Pos3d &) const
 Return the projection of the point onto this plane.
 
Vector3d Projection (const Vector3d &) const
 Return the projection of the vector onto this plane.
 
Line3d Projection (const Line3d &) const
 Return the projection of the line onto this plane.
 
Ray3d Projection (const Ray3d &) const
 Return the projection of the ray on the plane.
 
Segment3d Projection (const Segment3d &) const
 Return the projection of the ray on the plane.
 
GeomObj3d::list_Pos3d Projection (const GeomObj3d::list_Pos3d &) const
 
virtual Vector3d Normal (void) const
 Return el normal vector oriented to the "positive" side.
 
Vector3d Base1 (void) const
 Return un vector ortogonal al devuelto por Normal().
 
Vector3d Base2 (void) const
 Return un vector ortogonal al devuelto por Normal() y al devuelto por Base1().
 
Rect2d3dCooSys getCooSys (void) const
 Return a coordinate system whose XY plane corresponds to this one. More...
 
Ref2d3d getRef (void) const
 Return a reference frame whose XY plane corresponds to this one. More...
 
void swap (void)
 
Plane getSwap (void) const
 
bool positiveSide (const Pos3d &p) const
 
bool negativeSide (const Pos3d &p) const
 
int getSide (const Pos3d &p) const
 Return 1 if point in positive side, -1 if in negative side or 0 otherwise. More...
 
virtual bool In (const Pos3d &p, const GEOM_FT &tol=0.0) const
 Return true if the point is in the plane. More...
 
CGAL::Oriented_side ClassifyPoint (const Pos3d &p) const
 
template<typename InputIterator >
polygon_classification ClassifyPoints (InputIterator first, InputIterator last) const
 
polygon_classification classifyPolygon (const Polygon3d &pol) const
 
GEOM_FT PseudoDist (const Pos3d &p) const
 Return the signed distance from the point.
 
GEOM_FT PseudoDist2 (const Pos3d &p) const
 Return the signed squared distance from the point.
 
virtual GEOM_FT dist2 (const Pos3d &p) const
 Return the squared distance from the point.
 
virtual GEOM_FT dist (const Pos3d &p) const
 Return the distance from the point to this surface.
 
void Put (const Pos3d &p1, const Pos3d &p2, const Pos3d &p3)
 Set the points that define the plane.
 
GeneralEquationOfPlane getGeneralEquation (void) const
 Returns the plane equation in general form: ax + by + cz + d = 0.
 
void GeneralEquation (const GeneralEquationOfPlane &eq)
 Creates a Plane object from the its equation in general form: general ax + by + cz + d = 0.
 
GEOM_FT x (const Pos2d &p) const
 Return the x coordinate of the point of the plane such: y = p.x() z = p.y()
 
GEOM_FT y (const Pos2d &p) const
 Return the y coordinate of the point of the plane such: x = p.x() z = p.y()
 
GEOM_FT z (const Pos2d &p) const
 Return the z coordinate of the point of the plane such: x = p.x() y = p.y()
 
virtual Pos3d getCenterOfMass (void) const
 Return the position of the centroid. More...
 
Pos3d Point (void) const
 Return an arbitrary point on the plane.
 
virtual GEOM_FT Ix (void) const
 Moment of inertia with respect to the center of mass in local coordinates.
 
virtual GEOM_FT Iy (void) const
 Moment of inertia with respect to the center of mass in local coordinates.
 
virtual GEOM_FT Iz (void) const
 Moment of inertia with respect to the center of mass in local coordinates.
 
Line3d XYTrace (void) const
 Return the trace on the XY plane.
 
Line3d XZTrace (void) const
 Return the trace on the XZ plane.
 
Line3d YZTrace (void) const
 Return the trace on the YZ plane.
 
Line3d getMaximumSlopeLineXY (void) const
 Return the maximum slope line with respect to the XY plane.
 
Line3d getMaximumSlopeLineXZ (void) const
 Return the maximum slope line with respect to the XZ plane.
 
Line3d getMaximumSlopeLineYZ (void) const
 Return the maximum slope line with respect to the YZ plane.
 
bool intersects (const Plane &p) const
 Returns true if intersection exists.
 
Line3d getIntersection (const Plane &p) const
 Returns (if exists) the intersection with the plane argument.
 
bool intersects (const Line3d &p) const
 Return true if the plane intersects the line argument.
 
Pos3d getIntersection (const Line3d &p) const
 Return (if exists) the intersection with the line argument.
 
bool intersects (const Ray3d &p) const
 Return verdadero if exists the intersection with the line argument.
 
Pos3d getIntersection (const Ray3d &p) const
 Return (if exists) the intersection with the ray argument.
 
bool intersects (const Segment3d &p) const
 Return true if the intersection with the segment argument exists. More...
 
Pos3d getIntersection (const Segment3d &p) const
 Return (if exists) the intersection with the segment argument.
 
bool intersects (const Polygon3d &p) const
 Returns true if intersection exists.
 
Segment3d getIntersection (const Polygon3d &p) const
 Returns (if exists) the intersection with the plane argument.
 
GEOM_FT getAngle (const Plane &p) const
 Return the angle between this plane and the argument.
 
GEOM_FT getAngle (const Vector3d &) const
 Return the angle between this plane and the argument.
 
GEOM_FT getAngle (const Line3d &) const
 Returns the angle with the line argument.
 
GEOM_FT getAngle (const Ray3d &) const
 Returns the angle with the ray argument.
 
GEOM_FT getAngle (const Segment3d &) const
 Returns angle with another line segment.
 
GEOM_FT getSlopeAngleXY (void) const
 Returns the slope angle with respect to the XY plane.
 
GEOM_FT getSlopeAngleXZ (void) const
 Returns the slope angle with respect to the XZ plane.
 
GEOM_FT getSlopeAngleYZ (void) const
 Returns the slope angle with respect to the YZ plane.
 
GEOM_FT linearLeastSquaresFitting (const GeomObj3d::list_Pos3d &lp)
 Compute the plane that best suits the point cloud.
 
template<typename InputIterator >
GEOM_FT linearLeastSquaresFitting (InputIterator begin, InputIterator end)
 Compute the plane that best suits the point cloud.
 
void Print (std::ostream &os) const
 
- Public Member Functions inherited from Surface3d
virtual unsigned short int Dimension (void) const
 Return the dimension of the object 0, 1, 2 or 3.
 
virtual GEOM_FT getLength (void) const
 Return the length of the object.
 
GEOM_FT getPerimeter (void) const
 
virtual GEOM_FT getArea (void) const
 Return the object area.
 
virtual GEOM_FT getVolume (void) const
 Return the volume of the object.
 
virtual GEOM_FT IArea (void) const
 
- Public Member Functions inherited from GeomObj3d
GEOM_FT GetXMax (void) const
 
GEOM_FT GetYMax (void) const
 
GEOM_FT GetZMax (void) const
 
GEOM_FT GetXMin (void) const
 
GEOM_FT GetYMin (void) const
 
GEOM_FT GetZMin (void) const
 
virtual void XProjection (void)
 
virtual void YProjection (void)
 
virtual void ZProjection (void)
 
Pos3d getPMax (void) const
 
Pos3d getPMin (void) const
 
BND3d Bnd (void) const
 Return the boundary of the object.
 
virtual bool In (const Pos3d &p, const double &tol=0.0) const
 Return true if point lies inside the object.
 
virtual bool Out (const Pos3d &p, const double &tol=0.0) const
 Return true if the point lies outside the object.
 
virtual GEOM_FT getCenterOfMassFactor (void) const
 Return the factor used for the computation of the center of mass (1.0 by default). More...
 
virtual GEOM_FT Pxy (void) const
 
virtual GEOM_FT Pxz (void) const
 
virtual GEOM_FT Pyz (void) const
 
GEOM_FT I (const unsigned short int &i, const unsigned short int &j) const
 
GEOM_FT I (const Pos3d &O, const Vector3d &e) const
 Return el moment of inertia with respect to the axis that passes through O with the direction of e. More...
 
GEOM_FT I (const Line3d &r) const
 Return el moment of inertia with respect to the argument line.
 
GEOM_FT I (const unsigned short int i, const unsigned short int j, const Pos3d &o) const
 Return el moment of inertia (i,j) respect to the axis parallel to i through o. More...
 
GEOM_FT IO (const Pos3d &o) const
 Return the polar moment of inertia with respect to the point o.
 
FT_matrix I (void) const
 Return the inertia tensor with respect to the center of mass of the object. More...
 
FT_matrix I (const Pos3d &o) const
 Return the inertia tensor with respect to the point o.
 
- Public Member Functions inherited from GeomObj
 GeomObj (void)
 Constructor.
 
virtual bool hasCenterOfMass (void) const
 Return true if the object has a center of mass.
 
GEOM_FT getCenterOfMassArea (void) const
 Return the dimension used to compute the center of mass, as follows: More...
 
virtual void Plot (Plotter &) const
 
- Public Member Functions inherited from ProtoGeom
 ProtoGeom (void)
 False when solution is not possible: intersection of parallel planes. More...
 
void setExists (bool e)
 
bool exists (void) const
 
boost::python::dict getPyDict (void) const
 Return a Python dictionary with the object members values.
 
void setPyDict (const boost::python::dict &)
 Set the values of the object members from a Python dictionary.
 
- Public Member Functions inherited from CommandEntity
 CommandEntity (CommandEntity *owr=nullptr)
 Default constructor.
 
CommandEntityOwner (void)
 Return a pointer to the object owner.
 
const CommandEntityOwner (void) const
 Return un puntero al objeto propietario de ESTE.
 
const StandardOutputWrappergetStandardOutputWrapper (void) const
 Return the regular output stream wrapper.
 
StandardOutputWrappergetStandardOutputWrapper (void)
 Return the regular output stream wrapper.
 
const std::string & getLogFileName (void) const
 Returns log file name.
 
void setLogFileName (const std::string &)
 Sets log file name.
 
const std::string & getErrFileName (void) const
 Returns err file name.
 
void setErrFileName (const std::string &)
 Sets error file name.
 
const std::string & getOutputFileName (void) const
 Returns regular output file name.
 
void setOutputFileName (const std::string &)
 Sets regular output file name.
 
boost::python::object evalPy (boost::python::object dict, const std::string &)
 Return the Python object that results from evaluating the argument.
 
boost::python::object execPy (boost::python::object dict, const std::string &)
 Return the Python objects that results from executing the code in the string argument.
 
boost::python::object execFilePy (boost::python::object dict, const std::string &)
 Return the Python object that results from executing the code in the file.
 
- Public Member Functions inherited from EntityWithProperties
 EntityWithProperties (EntityWithProperties *owr=nullptr)
 Default constructor.
 
virtual bool operator== (const EntityWithProperties &) const
 Comparison operator.
 
void clearPyProps (void)
 Clear python properties map.
 
bool hasPyProp (const std::string &)
 Returns true if property exists.
 
boost::python::object getPyProp (const std::string &str)
 Return the Python object with the name being passed as parameter.
 
void setPyProp (std::string str, boost::python::object val)
 Sets/appends a value tho the Python object's dictionary.
 
void copyPropsFrom (const EntityWithProperties &)
 Copy the properties from the argument.
 
boost::python::list getPropNames (void) const
 Return the names of the object properties weightings.
 
const PythonDict & getPropertiesDict (void) const
 Return a std::map container with the properties of the object.
 
boost::python::dict getPyDict (void) const
 Return a Python dictionary containing the object members values.
 
void setPyDict (const boost::python::dict &)
 Set the values of the object members from a Python dictionary.
 
- Public Member Functions inherited from EntityWithOwner
 EntityWithOwner (EntityWithOwner *owr=nullptr)
 Default constructor.
 
 EntityWithOwner (const EntityWithOwner &)
 Copy constructor.
 
EntityWithOwneroperator= (const EntityWithOwner &)
 Assignment operator.
 
virtual bool operator== (const EntityWithOwner &) const
 Comparison operator.
 
virtual ~EntityWithOwner (void)
 Virtual destructor.
 
virtual std::string getClassName (void) const
 Returns demangled class name.
 
void set_owner (EntityWithOwner *owr)
 Assigns the owner of the object.
 
EntityWithOwnerOwner (void)
 
const EntityWithOwnerOwner (void) const
 
- Public Member Functions inherited from XC::MovableObject
 MovableObject (int classTag, int dbTag)
 Constructor. More...
 
 MovableObject (int classTag)
 Constructor. More...
 
 MovableObject (const MovableObject &)
 Copy constructor. Doesn't copy the dbTag.
 
MovableObjectoperator= (const MovableObject &)
 Assignment operator. Doesn't copy the dbTag.
 
int getClassTag (void) const
 Return the class identifier.
 
int getDbTag (void) const
 Return the object identifier in the database.
 
int getDbTag (Communicator &)
 Return the object identifier in the database.
 
void setDbTag (int dbTag)
 Sets the object identifier in the database.
 
void setDbTag (Communicator &)
 Sets the object identifier in the database if not already set. More...
 
virtual int setParameter (const std::vector< std::string > &argv, Parameter &param)
 Sets the value param to the parameter argv.
 
virtual int updateParameter (int parameterID, Information &info)
 Updates the parameter identified by parameterID with info.
 
virtual int activateParameter (int parameterID)
 Activates the parameter identified by parameterID.
 
virtual int setVariable (const std::string &variable, Information &)
 Set the value of the variable idenfified by var.
 
virtual int getVariable (const std::string &variable, Information &)
 Return the value of the variable idenfified by var.
 
- Public Member Functions inherited from XC::DistributedBase
 DistributedBase (void)
 Constructor.
 
virtual ~DistributedBase (void)
 Destructor.
 
virtual DbTagDatagetDbTagData (void) const
 Returns a vector to store class dbTags.
 
const int & getDbTagDataPos (const int &i) const
 Returns the data at the i-th position.
 
void setDbTagDataPos (const int &i, const int &v)
 Sets the data at the i-th position.
 
void inicComm (const int &dataSize) const
 Initializes communication.
 

Protected Member Functions

bool check_positions (const Pos2d &, const Pos2d &, const Pos2d &)
 
bool check_positions (const Pos3d &, const Pos3d &, const Pos3d &)
 
int sendData (Communicator &)
 Send object members through the communicator argument.
 
int recvData (const Communicator &)
 Receives object members through the communicator argument.
 
- Protected Member Functions inherited from CommandEntity
template<class T >
void string_to (T &, const std::string &) const
 

Friends

class SectionForceDeformation
 
class FiberPtrDeque
 
class FiberSectionBase
 

Additional Inherited Members

- Public Types inherited from Plane
enum  polygon_classification { AHEAD, BEHIND, INSIDE, CROSSES }
 
- Public Types inherited from GeomObj3d
typedef PolyPos< Pos3dlist_Pos3d
 
- Public Types inherited from GeomObj
typedef PolyPos< Pos3dlist_Pos3d
 
typedef PolyPos< Pos2dlist_Pos2d
 
- Public Types inherited from EntityWithProperties
typedef std::map< std::string, boost::python::object > PythonDict
 
- Static Public Member Functions inherited from CommandEntity
static void resetStandardOutput (void)
 Reset the standard output streams to its defaults buffers.
 
- Static Public Member Functions inherited from EntityWithOwner
static int getVerbosityLevel (void)
 Get the value of the verbosity level.
 
static void setVerbosityLevel (const int &)
 Set the value of the verbosity level.
 
- Static Protected Member Functions inherited from Plane
static polygon_classification clfpnt2clfpol (const CGAL::Oriented_side os)
 Converts the point classification to the polygon one.
 
- Static Protected Member Functions inherited from CommandEntity
static CommandEntityentcmd_cast (boost::any &data)
 
- Static Protected Attributes inherited from EntityWithOwner
static int verbosity = 1
 Object that owns THIS ONE. More...
 

Detailed Description

Deformation plane for a cross-section.

Member Function Documentation

◆ getDeformation()

const XC::Vector & XC::DeformationPlane::getDeformation ( const size_t &  order,
const ResponseId rId 
) const

Returns the generalized strains vector.

Parameters
orderdimension of the problem (1, 2 or 3).
rIdstiffness material contribution response identifiers.

◆ getPointOnTensionedHalfPlane()

Pos2d XC::DeformationPlane::getPointOnTensionedHalfPlane ( void  ) const

Returns (if possible) a point in the tensioned side of the cross-section.

◆ getTensionedHalfPlane()

HalfPlane2d XC::DeformationPlane::getTensionedHalfPlane ( const Line2d r) const

Returns the half plane which border is the line being passed as parameter and is contained in the half plane in traction.

◆ setDeformation()

void XC::DeformationPlane::setDeformation ( const Vector genStrains)

Set the generalized strains vector.

Parameters
genStrainsgeneralized strains vector (epsilon, zCurvature, yCurvature).

◆ Strain()

double XC::DeformationPlane::Strain ( const Pos2d p) const

Return the strain of the fiber at the position being passed as parameter.


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