QCAD
Open Source 2D CAD
Loading...
Searching...
No Matches
ON_Cone Class Reference

#include <opennurbs_cone.h>

Public Member Functions

double AngleInDegrees () const
 
double AngleInRadians () const
 
const ON_3dPointApexPoint () const
 
const ON_3dVectorAxis () const
 
ON_3dPoint BasePoint () const
 
ON_Circle CircleAt (double height_parameter) const
 
bool ClosestPointTo (ON_3dPoint point, double *radial_parameter, double *height_parameter) const
 
ON_3dPoint ClosestPointTo (ON_3dPoint) const
 
ON_BOOL32 Create (const ON_Plane &plane, double height, double radius)
 
ON_BOOL32 GetNurbForm (ON_NurbsSurface &) const
 
ON_BOOL32 IsValid () const
 
ON_Line LineAt (double radial_parameter) const
 
ON_3dVector NormalAt (double radial_parameter, double height_parameter) const
 
 ON_Cone ()
 
 ON_Cone (const ON_Plane &plane, double height, double radius)
 
ON_3dPoint PointAt (double radial_parameter, double height_parameter) const
 
ON_RevSurfaceRevSurfaceForm (ON_RevSurface *srf=NULL) const
 
ON_BOOL32 Rotate (double angle_in_radians, const ON_3dVector &axis_of_rotation)
 
ON_BOOL32 Rotate (double angle_in_radians, const ON_3dVector &axis_of_rotation, const ON_3dPoint &center_of_rotation)
 
ON_BOOL32 Rotate (double sin_angle, double cos_angle, const ON_3dVector &axis_of_rotation)
 
ON_BOOL32 Rotate (double sin_angle, double cos_angle, const ON_3dVector &axis_of_rotation, const ON_3dPoint &center_of_rotation)
 
ON_BOOL32 Transform (const ON_Xform &)
 
ON_BOOL32 Translate (const ON_3dVector &delta)
 
 ~ON_Cone ()
 

Public Attributes

double height
 
ON_Plane plane
 
double radius
 

Constructor & Destructor Documentation

◆ ON_Cone() [1/2]

ON_Cone::ON_Cone ( )

◆ ON_Cone() [2/2]

ON_Cone::ON_Cone ( const ON_Plane & plane,
double height,
double radius )

◆ ~ON_Cone()

ON_Cone::~ON_Cone ( )

Member Function Documentation

◆ AngleInDegrees()

double ON_Cone::AngleInDegrees ( ) const

◆ AngleInRadians()

double ON_Cone::AngleInRadians ( ) const

◆ ApexPoint()

const ON_3dPoint & ON_Cone::ApexPoint ( ) const

◆ Axis()

const ON_3dVector & ON_Cone::Axis ( ) const

◆ BasePoint()

ON_3dPoint ON_Cone::BasePoint ( ) const

◆ CircleAt()

ON_Circle ON_Cone::CircleAt ( double height_parameter) const

◆ ClosestPointTo() [1/2]

bool ON_Cone::ClosestPointTo ( ON_3dPoint point,
double * radial_parameter,
double * height_parameter ) const

◆ ClosestPointTo() [2/2]

ON_3dPoint ON_Cone::ClosestPointTo ( ON_3dPoint point) const

◆ Create()

ON_BOOL32 ON_Cone::Create ( const ON_Plane & plane,
double height,
double radius )

◆ GetNurbForm()

int ON_Cone::GetNurbForm ( ON_NurbsSurface & s) const

◆ IsValid()

ON_BOOL32 ON_Cone::IsValid ( ) const

◆ LineAt()

ON_Line ON_Cone::LineAt ( double radial_parameter) const

◆ NormalAt()

ON_3dVector ON_Cone::NormalAt ( double radial_parameter,
double height_parameter ) const

◆ PointAt()

ON_3dPoint ON_Cone::PointAt ( double radial_parameter,
double height_parameter ) const

◆ RevSurfaceForm()

ON_RevSurface * ON_Cone::RevSurfaceForm ( ON_RevSurface * srf = NULL) const

◆ Rotate() [1/4]

ON_BOOL32 ON_Cone::Rotate ( double angle_in_radians,
const ON_3dVector & axis_of_rotation )

◆ Rotate() [2/4]

ON_BOOL32 ON_Cone::Rotate ( double angle_in_radians,
const ON_3dVector & axis_of_rotation,
const ON_3dPoint & center_of_rotation )

◆ Rotate() [3/4]

ON_BOOL32 ON_Cone::Rotate ( double sin_angle,
double cos_angle,
const ON_3dVector & axis_of_rotation )

◆ Rotate() [4/4]

ON_BOOL32 ON_Cone::Rotate ( double sin_angle,
double cos_angle,
const ON_3dVector & axis_of_rotation,
const ON_3dPoint & center_of_rotation )

◆ Transform()

ON_BOOL32 ON_Cone::Transform ( const ON_Xform & xform)

◆ Translate()

ON_BOOL32 ON_Cone::Translate ( const ON_3dVector & delta)

Member Data Documentation

◆ height

double ON_Cone::height

◆ plane

ON_Plane ON_Cone::plane

◆ radius

double ON_Cone::radius

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