Home | All Classes | Grouped Classes | Index | Search
Collision detection outline. More...
Derived from:
none
Derived by:
none
Group: Display (Collision)
#include <ClanLib/display.h>
Construction:
Construct a collision outline.  | 
Attributes:
Returns the contour used as an object bounding box. (an rotated rectangle)  | |
Returns the radius of the outline.  | |
Returns true if completely-inside test is used.  | |
Returns the contours in the outline.  | |
Returns the position of the outline.  | |
Returns the scaling factor.  | |
Returns the rotation angle.  | |
Returns the width of the image this outline was created from.  | |
Returns the height of the image this outline was created from.  | |
Get the translation origin and hotspot of the outline.  | |
Get the rotation hotspot of the outline.  | |
Return the info about the collisions. (collision points, normals, pointers to contours, and indexes to lines that intersected)  | |
Fetch the state of the collision testing variables.  | |
Resource owning this outline, if any.  | 
Operations:
Assignment operator  | |
Optimize the outline by removing redundant points.  | |
Draw outline on graphic context.  | |
Draw the subcircles surrounding the linesegments on graphic context.  | |
Draw the disc enclosing the entire outline.  | |
Set the translation hotspot of the outline.  | |
Set the rotation hotspot of the outline.  | |
Set the position of the outline.  | |
Set the scale of the outline.  | |
Set the angle (in degrees) of the outline.  | |
Rotate the outline by angle (in degrees).  | |
Set to true if completely-inside test should be done  | |
Enable collision info gathering.  | |
This will set the collision info of the outline  | |
This will empty the collision-info vector  | |
(Re)calculate the radius of the outline.  | |
(Re)calculate the subcircle segmentation of the outline.  | |
(Re)calculate the smallest circles enclosing every contour in the outline.  | |
(Re)calculate the convex hull for every contour in the outline  | |
Write the outline to a file.  | |
Returns true if outlines overlap  | |
Will calculate the penetration_depth and penetration_normal for all colliding contours.  | |
Returns true if a point is inside the outline.  | 
Detailed description:
!group=Display/Collision ! !header=display.h!A collision outline is used in collision detection