Open CASCADE Technology 6.6.0
|
defines ConeFrustum, Type <156> Form Number <0>
in package IGESSolid
The Cone Frustum is defined by the center of the
larger circular face of the frustum, its radius, a unit
vector in the axis direction, a height in this direction
and a second circular face with radius which is lesser
than the first face.
#include <IGESSolid_ConeFrustum.hxx>
Public Member Functions | |
IGESSolid_ConeFrustum () | |
void | Init (const Standard_Real Ht, const Standard_Real R1, const Standard_Real R2, const gp_XYZ &Center, const gp_XYZ &anAxis) |
This method is used to set the fields of the class ConeFrustum | |
Standard_Real | Height () const |
returns the height of the cone frustum | |
Standard_Real | LargerRadius () const |
returns the radius of the larger face of the cone frustum | |
Standard_Real | SmallerRadius () const |
returns the radius of the second face of the cone frustum | |
gp_Pnt | FaceCenter () const |
returns the center of the larger face of the cone frustum | |
gp_Pnt | TransformedFaceCenter () const |
returns the center of the larger face of the cone frustum after applying TransformationMatrix | |
gp_Dir | Axis () const |
returns the direction of the axis of the cone frustum | |
gp_Dir | TransformedAxis () const |
returns the direction of the axis of the cone frustum after applying TransformationMatrix |
IGESSolid_ConeFrustum::IGESSolid_ConeFrustum | ( | ) |
gp_Dir IGESSolid_ConeFrustum::Axis | ( | ) | const |
gp_Pnt IGESSolid_ConeFrustum::FaceCenter | ( | ) | const |
Standard_Real IGESSolid_ConeFrustum::Height | ( | ) | const |
void IGESSolid_ConeFrustum::Init | ( | const Standard_Real | Ht, |
const Standard_Real | R1, | ||
const Standard_Real | R2, | ||
const gp_XYZ & | Center, | ||
const gp_XYZ & | anAxis | ||
) |
Standard_Real IGESSolid_ConeFrustum::LargerRadius | ( | ) | const |
Standard_Real IGESSolid_ConeFrustum::SmallerRadius | ( | ) | const |
gp_Dir IGESSolid_ConeFrustum::TransformedAxis | ( | ) | const |
gp_Pnt IGESSolid_ConeFrustum::TransformedFaceCenter | ( | ) | const |