#include <Goptical/Shape/Rectangle>
namespace Goptical {
namespace Shape {
class Rectangle;
};
};
This class is a member of the Shape namespace.
See also the full member list section for this class.
Create a rectangle with given width and height
Create a square with given side length
This virtual function implements the get_bounding_box pure function declared in the Base base abstract class.
Documentation inherited from base class:
Get shape bounding box
This virtual function implements the get_contour pure function declared in the Base base abstract class.
Documentation inherited from base class:
Get contour polygone points for specified contour id. First contour is always outter edge.
See also get_contour_count function.
This virtual function implements the get_contour_count pure function declared in the Base base abstract class.
Documentation inherited from base class:
Get number of contours polygones. This function returns value is greater than 1 if shape has hole(s).
See also get_contour function.
This virtual function implements the get_outter_radius pure function declared in the Base base abstract class.
Documentation inherited from base class:
Get distance between origin and farthest shape edge in specified direction
This virtual function overrides the get_pattern virtual function defined in the Base base abstract class.
Documentation inherited from base class:
Get points distributed on shape area with given pattern
This virtual function implements the get_triangles pure function declared in the Base base abstract class.
Documentation inherited from base class:
Get shape teselation triangles
This virtual function implements the inside pure function declared in the Base base abstract class.
Documentation inherited from base class:
Check if the (x,y) 2d point is inside 2d shape area
This virtual function implements the max_radius pure function declared in the Base base abstract class.
Documentation inherited from base class:
Get distance between origin and farthest shape edge
This virtual function implements the min_radius pure function declared in the Base base abstract class.
Documentation inherited from base class:
Get distance between origin and nearest shape outter edge
Valid XHTML 1.0 StrictGenerated by diaxen on Sun Jan 8 00:47:24 2012 using MkDoc