SHAPER
9.12.0
|
Conical surface in 3D. More...
Public Member Functions | |
GEOMAPI_EXPORT | GeomAPI_Cone (const std::shared_ptr< GeomAPI_Pnt > &theApex, const std::shared_ptr< GeomAPI_Dir > &theAxis, const double theSemiAngle) |
Creation of infinite cone defined by apex, axis and semi-angle. More... | |
GEOMAPI_EXPORT | GeomAPI_Cone (const std::shared_ptr< GeomAPI_Pnt > &theLocation, const std::shared_ptr< GeomAPI_Dir > &theAxis, const double theSemiAngle, const double theRadius) |
Creation of semi-infinite cone by location and radius of reference circle, axis, semi-angle. More... | |
GEOMAPI_EXPORT | GeomAPI_Cone (const std::shared_ptr< GeomAPI_Pnt > &theLocation, const std::shared_ptr< GeomAPI_Dir > &theAxis, const double theSemiAngle, const double theRadius1, const double theRadius2) |
Creating of cone by location of reference circle, axis, semi-angle and radii of boundary circles. More... | |
GEOMAPI_EXPORT std::shared_ptr< GeomAPI_Pnt > | apex () const |
Return apex of the cone. More... | |
GEOMAPI_EXPORT std::shared_ptr< GeomAPI_Pnt > | location () const |
Return location of the cone (center of the circle nearest to the apex) More... | |
GEOMAPI_EXPORT std::shared_ptr< GeomAPI_Dir > | axis () const |
Return axis of the cone. More... | |
GEOMAPI_EXPORT double | semiAngle () const |
Return semi-angle of the cone. More... | |
GEOMAPI_EXPORT double | radius1 () const |
Return first radius of the cone or Precision::Infinite() if the cone is infinite. More... | |
GEOMAPI_EXPORT double | radius2 () const |
Return second radius of the cone or Precision::Infinite() if the cone is infinite. More... | |
GEOMAPI_EXPORT double | height () const |
Return height of the cone. More... | |
GEOMAPI_EXPORT bool | isSemiInfinite () const |
Return true is the cone is semi-infinite. More... | |
GEOMAPI_EXPORT bool | isInfinite () const |
Return true is the cone is infinite. More... | |
template<class T > | |
T * | implPtr () |
Returns the pointer to the impl. More... | |
template<class T > | |
const T * | implPtr () const |
Returns the pointer to the impl. More... | |
template<class T > | |
const T & | impl () const |
Returns the reference object of the impl. More... | |
template<class T > | |
void | setImpl (T *theImpl) |
Updates the impl (deletes the old one) More... | |
GEOMAPI_EXPORT bool | empty () const |
Returns true if the impl is empty. More... | |
Conical surface in 3D.
GeomAPI_Cone::GeomAPI_Cone | ( | const std::shared_ptr< GeomAPI_Pnt > & | theApex, |
const std::shared_ptr< GeomAPI_Dir > & | theAxis, | ||
const double | theSemiAngle | ||
) |
Creation of infinite cone defined by apex, axis and semi-angle.
GeomAPI_Cone::GeomAPI_Cone | ( | const std::shared_ptr< GeomAPI_Pnt > & | theLocation, |
const std::shared_ptr< GeomAPI_Dir > & | theAxis, | ||
const double | theSemiAngle, | ||
const double | theRadius | ||
) |
Creation of semi-infinite cone by location and radius of reference circle, axis, semi-angle.
GeomAPI_Cone::GeomAPI_Cone | ( | const std::shared_ptr< GeomAPI_Pnt > & | theLocation, |
const std::shared_ptr< GeomAPI_Dir > & | theAxis, | ||
const double | theSemiAngle, | ||
const double | theRadius1, | ||
const double | theRadius2 | ||
) |
Creating of cone by location of reference circle, axis, semi-angle and radii of boundary circles.
std::shared_ptr< GeomAPI_Pnt > GeomAPI_Cone::apex | ( | ) | const |
Return apex of the cone.
std::shared_ptr< GeomAPI_Pnt > GeomAPI_Cone::location | ( | ) | const |
Return location of the cone (center of the circle nearest to the apex)
std::shared_ptr< GeomAPI_Dir > GeomAPI_Cone::axis | ( | ) | const |
Return axis of the cone.
double GeomAPI_Cone::semiAngle | ( | ) | const |
Return semi-angle of the cone.
double GeomAPI_Cone::radius1 | ( | ) | const |
Return first radius of the cone or Precision::Infinite() if the cone is infinite.
double GeomAPI_Cone::radius2 | ( | ) | const |
Return second radius of the cone or Precision::Infinite() if the cone is infinite.
double GeomAPI_Cone::height | ( | ) | const |
Return height of the cone.
bool GeomAPI_Cone::isSemiInfinite | ( | ) | const |
Return true
is the cone is semi-infinite.
bool GeomAPI_Cone::isInfinite | ( | ) | const |
Return true
is the cone is infinite.
|
inlineinherited |
Returns the pointer to the impl.
|
inlineinherited |
Returns the pointer to the impl.
|
inlineinherited |
Returns the reference object of the impl.
|
inlineinherited |
Updates the impl (deletes the old one)
|
inherited |
Returns true if the impl is empty.