16 #ifndef __TY_ACOUSTIC_RECTANGLE_FROM_CYLINDER__
17 #define __TY_ACOUSTIC_RECTANGLE_FROM_CYLINDER__
Represents an acoustic rectangle arising from the discretization of the curved surface of a TYAcousti...
TYAcousticRectangleFromCylinder(double cylinderRadius, double cylinderHeight, const OPoint3D &cylinderCenter, const OVector3D &cylinderAxis)
double getRadius() const
Provide the radius of the cylinder.
OPoint3D getCenterInRefCoordSystem(const TYGeometryNode &refCoordSystem) const
Provide a point along the axis of the cylinder in the reference coordinate system.
OVector3D getAxisInRefCoordSystem(const TYGeometryNode &refCoordSystem) const
Provide a vector colinear to the axis of the cylinder in the reference coordinate system.
double getVerticalExtensionInRefCoordSystem(const TYGeometryNode &refCoordSystem) const override
Compute the vertical extension of the surface. For a cylinder, the vertical extension is its height r...
double getHorizontalExtensionInRefCoordSystem(const TYGeometryNode &refCoordSystem) const override
Compute the horizontal extension of the surface. For a cylinder, the horizontal extension is its diam...
OMatrix localToGlobal() const