xc
Public Member Functions | Protected Member Functions | List of all members
AnnulusSector2d Class Reference

Sector de un anillo circular en dos dimensiones. More...

#include <AnnulusSector2d.h>

Inheritance diagram for AnnulusSector2d:
Inheritance graph
[legend]
Collaboration diagram for AnnulusSector2d:
Collaboration graph
[legend]

Public Member Functions

 AnnulusSector2d (const CircularSector2d &c, const double &inner_radius)
 Builds the object from its center and its radius.
 
virtual bool operator== (const AnnulusSector2d &) const
 Comparison operator.
 
virtual Surface2dgetCopy (void) const
 Constructor virtual.
 
virtual Pos2d getCenterOfMass (void) const
 Return the position of the center of mass.
 
Pos2d PInicInt (void) const
 Return the point inicial del arco interior.
 
Pos2d PInicExt (void) const
 Return the point inicial del arco exterior.
 
Pos2d PFinInt (void) const
 Return the point final del arco interior.
 
Pos2d PFinExt (void) const
 Return the point final del arco exterior.
 
Pos2d PMedInt (void) const
 Return the point medio del arco interior.
 
Pos2d PMedExt (void) const
 Return the point medio del arco exterior.
 
double outerRadius (void) const
 Return the outer radius.
 
const double & innerRadius (void) const
 
double & innerRadius (void)
 
virtual GEOM_FT getInteriorArcLength (void) const
 Return the length of the arco interior del sector de anillo circular.
 
virtual GEOM_FT getExteriorArcLength (void) const
 Return the length of the arco exterior del sector de anillo circular.
 
virtual GEOM_FT getLength (void) const
 Return the length of the object.
 
virtual GEOM_FT getArea (void) const
 Return the area of the object.
 
virtual GEOM_FT Ix (void) const
 Return el moment of inertia of the circular sector with respect to axis parallel to x que pasa por su centro. More...
 
virtual GEOM_FT Iy (void) const
 Return el moment of inertia of the circular sector with respect to axis parallel to y que pasa por su centro. More...
 
virtual GEOM_FT Pxy (void) const
 Return el product of inertia of the circular sector with respect to the axis parallel to x e y que pasan por su centro. More...
 
virtual GEOM_FT Iz (void) const
 Return el moment of inertia of the circular sector with respect to axis parallel to z que pasa por su centro. More...
 
virtual GEOM_FT GetMax (unsigned short int i) const
 Return the maximum value of the i coordinate of the object points.
 
virtual GEOM_FT GetMin (unsigned short int i) const
 Return el valor mínimo of the i coordinate of the object points.
 
virtual bool In (const Pos2d &p, const double &tol=0.0) const
 Return true if the point is inside the object.
 
Pos2dArray getExtArcPoints (const size_t &n) const
 
Pos2dArray getIntArcPoints (const size_t &n) const
 
Pos2dArray getPointsOnPerimeter (const size_t &n) const
 Return n points equally spaced over the object perimeter.
 
Pos2dArray genMesh (const size_t &m, const size_t &n) const
 Returns a point mesh equiespaciados sobre el sector del anillo circular.
 
Polygon2d getPolygon2d (const size_t &n) const
 
void Print (std::ostream &os) const
 
- Public Member Functions inherited from CircularSector2d
 CircularSector2d (void)
 Default constructor.
 
 CircularSector2d (const Circle2d &c, const double &th1, const double &th2, bool ckwise=false)
 Build the circle from its center and its radius.
 
 CircularSector2d (const Pos2d &p1, const Pos2d &p2, const Pos2d &p3)
 Build the circle from three points.
 
virtual bool operator== (const CircularSector2d &) const
 Comparison operator.
 
virtual Pos2d ArcCentroid (void) const
 Return the position of the arc centroid.
 
Pos2d PInic (void) const
 Return the point inicial del arco.
 
Pos2d PFin (void) const
 Return the point final del arco.
 
Pos2d PMed (void) const
 Return the mid-point of the arc.
 
const double & Theta1 (void) const
 
double & Theta1 (void)
 
const double & Theta2 (void) const
 
double & Theta2 (void)
 
double getAngle (const Pos2d &p) const
 Return the angle between the line from the center of the circle to the point p and the line from the center of the circle to the sector start point. More...
 
double getLambda (const Pos2d &) const
 Returns the parameter of the point in the arc (distance to the arc's first point measured over the arc)
 
double getIncludedAngle (void) const
 Return the included angle.
 
virtual GEOM_FT getArcLength (void) const
 Return the length of the arc.
 
Pos2dArray getArcPoints (const size_t &n) const
 Return n points equally spaced over the arc of the circular sector. More...
 
boost::python::list getArcPointsPy (const size_t &n) const
 Return a Python list containing the points that results from the division of the arc. More...
 
CircularSector2d offset (const GEOM_FT &) const
 Return a circular sector parallel to this one at the distance being passed as parameter. More...
 
void Print (std::ostream &os) const
 
void Plot (Plotter &) const
 
- Public Member Functions inherited from Circle2d
 Circle2d (const Pos2d &centro, const GEOM_FT &rad)
 Build the circle from its center and its radius.
 
 Circle2d (const GEOM_FT &rad2, const Pos2d &centro)
 Build the circle from its center and its squared radius.
 
 Circle2d (const Pos2d &p1, const Pos2d &p2, const Pos2d &p3)
 Build the circle from three points. More...
 
Pos2d Centro (void) const
 
Pos2d Point (const double &ang) const
 Return the point of the circle that corresponds to the parameter angle. More...
 
GEOM_FT getSquaredRadius (void) const
 
GEOM_FT getRadius (void) const
 Return the radius of the circle.
 
GEOM_FT getDiameter (void) const
 
GEOM_FT getPerimeter (void) const
 Return the perimeter of the object.
 
virtual GEOM_FT getVolume (void) const
 Return the volume of the object.
 
Pos2dArray getPointsOnPerimeter (const size_t &n, const double &theta_inic=0.0) const
 Return n points equally spaced over the cicumference.
 
Polygon2d getInscribedPolygon (const size_t &n, const double &theta_inic=0.0) const
 Return the n-gon inscribed int the circle.
 
void Transform (const Trf2d &trf2d)
 Aplica al objeto la transformación que se pasa como parámetro. More...
 
Circle2d offset (const GEOM_FT &) const
 Return a circle parallel to this one at the distance being passed as parameter. More...
 
- Public Member Functions inherited from Surface2d
virtual unsigned short int Dimension (void) const
 Return the dimension of the object 0, 1, 2 or 3.
 
GEOM_FT getPerimeter (void) const
 Return the object perimeter.
 
virtual GEOM_FT IArea (void) const
 
- Public Member Functions inherited from GeomObj2d
GEOM_FT GetXMax (void) const
 
GEOM_FT GetYMax (void) const
 
GEOM_FT GetXMin (void) const
 
GEOM_FT GetYMin (void) const
 
Pos2d getPMax (void) const
 
Pos2d getPMin (void) const
 
virtual Pos2d Projection (const Pos2d &) const
 Return the orthogonal projection onto the line. More...
 
virtual Vector2d Projection (const Vector2d &) const
 Return the projection onto the line. More...
 
BND2d Bnd (void) const
 Return the bounding rectangle.
 
virtual bool Out (const Pos2d &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...
 
double Theta_p (void) const
 Return the angle of one of the principal axis of inertia.
 
Dir2d IAxisDir_a (void) const
 Return the dirección de un principal axis of inertia (we don't know if it's the major or the minor yet). More...
 
Dir2d IAxisDir_b (void) const
 Return the direction of the other principal axis of inertia (we don't know if it's the major or the minor yet). More...
 
Line2d IAxis_a (void) const
 Return un principal axis of inertia (no sabemos si el mayor o el menor.
 
Line2d IAxis_b (void) const
 Return un principal axis of inertia (no sabemos si el mayor o el menor.
 
Ref2d2d PrincipalAxesOfInertia (void) const
 Return los principal axis of inertia.
 
GEOM_FT I1 (void) const
 Return the moment of inertia principal mayor.
 
GEOM_FT I2 (void) const
 Return the moment of inertia principal menor.
 
PrincipalAxesOfInertia2D Inertia (void)
 
GEOM_FT I (const unsigned short int &i, const unsigned short int &j) const
 Return the componente i,j of the inertia tensor computed with respect to the center of mass. More...
 
GEOM_FT I (const Pos2d &O, const Vector2d &e) const
 Return the moment of inertia with respect to the axis that passes through O with the direction of e. More...
 
GEOM_FT 
GEOM_FT AnnulusSector2d::Pxy ( void  ) const
virtual

Return el product of inertia of the circular sector with respect to the axis parallel to x e y que pasan por su centro.

Reimplemented from CircularSector2d.


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