Table of contents Introduction Tutorial Main classes
Top Previous Up Next

Shape::Ring class reference
[Core module]

Declaration

#include <Goptical/Shape/Ring>

namespace Goptical {
namespace Shape {
class Ring;
};
};

This class is a member of the Shape namespace.

Inheritance








Description

This is a disk shape with a hole in center.

Members

See also the full member list section for this class.

Inherited members

  • 12 members inherited from Base

Functions

  • Ring (double radius, double hole_radius)
  • virtual Math::VectorPair2 get_bounding_box () const
  • virtual void get_contour (unsigned int contour, const Math::Vector2::put_delegate_t &f, double resolution) const
  • virtual unsigned int get_contour_count () const
  • double get_hole_radius () const
  • virtual double get_hole_radius (const Math::Vector2 &dir) const
  • virtual double get_outter_radius (const Math::Vector2 &dir) const
  • virtual void get_pattern (const Math::Vector2::put_delegate_t &v, const Trace::Distribution &d, bool unobstructed) const
  • double get_radius () const
  • virtual void get_triangles (const Math::Triangle<2>::put_delegate_t &f, double resolution) const
  • virtual bool inside (const Math::Vector2 &point) const
  • virtual double max_radius () const
  • virtual double min_radius () const
  • void set_radius (double radius, double hole_radius)

Members detail

Ring(double radius, double hole_radius)

Create a new ring with given external radius and hole radius.

Valid XHTML 1.0 StrictGenerated by diaxen on Sun Jan 8 00:47:24 2012 using MkDoc

AltStyle によって変換されたページ (->オリジナル) /