GameApi 28
Library used by GameApi Builder tool
Loading...
Searching...
No Matches
LineShape< C > Class Template Reference

#include <GraphI.hh>

Inheritance diagram for LineShape< C >:
Collaboration diagram for LineShape< C >:

Public Member Functions

 LineShape (int sizey, Point2d pp1, Point2d pp2, C left, C right)
int SizeY () const
int NumEdges (int y) const
float Edge (int y, int edge) const
float P_x (Point2d p1, Point2d p2, Point2d p3, Point2d p4)
float det (float a, float b, float c, float d)
C EdgeLeftSide (int y, int edge) const
C EdgeRightSide (int y, int edge) const
Public Member Functions inherited from SimpleShape< C >
virtual ~SimpleShape ()

Constructor & Destructor Documentation

◆ LineShape()

template<class C>
LineShape< C >::LineShape ( int sizey,
Point2d pp1,
Point2d pp2,
C left,
C right )
inline

Member Function Documentation

◆ det()

template<class C>
float LineShape< C >::det ( float a,
float b,
float c,
float d )
inline
Here is the caller graph for this function:

◆ Edge()

template<class C>
float LineShape< C >::Edge ( int y,
int edge ) const
inlinevirtual

Implements SimpleShape< C >.

◆ EdgeLeftSide()

template<class C>
C LineShape< C >::EdgeLeftSide ( int y,
int edge ) const
inlinevirtual

Implements SimpleShape< C >.

◆ EdgeRightSide()

template<class C>
C LineShape< C >::EdgeRightSide ( int y,
int edge ) const
inlinevirtual

Implements SimpleShape< C >.

◆ NumEdges()

template<class C>
int LineShape< C >::NumEdges ( int y) const
inlinevirtual

Implements SimpleShape< C >.

◆ P_x()

template<class C>
float LineShape< C >::P_x ( Point2d p1,
Point2d p2,
Point2d p3,
Point2d p4 )
inline
Here is the caller graph for this function:

◆ SizeY()

template<class C>
int LineShape< C >::SizeY ( ) const
inlinevirtual

Implements SimpleShape< C >.


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