#include <Conic.h>
Inheritance diagram for Conic:

Public Methods | |
| Conic ( const Point& o, const Vector& a, double radius, double slope ) | |
| specify origin, axis, radius at origin, slope of radius. More... | |
| virtual double | how_near ( const Point& x ) const |
| signed function giving minimum distance to the surface: surface is actually defined by zero. More... | |
| virtual double | distance ( const Point& x ,const Vector& v, int ) const |
| distance along direction v from point x to enter or leave the surface. More... | |
| virtual Vector | normal ( const Point& x ) const |
| returns normal-vector at Point x, gradient of howNear function. More... | |
| const Vector& | axis () const |
| double | radius (double z=0) const |
| virtual const char* | nameOf () const |
| makes name available to subclasses using the type info facility. More... | |
| virtual void | printOn ( std::ostream& os = std::cout ) const |
| print info about this object. More... | |
Private Attributes | |
| double | m_slope |
| double | m_radius |
Definition at line 12 of file Conic.h.
|
|
specify origin, axis, radius at origin, slope of radius.
|
|
|
|
|
|
distance along direction v from point x to enter or leave the surface.
Reimplemented from Surface. |
|
|
signed function giving minimum distance to the surface: surface is actually defined by zero. The distance will be positive if the point is inside the Plane, negative if the point is outside. Reimplemented from Surface. |
|
|
makes name available to subclasses using the type info facility.
Reimplemented from GeomObject. |
|
|
returns normal-vector at Point x, gradient of howNear function.
Reimplemented from Surface. |
|
|
print info about this object.
Reimplemented from GeomObject. |
|
|
|
|
|
|
|
|
|
1.2.3 written by Dimitri van Heesch,
© 1997-2000