Drag[en]gine Game Engine  1.0
decCurveBezierPoint Class Reference

Bezier Curve Point. More...

#include <decCurveBezierPoint.h>

Public Member Functions

Constructors and Destructors
 decCurveBezierPoint ()
 Create a new bezier curve point. More...
 
 decCurveBezierPoint (const decVector2 &point)
 Create a new bezier curve point. More...
 
 decCurveBezierPoint (const decVector2 &point, const decVector2 &handle1, const decVector2 &handle2)
 Create a new bezier curve point. More...
 
 decCurveBezierPoint (const decCurveBezierPoint &point)
 Create a new bezier curve point. More...
 
Management
const decVector2GetPoint () const
 Point. More...
 
const decVector2GetHandle1 () const
 First handle. More...
 
const decVector2GetHandle2 () const
 Second handle. More...
 
void SetPoint (const decVector2 &point)
 Set point. More...
 
void SetPoint (const decVector2 &point, const decVector2 &handle1, const decVector2 &handle2)
 Set point. More...
 

Detailed Description

Bezier Curve Point.

Author
Roland Pl├╝ss
Version
1.0
Date
2015

Constructor & Destructor Documentation

◆ decCurveBezierPoint() [1/4]

decCurveBezierPoint::decCurveBezierPoint ( )

Create a new bezier curve point.

◆ decCurveBezierPoint() [2/4]

decCurveBezierPoint::decCurveBezierPoint ( const decVector2 point)

Create a new bezier curve point.

◆ decCurveBezierPoint() [3/4]

decCurveBezierPoint::decCurveBezierPoint ( const decVector2 point,
const decVector2 handle1,
const decVector2 handle2 
)

Create a new bezier curve point.

◆ decCurveBezierPoint() [4/4]

decCurveBezierPoint::decCurveBezierPoint ( const decCurveBezierPoint point)

Create a new bezier curve point.

Member Function Documentation

◆ GetHandle1()

const decVector2& decCurveBezierPoint::GetHandle1 ( ) const
inline

First handle.

◆ GetHandle2()

const decVector2& decCurveBezierPoint::GetHandle2 ( ) const
inline

Second handle.

References SetPoint().

◆ GetPoint()

const decVector2& decCurveBezierPoint::GetPoint ( ) const
inline

Point.

◆ SetPoint() [1/2]

void decCurveBezierPoint::SetPoint ( const decVector2 point)

Set point.

Referenced by GetHandle2().

◆ SetPoint() [2/2]

void decCurveBezierPoint::SetPoint ( const decVector2 point,
const decVector2 handle1,
const decVector2 handle2 
)

Set point.


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