Spinning Topp Logo BlackTopp Studios
inc
Public Member Functions | Public Attributes | List of all members
Mezzanine::Graphics::Procedural::IntersectionInShape Struct Reference

Convenience class storing data on the point in a 2D shape where multiple segments intersect. More...

+ Collaboration diagram for Mezzanine::Graphics::Procedural::IntersectionInShape:

Public Member Functions

 IntersectionInShape (const Whole Index0, const Whole Index1, Vector2 Intersect)
 Class constructor. More...
 

Public Attributes

Whole Index [2]
 An Array storing indexes to points that are the first vertices of segments that intersect for each of the two shapes being processed.
 
Boole OnVertex [2]
 An Array storing whether the intersection is on or very near a vertex belonging to either shape being processed.
 
Vector2 Position
 The position of the intersection.
 

Detailed Description

Convenience class storing data on the point in a 2D shape where multiple segments intersect.

Definition at line 103 of file shape.cpp.

Constructor & Destructor Documentation

Mezzanine::Graphics::Procedural::IntersectionInShape::IntersectionInShape ( const Whole  Index0,
const Whole  Index1,
Vector2  Intersect 
)
inline

Class constructor.

Parameters
Index0The index of the first point.
Index1The index of the second point.
IntersectThe position of the intersection.

Definition at line 116 of file shape.cpp.


The documentation for this struct was generated from the following file: