PrevNextUpHome SophiaFramework UNIVERSE 5.3
SFXTriangle
Class which represents a triangle.
#include <SFXTriangle.h.hpp>
class SFXTriangle;
SFMTYPEDEFCLASS(SFXTriangle)

Collaboration diagram

 Collaboration diagram of SFXTriangleClass

Member

Constructor/Destructor
SFXTriangle( Void )
Constructor of the SFXTriangle class.
SFXTriangle( SFXTriangleConstRef param )
Constructor of the SFXTriangle class.
SFXTriangle( SFXPixelConstRef first , SFXPixelConstRef second , SFXPixelConstRef third )
Constructor of the SFXTriangle class.
SFXTriangle( SFXPixelConstRef first , SFXPixelConstRef second , SInt16 tx , SInt16 ty )
Constructor of the SFXTriangle class.
SFXTriangle( SFXPixelConstRef first , SInt16 sx , SInt16 sy , SFXPixelConstRef third )
Constructor of the SFXTriangle class.
SFXTriangle( SFXPixelConstRef first , SInt16 sx , SInt16 sy , SInt16 tx , SInt16 ty )
Constructor of the SFXTriangle class.
SFXTriangle( SInt16 fx , SInt16 fy , SFXPixelConstRef second , SFXPixelConstRef third )
Constructor of the SFXTriangle class.
SFXTriangle( SInt16 fx , SInt16 fy , SFXPixelConstRef second , SInt16 tx , SInt16 ty )
Constructor of the SFXTriangle class.
SFXTriangle( SInt16 fx , SInt16 fy , SInt16 sx , SInt16 sy , SFXPixelConstRef third )
Constructor of the SFXTriangle class.
SFXTriangle( SInt16 fx , SInt16 fy , SInt16 sx , SInt16 sy , SInt16 tx , SInt16 ty )
Constructor of the SFXTriangle class.
Public Functions
SFXTriangleRef AddFirst( SFXPixelConstRef param )
Add the specified value to the coordinates of the first vertex.
SFXTriangleRef AddFirst( SInt16 x , SInt16 y )
Add the specified value to the coordinates of the first vertex.
SFXTriangleRef AddFirstX( SInt16 param )
Add the specified value to the X coordinate of the first vertex.
SFXTriangleRef AddFirstY( SInt16 param )
Add the specified value to the Y coordinate of the first vertex.
SFXTriangleRef AddSecond( SFXPixelConstRef param )
Add the specified value to the coordinates of the second vertex.
SFXTriangleRef AddSecond( SInt16 x , SInt16 y )
Add the specified value to the coordinates of the second vertex.
SFXTriangleRef AddSecondX( SInt16 param )
Add the specified value to the X coordinate of the second vertex.
SFXTriangleRef AddSecondY( SInt16 param )
Add the specified value to the X coordinate of the second vertex.
SFXTriangleRef AddThird( SFXPixelConstRef param )
Add the specified value to the coordinate of the third vertex.
SFXTriangleRef AddThird( SInt16 x , SInt16 y )
Add the specified value to the coordinate of the third vertex.
SFXTriangleRef AddThirdX( SInt16 param )
Add the specified value to the X coordinate of the third vertex.
SFXTriangleRef AddThirdY( SInt16 param )
Add the specified value to the Y coordinate of the third vertex.
SFXTriangleRef DivFirst( SInt16 x , SInt16 y )
Divide the coordinates of the first vertex by the specified value.
SFXTriangleRef DivFirst( SInt16 param )
Divide the coordinates of the first vertex by the specified value.
SFXTriangleRef DivFirstX( SInt16 param )
Divide the X coordinate of the first vertex by the specified value.
SFXTriangleRef DivFirstY( SInt16 param )
Divide the Y coordinate of the first vertex by the specified value.
SFXTriangleRef DivSecond( SInt16 x , SInt16 y )
Divide the coordinates of the second vertex by the specified value.
SFXTriangleRef DivSecond( SInt16 param )
Divide the coordinates of the second vertex by the specified value.
SFXTriangleRef DivSecondX( SInt16 param )
Divide the X coordinate of the second vertex by the specified value.
SFXTriangleRef DivSecondY( SInt16 param )
Divide the Y coordinate of the second vertex by the specified value.
SFXTriangleRef DivThird( SInt16 x , SInt16 y )
Divide the coordinates of the third vertex by the specified value.
SFXTriangleRef DivThird( SInt16 param )
Divide the coordinates of the third vertex by the specified value.
SFXTriangleRef DivThirdX( SInt16 param )
Divide the X coordinate of the third vertex by the specified value.
SFXTriangleRef DivThirdY( SInt16 param )
Divide the Y coordinate of the third vertex by the specified value.
Bool Equals( SFXTriangleConstRef param )
Check whether this triangle equals the specified triangle or not.
Bool Equals( SFXPixelConstRef first , SFXPixelConstRef second , SFXPixelConstRef third )
Check whether this triangle equals the specified triangle or not.
Bool Equals( SFXPixelConstRef first , SFXPixelConstRef second , SInt16 tx , SInt16 ty )
Check whether this triangle equals the specified triangle or not.
Bool Equals( SFXPixelConstRef first , SInt16 sx , SInt16 sy , SFXPixelConstRef third )
Check whether this triangle equals the specified triangle or not.
Bool Equals( SFXPixelConstRef first , SInt16 sx , SInt16 sy , SInt16 tx , SInt16 ty )
Check whether this triangle equals the specified triangle or not.
Bool Equals( SInt16 fx , SInt16 fy , SFXPixelConstRef second , SFXPixelConstRef third )
Check whether this triangle equals the specified triangle or not.
Bool Equals( SInt16 fx , SInt16 fy , SFXPixelConstRef second , SInt16 tx , SInt16 ty )
Check whether this triangle equals the specified triangle or not.
Bool Equals( SInt16 fx , SInt16 fy , SInt16 sx , SInt16 sy , SFXPixelConstRef third )
Check whether this triangle equals the specified triangle or not.
Bool Equals( SInt16 fx , SInt16 fy , SInt16 sx , SInt16 sy , SInt16 tx , SInt16 ty )
Check whether this triangle equals the specified triangle or not.
SFXPixelConstRef GetFirst( Void )
Get the coordinates of the first vertex.
SInt16 GetFirstX( Void )
Get the X coordinate of the first vertex.
SInt16 GetFirstY( Void )
Get the Y coordinate of the first vertex.
SFXPixelConstRef GetSecond( Void )
Get the coordinates of the second vertex.
SInt16 GetSecondX( Void )
Get the X coordinate of the second vertex.
SInt16 GetSecondY( Void )
Get the X coordinate of the second vertex.
SFXPixelConstRef GetThird( Void )
Get the coordinates of the third vertex.
SInt16 GetThirdX( Void )
Get the X coordinate of the third vertex.
SInt16 GetThirdY( Void )
Get the Y coordinate of the third vertex.
Bool IsEmpty( Void )
Check whether this triangle is empty or not.
SFXTriangleRef ModFirst( SInt16 x , SInt16 y )
Set the coordinates of the first vertex to the remainder of the division of this coordinates by the specified value.
SFXTriangleRef ModFirst( SInt16 param )
Set the coordinates of the first vertex to the remainder of the division of this coordinates by the specified value.
SFXTriangleRef ModFirstX( SInt16 param )
Set the X coordinate of the first vertex to the remainder of the division of this coordinate by the specified value.
SFXTriangleRef ModFirstY( SInt16 param )
Set the Y coordinate of the first vertex to the remainder of the division of this coordinate by the specified value..
SFXTriangleRef ModSecond( SInt16 x , SInt16 y )
Set the coordinates of the second vertex to the remainder of the division of this coordinates by the specified value.
SFXTriangleRef ModSecond( SInt16 param )
Set the coordinates of the second vertex to the remainder of the division of this coordinates by the specified value.
SFXTriangleRef ModSecondX( SInt16 param )
Set the X coordinate of the second vertex to the remainder of the division of this coordinate by the specified value.
SFXTriangleRef ModSecondY( SInt16 param )
Set the Y coordinate of the second vertex to the remainder of the division of this coordinate by the specified value.
SFXTriangleRef ModThird( SInt16 x , SInt16 y )
Set the coordinates of the third vertex to the remainder of the division of this coordinates by the specified value.
SFXTriangleRef ModThird( SInt16 param )
Set the coordinates of the third vertex to the remainder of the division of this coordinates by the specified value.
SFXTriangleRef ModThirdX( SInt16 param )
Set the X coordinate of the third vertex to the remainder of the division of this coordinate by the specified value.
SFXTriangleRef ModThirdY( SInt16 param )
Set the Y coordinate of the third vertex to the remainder of the division of this coordinate by the specified value.
SFXTriangleRef MulFirst( SInt16 x , SInt16 y )
Multiply the coordinates of the first vertex by the specified value.
SFXTriangleRef MulFirst( SInt16 param )
Multiply the coordinates of the first vertex by the specified value.
SFXTriangleRef MulFirstX( SInt16 param )
Multiply the X coordinate of the first vertex by the specified value.
SFXTriangleRef MulFirstY( SInt16 param )
Multiply the Y coordinate of the first vertex by the specified value.
SFXTriangleRef MulSecond( SInt16 x , SInt16 y )
Multiply the coordinates of the second vertex by the specified value.
SFXTriangleRef MulSecond( SInt16 param )
Multiply the coordinates of the second vertex by the specified value.
SFXTriangleRef MulSecondX( SInt16 param )
Multiply the X coordinate of the second vertex by the specified value.
SFXTriangleRef MulSecondY( SInt16 param )
Multiply the X coordinate of the second vertex by the specified value.
SFXTriangleRef MulThird( SInt16 x , SInt16 y )
Multiply the coordinates of the third vertex by the specified value.
SFXTriangleRef MulThird( SInt16 param )
Multiply the coordinates of the third vertex by the specified value.
SFXTriangleRef MulThirdX( SInt16 param )
Multiply the X coordinate of the third vertex by the specified value.
SFXTriangleRef MulThirdY( SInt16 param )
Multiply the Y coordinate of the third vertex by the specified value.
SFXTriangleRef NegFirst( Void )
Negate the sign of the coordinates of the first vertex.
SFXTriangleRef NegFirstX( Void )
Negate the sign of the X coordinate of the first vertex.
SFXTriangleRef NegFirstY( Void )
Negate the sign of the Y coordinate of the first vertex.
SFXTriangleRef NegSecond( Void )
Negate the sign of the coordinates of the second vertex.
SFXTriangleRef NegSecondX( Void )
Negate the sign of the X coordinate of the second vertex.
SFXTriangleRef NegSecondY( Void )
Negate the sign of the Y coordinate of the second vertex.
SFXTriangleRef NegThird( Void )
Negate the sign of the coordinates of the third vertex.
SFXTriangleRef NegThirdX( Void )
Negate the sign of the X coordinate of the third vertex.
SFXTriangleRef NegThirdY( Void )
Negate the sign of the Y coordinate of the third vertex.
SFXTriangleRef Normalize( Void )
Normalize the triangle.
SFXTriangleRef Offset( SFXGridConstRef param )
Add the specified value to the coordinates of all the vertices and move this triangle.
SFXTriangleRef Offset( SInt16 x , SInt16 y )
Add the specified value to the coordinates of all the vertices and move this triangle.
SFXTriangleRef Set( SFXTriangleConstRef param )
Set the triangle.
SFXTriangleRef Set( SFXPixelConstRef first , SFXPixelConstRef second , SFXPixelConstRef third )
Set the triangle.
SFXTriangleRef Set( SFXPixelConstRef first , SFXPixelConstRef second , SInt16 tx , SInt16 ty )
Set the triangle.
SFXTriangleRef Set( SFXPixelConstRef first , SInt16 sx , SInt16 sy , SFXPixelConstRef third )
Set the triangle.
SFXTriangleRef Set( SFXPixelConstRef first , SInt16 sx , SInt16 sy , SInt16 tx , SInt16 ty )
Set the triangle.
SFXTriangleRef Set( SInt16 fx , SInt16 fy , SFXPixelConstRef second , SFXPixelConstRef third )
Set the triangle.
SFXTriangleRef Set( SInt16 fx , SInt16 fy , SFXPixelConstRef second , SInt16 tx , SInt16 ty )
Set the triangle.
SFXTriangleRef Set( SInt16 fx , SInt16 fy , SInt16 sx , SInt16 sy , SFXPixelConstRef third )
Set the triangle.
SFXTriangleRef Set( SInt16 fx , SInt16 fy , SInt16 sx , SInt16 sy , SInt16 tx , SInt16 ty )
Set the triangle.
SFXTriangleRef SetFirst( SFXPixelConstRef param )
Set the coordinates of the first vertex.
SFXTriangleRef SetFirst( SInt16 x , SInt16 y )
Set the coordinates of the first vertex.
SFXTriangleRef SetFirstX( SInt16 param )
Set the X coordinate of the first vertex.
SFXTriangleRef SetFirstY( SInt16 param )
Set the Y coordinate of the first vertex.
SFXTriangleRef SetSecond( SFXPixelConstRef param )
Set the coordinates of the second vertex.
SFXTriangleRef SetSecond( SInt16 x , SInt16 y )
Set the coordinates of the second vertex.
SFXTriangleRef SetSecondX( SInt16 param )
Set the X coordinate of the second vertex.
SFXTriangleRef SetSecondY( SInt16 param )
Set the Y coordinate of the second vertex.
SFXTriangleRef SetThird( SFXPixelConstRef param )
Set the coordinates of the third vertex.
SFXTriangleRef SetThird( SInt16 x , SInt16 y )
Set the coordinates of the third vertex.
SFXTriangleRef SetThirdX( SInt16 param )
Set the X coordinate of the third vertex.
SFXTriangleRef SetThirdY( SInt16 param )
Set the Y coordinate of the third vertex.
SFXTriangleRef SubFirst( SFXPixelConstRef param )
Subtract the specified value from the coordinates of the first vertex.
SFXTriangleRef SubFirst( SInt16 x , SInt16 y )
Subtract the specified value from the coordinates of the first vertex.
SFXTriangleRef SubFirstX( SInt16 param )
Subtract the specified value from the X coordinate of the first vertex.
SFXTriangleRef SubFirstY( SInt16 param )
Subtract the specified value from the Y coordinate of the first vertex.
SFXTriangleRef SubSecond( SFXPixelConstRef param )
Subtract the specified value from the coordinates of the second vertex.
SFXTriangleRef SubSecond( SInt16 x , SInt16 y )
Subtract the specified value from the coordinates of the second vertex.
SFXTriangleRef SubSecondX( SInt16 param )
Subtract the specified value from the X coordinate of the second vertex.
SFXTriangleRef SubSecondY( SInt16 param )
Subtract the specified value from the X coordinate of the second vertex.
SFXTriangleRef SubThird( SFXPixelConstRef param )
Subtract the specified value from the coordinates of the third vertex.
SFXTriangleRef SubThird( SInt16 x , SInt16 y )
Subtract the specified value from the coordinates of the third vertex.
SFXTriangleRef SubThirdX( SInt16 param )
Subtract the specified value from the X coordinate of the third vertex.
SFXTriangleRef SubThirdY( SInt16 param )
Subtract the specified value from the Y coordinate of the third vertex.
SFXTriangleRef Unoffset( SFXGridConstRef param )
Subtract the specified value from the coordinates of all the vertices and move this triangle.
SFXTriangleRef Unoffset( SInt16 x , SInt16 y )
Subtract the specified value from the coordinates of all the vertices and move this triangle.
static
SFXTriangleConstRef
ZeroInstance( Void )
Get the instance that represents 0.
SFXTriangleRef operator+=( SFXGridConstRef param )
Add the specified value to the coordinates of all the vertices and move this triangle.
SFXTriangleRef operator-=( SFXGridConstRef param )
Subtract the specified value from the coordinates of all the vertices and move this triangle.
SFXTriangleRef operator=( SFXTriangleConstRef param )
Assign a triangle.
SFXTriangle::AtomRec * atomic_cast( SFXTriangle * param )
Convert SFXTriangle into SFXTriangle::AtomRec.
SFXTriangle::AtomRec const * atomic_cast( SFXTriangle const * param )
Convert SFXTriangle into SFXTriangle::AtomRec.
AEETriangle * interface_cast( SFXTriangle * param )
Convert SFXTriangle into AEETriangle.
AEETriangle const * interface_cast( SFXTriangle const * param )
Convert SFXTriangle into AEETriangle.
Bool operator==( SFXTriangleConstRef left , SFXTriangleConstRef right )
Check the "==" relation.
SFXTriangle operator-( SFXTriangleConstRef left , SFXGridConstRef right )
Subtract the specified value from the coordinates of all the vertices and move this triangle.
Bool operator!=( SFXTriangleConstRef left , SFXTriangleConstRef right )
Check the "!=" relation.
SFXTriangle operator+( SFXTriangleConstRef left , SFXGridConstRef right )
Add the specified value to the coordinates of all the vertices and move this triangle.
Types
AtomRec
Structure that represents a triangle.
Global Functions
SFXTriangle::AtomRec * atomic_cast( SFXTriangle * param )
Convert SFXTriangle into SFXTriangle::AtomRec.
SFXTriangle::AtomRec const * atomic_cast( SFXTriangle const * param )
Convert SFXTriangle into SFXTriangle::AtomRec.
AEETriangle * interface_cast( SFXTriangle * param )
Convert SFXTriangle into AEETriangle.
AEETriangle const * interface_cast( SFXTriangle const * param )
Convert SFXTriangle into AEETriangle.
Bool operator==( SFXTriangleConstRef left , SFXTriangleConstRef right )
Check the "==" relation.
SFXTriangle operator-( SFXTriangleConstRef left , SFXGridConstRef right )
Subtract the specified value from the coordinates of all the vertices and move this triangle.
Bool operator!=( SFXTriangleConstRef left , SFXTriangleConstRef right )
Check the "!=" relation.
SFXTriangle operator+( SFXTriangleConstRef left , SFXGridConstRef right )
Add the specified value to the coordinates of all the vertices and move this triangle.

SFXTriangle::SFXTriangle
Constructor of the SFXTriangle class.
[ public, explicit ]
SFXTriangle(Void);
[ public ]
SFXTriangle(
    SFXTriangleConstRef param   // source triangle
);
[ public, explicit ]
SFXTriangle(
    SFXPixelConstRef first    // coordinates of the first vertex
    SFXPixelConstRef second   // coordinates of the second vertex
    SFXPixelConstRef third    // coordinates of the third vertex
);
[ public, explicit ]
SFXTriangle(
    SFXPixelConstRef first    // coordinates of the first vertex
    SFXPixelConstRef second   // coordinates of the second vertex
    SInt16 tx                 // X coordinate of the third vertex
    SInt16 ty                 // Y coordinate of the third vertex
);
[ public, explicit ]
SFXTriangle(
    SFXPixelConstRef first   // coordinates of the first vertex
    SInt16 sx                // X coordinate of the second vertex
    SInt16 sy                // X coordinate of the second vertex
    SFXPixelConstRef third   // coordinates of the third vertex
);
[ public, explicit ]
SFXTriangle(
    SFXPixelConstRef first   // coordinates of the first vertex
    SInt16 sx                // X coordinate of the second vertex
    SInt16 sy                // X coordinate of the second vertex
    SInt16 tx                // X coordinate of the third vertex
    SInt16 ty                // Y coordinate of the third vertex
);
[ public, explicit ]
SFXTriangle(
    SInt16 fx                 // X coordinate of the first vertex
    SInt16 fy                 // Y coordinate of the first vertex
    SFXPixelConstRef second   // coordinates of the second vertex
    SFXPixelConstRef third    // coordinates of the third vertex
);
[ public, explicit ]
SFXTriangle(
    SInt16 fx                 // X coordinate of the first vertex
    SInt16 fy                 // Y coordinate of the first vertex
    SFXPixelConstRef second   // coordinates of the second vertex
    SInt16 tx                 // X coordinate of the third vertex
    SInt16 ty                 // Y coordinate of the third vertex
);
[ public, explicit ]
SFXTriangle(
    SInt16 fx                // X coordinate of the first vertex
    SInt16 fy                // Y coordinate of the first vertex
    SInt16 sx                // X coordinate of the second vertex
    SInt16 sy                // X coordinate of the second vertex
    SFXPixelConstRef third   // coordinates of the third vertex
);
[ public, explicit ]
SFXTriangle(
    SInt16 fx   // X coordinate of the first vertex
    SInt16 fy   // Y coordinate of the first vertex
    SInt16 sx   // X coordinate of the second vertex
    SInt16 sy   // X coordinate of the second vertex
    SInt16 tx   // X coordinate of the third vertex
    SInt16 ty   // Y coordinate of the third vertex
);

Reference

SFXTriangle::Set | SFXTriangle::operator=


SFXTriangle::AddFirst
Add the specified value to the coordinates of the first vertex.
[ public ]
SFXTriangleRef AddFirst(
    SFXPixelConstRef param   // value to add to the coordinates of the first vertex.
);
[ public ]
SFXTriangleRef AddFirst(
    SInt16 x   // value to add to the X coordinate of the first vertex.
    SInt16 y   // value to add to the Y coordinate of the first vertex.
);

Reference

SFXTriangle::AddFirstX | SFXTriangle::AddFirstY | SFXTriangle::AddSecond | SFXTriangle::AddThird | SFXTriangle::SubFirst | SFXTriangle::MulFirst | SFXTriangle::DivFirst | SFXTriangle::ModFirst | SFXTriangle::NegFirst


SFXTriangle::AddFirstX
Add the specified value to the X coordinate of the first vertex.
[ public ]
SFXTriangleRef AddFirstX(
    SInt16 param   // value to add to the X coordinate of the first vertex.
);

Reference

SFXTriangle::AddFirst | SFXTriangle::AddFirstY | SFXTriangle::AddSecondX | SFXTriangle::AddThirdX | SFXTriangle::SubFirstX | SFXTriangle::MulFirstX | SFXTriangle::DivFirstX | SFXTriangle::ModFirstX | SFXTriangle::NegFirstX


SFXTriangle::AddFirstY
Add the specified value to the Y coordinate of the first vertex.
[ public ]
SFXTriangleRef AddFirstY(
    SInt16 param   // value to add to the Y coordinate of the first vertex.
);

Reference

SFXTriangle::AddFirst | SFXTriangle::AddFirstX | SFXTriangle::AddSecondY | SFXTriangle::AddThirdY | SFXTriangle::SubFirstY | SFXTriangle::MulFirstY | SFXTriangle::DivFirstY | SFXTriangle::ModFirstY | SFXTriangle::NegFirstY


SFXTriangle::AddSecond
Add the specified value to the coordinates of the second vertex.
[ public ]
SFXTriangleRef AddSecond(
    SFXPixelConstRef param   // value to add to the coordinates of the second vertex.
);
[ public ]
SFXTriangleRef AddSecond(
    SInt16 x   // value to add to the X coordinate of the second vertex.
    SInt16 y   // value to add to the Y coordinate of the second vertex.
);

Reference

SFXTriangle::AddFirst | SFXTriangle::AddSecondX | SFXTriangle::AddSecondY | SFXTriangle::AddThird | SFXTriangle::SubSecond | SFXTriangle::MulSecond | SFXTriangle::DivSecond | SFXTriangle::ModSecond | SFXTriangle::NegSecond


SFXTriangle::AddSecondX
Add the specified value to the X coordinate of the second vertex.
[ public ]
SFXTriangleRef AddSecondX(
    SInt16 param   // value to add to the X coordinate of the second vertex.
);

Reference

SFXTriangle::AddFirstX | SFXTriangle::AddSecond | SFXTriangle::AddSecondY | SFXTriangle::AddThirdX | SFXTriangle::SubSecondX | SFXTriangle::MulSecondX | SFXTriangle::DivSecondX | SFXTriangle::ModSecondX | SFXTriangle::NegSecondX


SFXTriangle::AddSecondY
Add the specified value to the X coordinate of the second vertex.
[ public ]
SFXTriangleRef AddSecondY(
    SInt16 param   // value to add to the Y coordinate of the second vertex.
);

Reference

SFXTriangle::AddFirstY | SFXTriangle::AddSecond | SFXTriangle::AddSecondX | SFXTriangle::AddThirdY | SFXTriangle::SubSecondY | SFXTriangle::MulSecondY | SFXTriangle::DivSecondY | SFXTriangle::ModSecondY | SFXTriangle::NegSecondY


SFXTriangle::AddThird
Add the specified value to the coordinate of the third vertex.
[ public ]
SFXTriangleRef AddThird(
    SFXPixelConstRef param   // value to add to the coordinate of the third vertex.
);
[ public ]
SFXTriangleRef AddThird(
    SInt16 x   // value to add to the X coordinate of the third vertex.
    SInt16 y   // value to add to the Y coordinate of the third vertex.
);

Reference

SFXTriangle::AddFirst | SFXTriangle::AddSecond | SFXTriangle::AddThirdX | SFXTriangle::AddThirdY | SFXTriangle::SubThird | SFXTriangle::MulThird | SFXTriangle::DivThird | SFXTriangle::ModThird | SFXTriangle::NegThird


SFXTriangle::AddThirdX
Add the specified value to the X coordinate of the third vertex.
[ public ]
SFXTriangleRef AddThirdX(
    SInt16 param   // value to add to the X coordinate of the third vertex.
);

Reference

SFXTriangle::AddFirstX | SFXTriangle::AddSecondX | SFXTriangle::AddThird | SFXTriangle::AddThirdY | SFXTriangle::SubThirdX | SFXTriangle::MulThirdX | SFXTriangle::DivThirdX | SFXTriangle::ModThirdX | SFXTriangle::NegThirdX


SFXTriangle::AddThirdY
Add the specified value to the Y coordinate of the third vertex.
[ public ]
SFXTriangleRef AddThirdY(
    SInt16 param   // value to add to the Y coordinate of the third vertex.
);

Reference

SFXTriangle::AddFirstY | SFXTriangle::AddSecondY | SFXTriangle::AddThird | SFXTriangle::AddThirdX | SFXTriangle::SubThirdY | SFXTriangle::MulThirdY | SFXTriangle::DivThirdY | SFXTriangle::ModThirdY | SFXTriangle::NegThirdY


SFXTriangle::DivFirst
Divide the coordinates of the first vertex by the specified value.
[ public ]
SFXTriangleRef DivFirst(
    SInt16 x   // divide the X coordinate of the first vertex by this value
    SInt16 y   // divide the Y coordinate of the first vertex by this value
);
[ public ]
SFXTriangleRef DivFirst(
    SInt16 param   // divide the coordinates of the first vertex by this value
);

Description

The behaviour is not defined when the value of x, y, or param argument is 0.

Reference

SFXTriangle::AddFirst | SFXTriangle::SubFirst | SFXTriangle::MulFirst | SFXTriangle::DivFirstX | SFXTriangle::DivFirstY | SFXTriangle::DivSecond | SFXTriangle::DivThird | SFXTriangle::ModFirst | SFXTriangle::NegFirst


SFXTriangle::DivFirstX
Divide the X coordinate of the first vertex by the specified value.
[ public ]
SFXTriangleRef DivFirstX(
    SInt16 param   // divide the X coordinate of the first vertex by this value
);

Description

The behaviour is not defined when the value of param argument is 0.

Reference

SFXTriangle::AddFirstX | SFXTriangle::SubFirstX | SFXTriangle::MulFirstX | SFXTriangle::DivFirst | SFXTriangle::DivFirstY | SFXTriangle::DivSecondX | SFXTriangle::DivThirdX | SFXTriangle::ModFirstX | SFXTriangle::NegFirstX


SFXTriangle::DivFirstY
Divide the Y coordinate of the first vertex by the specified value.
[ public ]
SFXTriangleRef DivFirstY(
    SInt16 param   // divide the Y coordinate of the first vertex by this value
);

Description

The behaviour is not defined when the value of param argument is 0.

Reference

SFXTriangle::AddFirstY | SFXTriangle::SubFirstY | SFXTriangle::MulFirstY | SFXTriangle::DivFirst | SFXTriangle::DivFirstX | SFXTriangle::DivSecondY | SFXTriangle::DivThirdY | SFXTriangle::ModFirstY | SFXTriangle::NegFirstY


SFXTriangle::DivSecond
Divide the coordinates of the second vertex by the specified value.
[ public ]
SFXTriangleRef DivSecond(
    SInt16 x   // divide the X coordinate of the second vertex by this value
    SInt16 y   // divide the Y coordinate of the second vertex by this value
);
[ public ]
SFXTriangleRef DivSecond(
    SInt16 param   // to divide the coordinates of the second vertex by this value
);

Description

The behaviour is not defined when the value of x, y, or param argument is 0.

Reference

SFXTriangle::AddSecond | SFXTriangle::SubSecond | SFXTriangle::MulSecond | SFXTriangle::DivFirst | SFXTriangle::DivSecondX | SFXTriangle::DivSecondY | SFXTriangle::DivThird | SFXTriangle::ModSecond | SFXTriangle::NegSecond


SFXTriangle::DivSecondX
Divide the X coordinate of the second vertex by the specified value.
[ public ]
SFXTriangleRef DivSecondX(
    SInt16 param   // divide the X coordinate of the second vertex by this value
);

Description

The behaviour is not defined when the value of param argument is 0.

Reference

SFXTriangle::AddSecondX | SFXTriangle::SubSecondX | SFXTriangle::MulSecondX | SFXTriangle::DivFirstX | SFXTriangle::DivSecond | SFXTriangle::DivSecondY | SFXTriangle::DivThirdX | SFXTriangle::ModSecondX | SFXTriangle::NegSecondX


SFXTriangle::DivSecondY
Divide the Y coordinate of the second vertex by the specified value.
[ public ]
SFXTriangleRef DivSecondY(
    SInt16 param   // divide the Y coordinate of the second vertex by this value
);

Description

The behaviour is not defined when the value of param argument is 0.

Reference

SFXTriangle::AddSecondY | SFXTriangle::SubSecondY | SFXTriangle::MulSecondY | SFXTriangle::DivFirstY | SFXTriangle::DivSecond | SFXTriangle::DivSecondX | SFXTriangle::DivThirdY | SFXTriangle::ModSecondY | SFXTriangle::NegSecondY


SFXTriangle::DivThird
Divide the coordinates of the third vertex by the specified value.
[ public ]
SFXTriangleRef DivThird(
    SInt16 x   // divide the X coordinate of the third vertex by this value
    SInt16 y   // divide the Y coordinate of the third vertex by this value
);
[ public ]
SFXTriangleRef DivThird(
    SInt16 param   // value to divide from the coordinates of the third vertex.
);

Description

The behaviour is not defined when the value of x, y, or param argument is 0.

Reference

SFXTriangle::AddThird | SFXTriangle::SubThird | SFXTriangle::MulThird | SFXTriangle::DivFirst | SFXTriangle::DivSecond | SFXTriangle::DivThirdX | SFXTriangle::DivThirdY | SFXTriangle::ModThird | SFXTriangle::NegThird


SFXTriangle::DivThirdX
Divide the X coordinate of the third vertex by the specified value.
[ public ]
SFXTriangleRef DivThirdX(
    SInt16 param   // divide the X coordinate of the third vertex by this value
);

Description

The behaviour is not defined when the value of param argument is 0.

Reference

SFXTriangle::AddThirdX | SFXTriangle::SubThirdX | SFXTriangle::MulThirdX | SFXTriangle::DivFirstX | SFXTriangle::DivSecondX | SFXTriangle::DivThird | SFXTriangle::DivThirdY | SFXTriangle::ModThirdX | SFXTriangle::NegThirdX


SFXTriangle::DivThirdY
Divide the Y coordinate of the third vertex by the specified value.
[ public ]
SFXTriangleRef DivThirdY(
    SInt16 param   // divide the Y coordinate of the third vertex by this value
);

Description

The behaviour is not defined when the value of param argument is 0.

Reference

SFXTriangle::AddThirdY | SFXTriangle::SubThirdY | SFXTriangle::MulThirdY | SFXTriangle::DivFirstY | SFXTriangle::DivSecondY | SFXTriangle::DivThird | SFXTriangle::DivThirdX | SFXTriangle::ModThirdY | SFXTriangle::NegThirdY


SFXTriangle::Equals
Check whether this triangle equals the specified triangle or not.
[ public, const ]
Bool Equals(
    SFXTriangleConstRef param   // triangle to compare
);
[ public, const ]
Bool Equals(
    SFXPixelConstRef first    // coordinates of the first vertex of the triangle to compare
    SFXPixelConstRef second   // coordinates of the second vertex of the triangle to compare
    SFXPixelConstRef third    // coordinates of the third vertex of the triangle to compare
);
[ public, const ]
Bool Equals(
    SFXPixelConstRef first    // coordinates of the first vertex of the triangle to compare
    SFXPixelConstRef second   // coordinates of the second vertex of the triangle to compare
    SInt16 tx                 // X coordinate of the third vertex of the triangle to compare
    SInt16 ty                 // Y coordinate of the third vertex of the triangle to compare
);
[ public, const ]
Bool Equals(
    SFXPixelConstRef first   // coordinates of the first vertex of the triangle to compare
    SInt16 sx                // X coordinate of the second vertex of the triangle to compare
    SInt16 sy                // X coordinate of the second vertex of the triangle to compare
    SFXPixelConstRef third   // coordinates of the third vertex of the triangle to compare
);
[ public, const ]
Bool Equals(
    SFXPixelConstRef first   // coordinates of the first vertex of the triangle to compare
    SInt16 sx                // X coordinate of the second vertex of the triangle to compare
    SInt16 sy                // X coordinate of the second vertex of the triangle to compare
    SInt16 tx                // X coordinate of the third vertex of the triangle to compare
    SInt16 ty                // Y coordinate of the third vertex of the triangle to compare
);
[ public, const ]
Bool Equals(
    SInt16 fx                 // X coordinate of the first vertex of the triangle to compare
    SInt16 fy                 // Y coordinate of the first vertex of the triangle to compare
    SFXPixelConstRef second   // coordinates of the second vertex of the triangle to compare
    SFXPixelConstRef third    // coordinates of the third vertex of the triangle to compare
);
[ public, const ]
Bool Equals(
    SInt16 fx                 // X coordinate of the first vertex of the triangle to compare
    SInt16 fy                 // Y coordinate of the first vertex of the triangle to compare
    SFXPixelConstRef second   // coordinates of the second vertex of the triangle to compare
    SInt16 tx                 // X coordinate of the third vertex of the triangle to compare
    SInt16 ty                 // Y coordinate of the third vertex of the triangle to compare
);
[ public, const ]
Bool Equals(
    SInt16 fx                // X coordinate of the first vertex of the triangle to compare
    SInt16 fy                // Y coordinate of the first vertex of the triangle to compare
    SInt16 sx                // X coordinate of the second vertex of the triangle to compare
    SInt16 sy                // X coordinate of the second vertex of the triangle to compare
    SFXPixelConstRef third   // coordinates of the third vertex of the triangle to compare
);
[ public, const ]
Bool Equals(
    SInt16 fx   // X coordinate of the first vertex of the triangle to compare
    SInt16 fy   // Y coordinate of the first vertex of the triangle to compare
    SInt16 sx   // X coordinate of the second vertex of the triangle to compare
    SInt16 sy   // X coordinate of the second vertex of the triangle to compare
    SInt16 tx   // X coordinate of the third vertex of the triangle to compare
    SInt16 ty   // Y coordinate of the third vertex of the triangle to compare
);

Return value

  • If yes: true
  • Otherwise: false

Reference

operator== | operator!=


SFXTriangle::GetFirst
Get the coordinates of the first vertex.
[ public, const ]
SFXPixelConstRef GetFirst(Void);

Reference

SFXTriangle::GetFirstX | SFXTriangle::GetFirstY | SFXTriangle::GetSecond | SFXTriangle::GetThird | SFXTriangle::SetFirst


SFXTriangle::GetFirstX
Get the X coordinate of the first vertex.
[ public, const ]
SInt16 GetFirstX(Void);

Reference

SFXTriangle::GetFirst | SFXTriangle::GetFirstY | SFXTriangle::GetSecondX | SFXTriangle::GetThirdX | SFXTriangle::SetFirstX


SFXTriangle::GetFirstY
Get the Y coordinate of the first vertex.
[ public, const ]
SInt16 GetFirstY(Void);

Reference

SFXTriangle::GetFirst | SFXTriangle::GetFirstX | SFXTriangle::GetSecondY | SFXTriangle::GetThirdY | SFXTriangle::SetFirstY


SFXTriangle::GetSecond
Get the coordinates of the second vertex.
[ public, const ]
SFXPixelConstRef GetSecond(Void);

Reference

SFXTriangle::GetFirst | SFXTriangle::GetSecondX | SFXTriangle::GetSecondY | SFXTriangle::GetThird | SFXTriangle::SetSecond


SFXTriangle::GetSecondX
Get the X coordinate of the second vertex.
[ public, const ]
SInt16 GetSecondX(Void);

Reference

SFXTriangle::GetFirstX | SFXTriangle::GetSecond | SFXTriangle::GetSecondY | SFXTriangle::GetThirdX | SFXTriangle::SetSecondX


SFXTriangle::GetSecondY
Get the X coordinate of the second vertex.
[ public, const ]
SInt16 GetSecondY(Void);

Reference

SFXTriangle::GetFirstY | SFXTriangle::GetSecond | SFXTriangle::GetSecondX | SFXTriangle::GetThirdY | SFXTriangle::SetSecondY


SFXTriangle::GetThird
Get the coordinates of the third vertex.
[ public, const ]
SFXPixelConstRef GetThird(Void);

Reference

SFXTriangle::GetFirst | SFXTriangle::GetSecond | SFXTriangle::GetThirdX | SFXTriangle::GetThirdY | SFXTriangle::SetThird


SFXTriangle::GetThirdX
Get the X coordinate of the third vertex.
[ public, const ]
SInt16 GetThirdX(Void);

Reference

SFXTriangle::GetFirstX | SFXTriangle::GetSecondX | SFXTriangle::GetThird | SFXTriangle::GetThirdY | SFXTriangle::SetThirdX


SFXTriangle::GetThirdY
Get the Y coordinate of the third vertex.
[ public, const ]
SInt16 GetThirdY(Void);

Reference

SFXTriangle::GetFirstY | SFXTriangle::GetSecondY | SFXTriangle::GetThird | SFXTriangle::GetThirdX | SFXTriangle::SetThirdY


SFXTriangle::IsEmpty
Check whether this triangle is empty or not.
[ public, const ]
Bool IsEmpty(Void);

Return value

Usually returns false.


SFXTriangle::ModFirst
Set the coordinates of the first vertex to the remainder of the division of this coordinates by the specified value.
[ public ]
SFXTriangleRef ModFirst(
    SInt16 x   // divide X coordinate by this value
    SInt16 y   // divide Y coordinate by this value
);
[ public ]
SFXTriangleRef ModFirst(
    SInt16 param   // divide the coordinates by this value
);

Description

The behaviour is not defined when the value of x, y, or param argument is 0.

Reference

SFXTriangle::AddFirst | SFXTriangle::SubFirst | SFXTriangle::MulFirst | SFXTriangle::DivFirst | SFXTriangle::ModFirstX | SFXTriangle::ModFirstY | SFXTriangle::ModSecond | SFXTriangle::ModThird | SFXTriangle::NegFirst


SFXTriangle::ModFirstX
Set the X coordinate of the first vertex to the remainder of the division of this coordinate by the specified value.
[ public ]
SFXTriangleRef ModFirstX(
    SInt16 param   // divide X coordinate by this value
);

Description

The behaviour is not defined when the value of param argument is 0.

Reference

SFXTriangle::AddFirstX | SFXTriangle::SubFirstX | SFXTriangle::MulFirstX | SFXTriangle::DivFirstX | SFXTriangle::ModFirst | SFXTriangle::ModFirstY | SFXTriangle::ModSecondX | SFXTriangle::ModThirdX | SFXTriangle::NegFirstX


SFXTriangle::ModFirstY
Set the Y coordinate of the first vertex to the remainder of the division of this coordinate by the specified value..
[ public ]
SFXTriangleRef ModFirstY(
    SInt16 param   // divide Y coordinate by this value
);

Description

The behaviour is not defined when the value of param argument is 0.

Reference

SFXTriangle::AddFirstY | SFXTriangle::SubFirstY | SFXTriangle::MulFirstY | SFXTriangle::DivFirstY | SFXTriangle::ModFirst | SFXTriangle::ModFirstX | SFXTriangle::ModSecondY | SFXTriangle::ModThirdY | SFXTriangle::NegFirstY


SFXTriangle::ModSecond
Set the coordinates of the second vertex to the remainder of the division of this coordinates by the specified value.
[ public ]
SFXTriangleRef ModSecond(
    SInt16 x   // divide X coordinate by this value
    SInt16 y   // divide Y coordinate by this value
);
[ public ]
SFXTriangleRef ModSecond(
    SInt16 param   // divide the coordinates by this value
);

Description

The behaviour is not defined when the value of x, y, or param argument is 0.

Reference

SFXTriangle::AddSecond | SFXTriangle::SubSecond | SFXTriangle::MulSecond | SFXTriangle::DivSecond | SFXTriangle::ModFirst | SFXTriangle::ModSecondX | SFXTriangle::ModSecondY | SFXTriangle::ModThird | SFXTriangle::NegSecond


SFXTriangle::ModSecondX
Set the X coordinate of the second vertex to the remainder of the division of this coordinate by the specified value.
[ public ]
SFXTriangleRef ModSecondX(
    SInt16 param   // divide X coordinate by this value
);

Description

The behaviour is not defined when the value of param argument is 0.

Reference

SFXTriangle::AddSecondX | SFXTriangle::SubSecondX | SFXTriangle::MulSecondX | SFXTriangle::DivSecondX | SFXTriangle::ModFirstX | SFXTriangle::ModSecond | SFXTriangle::ModSecondY | SFXTriangle::ModThirdX | SFXTriangle::NegSecondX


SFXTriangle::ModSecondY
Set the Y coordinate of the second vertex to the remainder of the division of this coordinate by the specified value.
[ public ]
SFXTriangleRef ModSecondY(
    SInt16 param   // divide Y coordinate by this value
);

Return value

The behaviour is not defined when the value of param argument is 0.

Reference

SFXTriangle::AddSecondY | SFXTriangle::SubSecondY | SFXTriangle::MulSecondY | SFXTriangle::DivSecondY | SFXTriangle::ModFirstY | SFXTriangle::ModSecond | SFXTriangle::ModSecondX | SFXTriangle::ModThirdY | SFXTriangle::NegSecondY


SFXTriangle::ModThird
Set the coordinates of the third vertex to the remainder of the division of this coordinates by the specified value.
[ public ]
SFXTriangleRef ModThird(
    SInt16 x   // value to modular divide the X coordinate of the third vertex
    SInt16 y   // divide Y coordinate by this value
);
[ public ]
SFXTriangleRef ModThird(
    SInt16 param   // divide the coordinates by this value
);

Description

The behaviour is not defined when the value of x, y, or param argument is 0.

Reference

SFXTriangle::AddThird | SFXTriangle::SubThird | SFXTriangle::MulThird | SFXTriangle::DivThird | SFXTriangle::ModFirst | SFXTriangle::ModSecond | SFXTriangle::ModThirdX | SFXTriangle::ModThirdY | SFXTriangle::NegThird


SFXTriangle::ModThirdX
Set the X coordinate of the third vertex to the remainder of the division of this coordinate by the specified value.
[ public ]
SFXTriangleRef ModThirdX(
    SInt16 param   // value to modular divide the X coordinate of the third vertex
);

Description

The behaviour is not defined when the value of param argument is 0.

Reference

SFXTriangle::AddThirdX | SFXTriangle::SubThirdX | SFXTriangle::MulThirdX | SFXTriangle::DivThirdX | SFXTriangle::ModFirstX | SFXTriangle::ModSecondX | SFXTriangle::ModThird | SFXTriangle::ModThirdY | SFXTriangle::NegThirdX


SFXTriangle::ModThirdY
Set the Y coordinate of the third vertex to the remainder of the division of this coordinate by the specified value.
[ public ]
SFXTriangleRef ModThirdY(
    SInt16 param   // divide Y coordinate by this value
);

Description

The behaviour is not defined when the value of param argument is 0.

Reference

SFXTriangle::AddThirdY | SFXTriangle::SubThirdY | SFXTriangle::MulThirdY | SFXTriangle::DivThirdY | SFXTriangle::ModFirstY | SFXTriangle::ModSecondY | SFXTriangle::ModThird | SFXTriangle::ModThirdX | SFXTriangle::NegThirdY


SFXTriangle::MulFirst
Multiply the coordinates of the first vertex by the specified value.
[ public ]
SFXTriangleRef MulFirst(
    SInt16 x   // value to multiply with X coordinate of the first vertex
    SInt16 y   // value to multiply with Y coordinate of the first vertex
);
[ public ]
SFXTriangleRef MulFirst(
    SInt16 param   // value to multiply with the coordinates of the first vertex
);

Reference

SFXTriangle::AddFirst | SFXTriangle::SubFirst | SFXTriangle::MulFirstX | SFXTriangle::MulFirstY | SFXTriangle::MulSecond | SFXTriangle::MulThird | SFXTriangle::DivFirst | SFXTriangle::ModFirst | SFXTriangle::NegFirst


SFXTriangle::MulFirstX
Multiply the X coordinate of the first vertex by the specified value.
[ public ]
SFXTriangleRef MulFirstX(
    SInt16 param   // value to multiply with X coordinate of the first vertex
);

Reference

SFXTriangle::AddFirstX | SFXTriangle::SubFirstX | SFXTriangle::MulFirst | SFXTriangle::MulFirstY | SFXTriangle::MulSecondX | SFXTriangle::MulThirdX | SFXTriangle::DivFirstX | SFXTriangle::ModFirstX | SFXTriangle::NegFirstX


SFXTriangle::MulFirstY
Multiply the Y coordinate of the first vertex by the specified value.
[ public ]
SFXTriangleRef MulFirstY(
    SInt16 param   // value to multiply with Y coordinate of the first vertex
);

Reference

SFXTriangle::AddFirstY | SFXTriangle::SubFirstY | SFXTriangle::MulFirst | SFXTriangle::MulFirstX | SFXTriangle::MulSecondY | SFXTriangle::MulThirdY | SFXTriangle::DivFirstY | SFXTriangle::ModFirstY | SFXTriangle::NegFirstY


SFXTriangle::MulSecond
Multiply the coordinates of the second vertex by the specified value.
[ public ]
SFXTriangleRef MulSecond(
    SInt16 x   // value to multiply with X coordinate of the second vertex
    SInt16 y   // value to multiply with X coordinate of the second vertex
);
[ public ]
SFXTriangleRef MulSecond(
    SInt16 param   // value to multiply with the coordinates of the second vertex
);

Reference

SFXTriangle::AddSecond | SFXTriangle::SubSecond | SFXTriangle::MulFirst | SFXTriangle::MulSecondX | SFXTriangle::MulSecondY | SFXTriangle::MulThird | SFXTriangle::DivSecond | SFXTriangle::ModSecond | SFXTriangle::NegSecond


SFXTriangle::MulSecondX
Multiply the X coordinate of the second vertex by the specified value.
[ public ]
SFXTriangleRef MulSecondX(
    SInt16 param   // value to multiply with X coordinate of the second vertex
);

Reference

SFXTriangle::AddSecondX | SFXTriangle::SubSecondX | SFXTriangle::MulFirstX | SFXTriangle::MulSecond | SFXTriangle::MulSecondY | SFXTriangle::MulThirdX | SFXTriangle::DivSecondX | SFXTriangle::ModSecondX | SFXTriangle::NegSecondX


SFXTriangle::MulSecondY
Multiply the X coordinate of the second vertex by the specified value.
[ public ]
SFXTriangleRef MulSecondY(
    SInt16 param   // value to multiply with X coordinate of the second vertex
);

Reference

SFXTriangle::AddSecondY | SFXTriangle::SubSecondY | SFXTriangle::MulFirstY | SFXTriangle::MulSecond | SFXTriangle::MulSecondX | SFXTriangle::MulThirdY | SFXTriangle::DivSecondY | SFXTriangle::ModSecondY | SFXTriangle::NegSecondY


SFXTriangle::MulThird
Multiply the coordinates of the third vertex by the specified value.
[ public ]
SFXTriangleRef MulThird(
    SInt16 x   // value to multiply with X coordinate of the third vertex
    SInt16 y   // value to multiply with Y coordinate of the third vertex
);
[ public ]
SFXTriangleRef MulThird(
    SInt16 param   // value to multiply with the coordinates of the third vertex
);

Reference

SFXTriangle::AddThird | SFXTriangle::SubThird | SFXTriangle::MulFirst | SFXTriangle::MulSecond | SFXTriangle::MulThirdX | SFXTriangle::MulThirdY | SFXTriangle::DivThird | SFXTriangle::ModThird | SFXTriangle::NegThird


SFXTriangle::MulThirdX
Multiply the X coordinate of the third vertex by the specified value.
[ public ]
SFXTriangleRef MulThirdX(
    SInt16 param   // value to multiply with X coordinate of the third vertex
);

Reference

SFXTriangle::AddThirdX | SFXTriangle::SubThirdX | SFXTriangle::MulFirstX | SFXTriangle::MulSecondX | SFXTriangle::MulThird | SFXTriangle::MulThirdY | SFXTriangle::DivThirdX | SFXTriangle::ModThirdX | SFXTriangle::NegThirdX


SFXTriangle::MulThirdY
Multiply the Y coordinate of the third vertex by the specified value.
[ public ]
SFXTriangleRef MulThirdY(
    SInt16 param   // value to multiply with Y coordinate of the third vertex
);

Reference

SFXTriangle::AddThirdY | SFXTriangle::SubThirdY | SFXTriangle::MulFirstY | SFXTriangle::MulSecondY | SFXTriangle::MulThird | SFXTriangle::MulThirdX | SFXTriangle::DivThirdY | SFXTriangle::ModThirdY | SFXTriangle::NegThirdY


SFXTriangle::NegFirst
Negate the sign of the coordinates of the first vertex.
[ public ]
SFXTriangleRef NegFirst(Void);

Reference

SFXTriangle::AddFirst | SFXTriangle::SubFirst | SFXTriangle::MulFirst | SFXTriangle::DivFirst | SFXTriangle::ModFirst | SFXTriangle::NegFirstX | SFXTriangle::NegFirstY | SFXTriangle::NegSecond | SFXTriangle::NegThird


SFXTriangle::NegFirstX
Negate the sign of the X coordinate of the first vertex.
[ public ]
SFXTriangleRef NegFirstX(Void);

Reference

SFXTriangle::AddFirstX | SFXTriangle::SubFirstX | SFXTriangle::MulFirstX | SFXTriangle::DivFirstX | SFXTriangle::ModFirstX | SFXTriangle::NegFirst | SFXTriangle::NegFirstY | SFXTriangle::NegSecondX | SFXTriangle::NegThirdX


SFXTriangle::NegFirstY
Negate the sign of the Y coordinate of the first vertex.
[ public ]
SFXTriangleRef NegFirstY(Void);

Reference

SFXTriangle::AddFirstY | SFXTriangle::SubFirstY | SFXTriangle::MulFirstY | SFXTriangle::DivFirstY | SFXTriangle::ModFirstY | SFXTriangle::NegFirst | SFXTriangle::NegFirstX | SFXTriangle::NegSecondY | SFXTriangle::NegThirdY


SFXTriangle::NegSecond
Negate the sign of the coordinates of the second vertex.
[ public ]
SFXTriangleRef NegSecond(Void);

Reference

SFXTriangle::AddSecond | SFXTriangle::SubSecond | SFXTriangle::MulSecond | SFXTriangle::DivSecond | SFXTriangle::ModSecond | SFXTriangle::NegFirst | SFXTriangle::NegSecondX | SFXTriangle::NegSecondY | SFXTriangle::NegThird


SFXTriangle::NegSecondX
Negate the sign of the X coordinate of the second vertex.
[ public ]
SFXTriangleRef NegSecondX(Void);

Reference

SFXTriangle::AddSecondX | SFXTriangle::SubSecondX | SFXTriangle::MulSecondX | SFXTriangle::DivSecondX | SFXTriangle::ModSecondX | SFXTriangle::NegFirstX | SFXTriangle::NegSecond | SFXTriangle::NegSecondY | SFXTriangle::NegThirdX


SFXTriangle::NegSecondY
Negate the sign of the Y coordinate of the second vertex.
[ public ]
SFXTriangleRef NegSecondY(Void);

Reference

SFXTriangle::AddSecondY | SFXTriangle::SubSecondY | SFXTriangle::MulSecondY | SFXTriangle::DivSecondY | SFXTriangle::ModSecondY | SFXTriangle::NegFirstY | SFXTriangle::NegSecond | SFXTriangle::NegSecondX | SFXTriangle::NegThirdY


SFXTriangle::NegThird
Negate the sign of the coordinates of the third vertex.
[ public ]
SFXTriangleRef NegThird(Void);

Reference

SFXTriangle::AddThird | SFXTriangle::SubThird | SFXTriangle::MulThird | SFXTriangle::DivThird | SFXTriangle::ModThird | SFXTriangle::NegFirst | SFXTriangle::NegSecond | SFXTriangle::NegThirdX | SFXTriangle::NegThirdY


SFXTriangle::NegThirdX
Negate the sign of the X coordinate of the third vertex.
[ public ]
SFXTriangleRef NegThirdX(Void);

Reference

SFXTriangle::AddThirdX | SFXTriangle::SubThirdX | SFXTriangle::MulThirdX | SFXTriangle::DivThirdX | SFXTriangle::ModThirdX | SFXTriangle::NegFirstX | SFXTriangle::NegSecondX | SFXTriangle::NegThird | SFXTriangle::NegThirdY


SFXTriangle::NegThirdY
Negate the sign of the Y coordinate of the third vertex.
[ public ]
SFXTriangleRef NegThirdY(Void);

Reference

SFXTriangle::AddThirdY | SFXTriangle::SubThirdY | SFXTriangle::MulThirdY | SFXTriangle::DivThirdY | SFXTriangle::ModThirdY | SFXTriangle::NegFirstY | SFXTriangle::NegSecondY | SFXTriangle::NegThird | SFXTriangle::NegThirdX


SFXTriangle::Normalize
Normalize the triangle.
[ public ]
SFXTriangleRef Normalize(Void);

Description

Do nothing.


SFXTriangle::Offset
Add the specified value to the coordinates of all the vertices and move this triangle.
[ public ]
SFXTriangleRef Offset(
    SFXGridConstRef param   // value to add to the coordinates of all the vertices
);
[ public ]
SFXTriangleRef Offset(
    SInt16 x   // value to add to the X coordinate of all the vertices
    SInt16 y   // value to add to the Y coordinate of all the vertices
);

Reference

SFXTriangle::Unoffset | operator- | operator+


SFXTriangle::Set
Set the triangle.
[ public ]
SFXTriangleRef Set(
    SFXTriangleConstRef param   // triangle to set
);
[ public ]
SFXTriangleRef Set(
    SFXPixelConstRef first    // coordinates of the first vertex to set
    SFXPixelConstRef second   // coordinates of the second vertex to set
    SFXPixelConstRef third    // coordinates of the third vertex to set
);
[ public ]
SFXTriangleRef Set(
    SFXPixelConstRef first    // coordinates of the first vertex to set
    SFXPixelConstRef second   // coordinates of the second vertex to set
    SInt16 tx                 // X coordinate of the third vertex to set
    SInt16 ty                 // Y coordinate of the third vertex to set
);
[ public ]
SFXTriangleRef Set(
    SFXPixelConstRef first   // coordinates of the first vertex to set
    SInt16 sx                // X coordinate of the second vertex to set
    SInt16 sy                // X coordinate of the second vertex to set
    SFXPixelConstRef third   // coordinates of the third vertex to set
);
[ public ]
SFXTriangleRef Set(
    SFXPixelConstRef first   // coordinates of the first vertex to set
    SInt16 sx                // X coordinate of the second vertex to set
    SInt16 sy                // Y coordinate of the second vertex to set
    SInt16 tx                // X coordinate of the third vertex to set
    SInt16 ty                // Y coordinate of the third vertex to set
);
[ public ]
SFXTriangleRef Set(
    SInt16 fx                 // X coordinate of the first vertex to set
    SInt16 fy                 // Y coordinate of the first vertex to set
    SFXPixelConstRef second   // coordinates of the second vertex to set
    SFXPixelConstRef third    // coordinates of the third vertex to set
);
[ public ]
SFXTriangleRef Set(
    SInt16 fx                 // X coordinate of the first vertex to set
    SInt16 fy                 // Y coordinate of the first vertex to set
    SFXPixelConstRef second   // coordinates of the second vertex to set
    SInt16 tx                 // X coordinate of the third vertex to set
    SInt16 ty                 // Y coordinate of the third vertex to set
);
[ public ]
SFXTriangleRef Set(
    SInt16 fx                // X coordinate of the first vertex to set
    SInt16 fy                // Y coordinate of the first vertex to set
    SInt16 sx                // X coordinate of the second vertex to set
    SInt16 sy                // Y coordinate of the second vertex to set
    SFXPixelConstRef third   // coordinates of the third vertex to set
);
[ public ]
SFXTriangleRef Set(
    SInt16 fx   // X coordinate of the first vertex to set
    SInt16 fy   // Y coordinate of the first vertex to set
    SInt16 sx   // X coordinate of the second vertex to set
    SInt16 sy   // Y coordinate of the second vertex to set
    SInt16 tx   // X coordinate of the third vertex to set
    SInt16 ty   // Y coordinate of the third vertex to set
);

Reference

SFXTriangle::operator=


SFXTriangle::SetFirst
Set the coordinates of the first vertex.
[ public ]
SFXTriangleRef SetFirst(
    SFXPixelConstRef param   // coordinates of the first vertex to set
);
[ public ]
SFXTriangleRef SetFirst(
    SInt16 x   // X coordinate of the first vertex to set
    SInt16 y   // Y coordinate of the first vertex to set
);

Reference

SFXTriangle::GetFirst | SFXTriangle::SetFirstX | SFXTriangle::SetFirstY | SFXTriangle::SetSecond | SFXTriangle::SetThird


SFXTriangle::SetFirstX
Set the X coordinate of the first vertex.
[ public ]
SFXTriangleRef SetFirstX(
    SInt16 param   // X coordinate of the first vertex to set
);

Reference

SFXTriangle::GetFirstX | SFXTriangle::SetFirst | SFXTriangle::SetFirstY | SFXTriangle::SetSecondX | SFXTriangle::SetThirdX


SFXTriangle::SetFirstY
Set the Y coordinate of the first vertex.
[ public ]
SFXTriangleRef SetFirstY(
    SInt16 param   // Y coordinate of the first vertex to set
);

Reference

SFXTriangle::GetFirstY | SFXTriangle::SetFirst | SFXTriangle::SetFirstX | SFXTriangle::SetSecondY | SFXTriangle::SetThirdY


SFXTriangle::SetSecond
Set the coordinates of the second vertex.
[ public ]
SFXTriangleRef SetSecond(
    SFXPixelConstRef param   // coordinates of the second vertex to set
);
[ public ]
SFXTriangleRef SetSecond(
    SInt16 x   // X coordinate of the second vertex to set
    SInt16 y   // Y coordinate of the second vertex to set
);

Reference

SFXTriangle::GetSecond | SFXTriangle::SetFirst | SFXTriangle::SetSecondX | SFXTriangle::SetSecondY | SFXTriangle::SetThird


SFXTriangle::SetSecondX
Set the X coordinate of the second vertex.
[ public ]
SFXTriangleRef SetSecondX(
    SInt16 param   // X coordinate of the second vertex to set
);

Reference

SFXTriangle::GetSecondX | SFXTriangle::SetFirstX | SFXTriangle::SetSecond | SFXTriangle::SetSecondY | SFXTriangle::SetThirdX


SFXTriangle::SetSecondY
Set the Y coordinate of the second vertex.
[ public ]
SFXTriangleRef SetSecondY(
    SInt16 param   // Y coordinate of the second vertex to set
);

Reference

SFXTriangle::GetSecondY | SFXTriangle::SetFirstY | SFXTriangle::SetSecond | SFXTriangle::SetSecondX | SFXTriangle::SetThirdY


SFXTriangle::SetThird
Set the coordinates of the third vertex.
[ public ]
SFXTriangleRef SetThird(
    SFXPixelConstRef param   // coordinates of the third vertex to set
);
[ public ]
SFXTriangleRef SetThird(
    SInt16 x   // X coordinate of the third vertex to set
    SInt16 y   // Y coordinate of the third vertex to set
);

Reference

SFXTriangle::GetThird | SFXTriangle::SetFirst | SFXTriangle::SetSecond | SFXTriangle::SetThirdX | SFXTriangle::SetThirdY


SFXTriangle::SetThirdX
Set the X coordinate of the third vertex.
[ public ]
SFXTriangleRef SetThirdX(
    SInt16 param   // X coordinate of the third vertex to set
);

Reference

SFXTriangle::GetThirdX | SFXTriangle::SetFirstX | SFXTriangle::SetSecondX | SFXTriangle::SetThird | SFXTriangle::SetThirdY


SFXTriangle::SetThirdY
Set the Y coordinate of the third vertex.
[ public ]
SFXTriangleRef SetThirdY(
    SInt16 param   // Y coordinate of the third vertex to set
);

Reference

SFXTriangle::GetThirdY | SFXTriangle::SetFirstY | SFXTriangle::SetSecondY | SFXTriangle::SetThird | SFXTriangle::SetThirdX


SFXTriangle::SubFirst
Subtract the specified value from the coordinates of the first vertex.
[ public ]
SFXTriangleRef SubFirst(
    SFXPixelConstRef param   // value to subtract from the coordinates of the first vertex
);
[ public ]
SFXTriangleRef SubFirst(
    SInt16 x   // value to subtract from the X coordinate of the first vertex
    SInt16 y   // value to subtract from the Y coordinate of the first vertex
);

Reference

SFXTriangle::AddFirst | SFXTriangle::SubFirstX | SFXTriangle::SubFirstY | SFXTriangle::SubSecond | SFXTriangle::SubThird | SFXTriangle::MulFirst | SFXTriangle::DivFirst | SFXTriangle::ModFirst | SFXTriangle::NegFirst


SFXTriangle::SubFirstX
Subtract the specified value from the X coordinate of the first vertex.
[ public ]
SFXTriangleRef SubFirstX(
    SInt16 param   // value to subtract from the X coordinate of the first vertex
);

Reference

SFXTriangle::AddFirstX | SFXTriangle::SubFirst | SFXTriangle::SubFirstY | SFXTriangle::SubSecondX | SFXTriangle::SubThirdX | SFXTriangle::MulFirstX | SFXTriangle::DivFirstX | SFXTriangle::ModFirstX | SFXTriangle::NegFirstX


SFXTriangle::SubFirstY
Subtract the specified value from the Y coordinate of the first vertex.
[ public ]
SFXTriangleRef SubFirstY(
    SInt16 param   // value to subtract from the Y coordinate of the first vertex
);

Reference

SFXTriangle::AddFirstY | SFXTriangle::SubFirst | SFXTriangle::SubFirstX | SFXTriangle::SubSecondY | SFXTriangle::SubThirdY | SFXTriangle::MulFirstY | SFXTriangle::DivFirstY | SFXTriangle::ModFirstY | SFXTriangle::NegFirstY


SFXTriangle::SubSecond
Subtract the specified value from the coordinates of the second vertex.
[ public ]
SFXTriangleRef SubSecond(
    SFXPixelConstRef param   // value to subtract from the coordinates of the second vertex
);
[ public ]
SFXTriangleRef SubSecond(
    SInt16 x   // value to subtract from the X coordinate of the second vertex
    SInt16 y   // value to subtract from the Y coordinate of the second vertex
);

Reference

SFXTriangle::AddSecond | SFXTriangle::SubFirst | SFXTriangle::SubSecondX | SFXTriangle::SubSecondY | SFXTriangle::SubThird | SFXTriangle::MulSecond | SFXTriangle::DivSecond | SFXTriangle::ModSecond | SFXTriangle::NegSecond


SFXTriangle::SubSecondX
Subtract the specified value from the X coordinate of the second vertex.
[ public ]
SFXTriangleRef SubSecondX(
    SInt16 param   // value to subtract from the X coordinate of the second vertex
);

Reference

SFXTriangle::AddSecondX | SFXTriangle::SubFirstX | SFXTriangle::SubSecond | SFXTriangle::SubSecondY | SFXTriangle::SubThirdX | SFXTriangle::MulSecondX | SFXTriangle::DivSecondX | SFXTriangle::ModSecondX | SFXTriangle::NegSecondX


SFXTriangle::SubSecondY
Subtract the specified value from the X coordinate of the second vertex.
[ public ]
SFXTriangleRef SubSecondY(
    SInt16 param   // value to subtract from the X coordinate of the second vertex
);

Reference

SFXTriangle::AddSecondY | SFXTriangle::SubFirstY | SFXTriangle::SubSecond | SFXTriangle::SubSecondX | SFXTriangle::SubThirdY | SFXTriangle::MulSecondY | SFXTriangle::DivSecondY | SFXTriangle::ModSecondY | SFXTriangle::NegSecondY


SFXTriangle::SubThird
Subtract the specified value from the coordinates of the third vertex.
[ public ]
SFXTriangleRef SubThird(
    SFXPixelConstRef param   // value to subtract from the coordinates of the third vertex
);
[ public ]
SFXTriangleRef SubThird(
    SInt16 x   // value to subtract from the X coordinate of the third vertex
    SInt16 y   // value to subtract from the Y coordinate of the third vertex
);

Reference

SFXTriangle::AddThird | SFXTriangle::SubFirst | SFXTriangle::SubSecond | SFXTriangle::SubThirdX | SFXTriangle::SubThirdY | SFXTriangle::MulThird | SFXTriangle::DivThird | SFXTriangle::ModThird | SFXTriangle::NegThird


SFXTriangle::SubThirdX
Subtract the specified value from the X coordinate of the third vertex.
[ public ]
SFXTriangleRef SubThirdX(
    SInt16 param   // value to subtract from the X coordinate of the third vertex
);

Reference

SFXTriangle::AddThirdX | SFXTriangle::SubFirstX | SFXTriangle::SubSecondX | SFXTriangle::SubThird | SFXTriangle::SubThirdY | SFXTriangle::MulThirdX | SFXTriangle::DivThirdX | SFXTriangle::ModThirdX | SFXTriangle::NegThirdX


SFXTriangle::SubThirdY
Subtract the specified value from the Y coordinate of the third vertex.
[ public ]
SFXTriangleRef SubThirdY(
    SInt16 param   // value to subtract from the Y coordinate of the third vertex
);

Reference

SFXTriangle::AddThirdY | SFXTriangle::SubFirstY | SFXTriangle::SubSecondY | SFXTriangle::SubThird | SFXTriangle::SubThirdX | SFXTriangle::MulThirdY | SFXTriangle::DivThirdY | SFXTriangle::ModThirdY | SFXTriangle::NegThirdY


SFXTriangle::Unoffset
Subtract the specified value from the coordinates of all the vertices and move this triangle.
[ public ]
SFXTriangleRef Unoffset(
    SFXGridConstRef param   // value to subtract from the coordinates of all the vertices
);
[ public ]
SFXTriangleRef Unoffset(
    SInt16 x   // value to subtract from the X coordinate of all the vertices
    SInt16 y   // value to subtract from the Y coordinate of all the vertices
);

Reference

SFXTriangle::Offset | operator- | operator+


SFXTriangle::ZeroInstance
Get the instance that represents 0.
[ public, static ]
SFXTriangleConstRef ZeroInstance(Void);

Description

This function returns the 0 instance, which means that 0 or null is set to all the member variables of its corresponding AtomRec struct.

Example

SFXTriangle tri(10, 80, 20, 20, 60, 30);

tri = SFXTriangle::ZeroInstance();   // initialize tri 
TRACE("x1 = %d, y1 = %d, x2 = %d, y2 = %d, x3 = %d, y3 = %d", tri.GetFirstX(), tri.GetFirstY(), tri.GetSecondX(), tri.GetSecondY(), tri.GetThirdX(), tri.GetThirdY());// x1 = 0, y1 = 0, x2 = 0, y2 = 0, x3 = 0, y3 = 0

Reference

SFXTriangle::AtomRec


atomic_cast
Convert SFXTriangle into SFXTriangle::AtomRec.
[ public, friend ]
SFXTriangle::AtomRec * atomic_cast(
    SFXTriangle * param   // triangle to cast
);
[ public, friend ]
SFXTriangle::AtomRec const * atomic_cast(
    SFXTriangle const * param   // triangle to cast
);

Reference

SFXTriangle::AtomRec


interface_cast
Convert SFXTriangle into AEETriangle.
[ public, friend ]
AEETriangle * interface_cast(
    SFXTriangle * param   // triangle to cast
);
[ public, friend ]
AEETriangle const * interface_cast(
    SFXTriangle const * param   // triangle to cast
);

SFXTriangle::operator=
Assign a triangle.
[ public ]
SFXTriangleRef operator=(
    SFXTriangleConstRef param   // source triangle
);

Reference

SFXTriangle::Set


operator==
Check the "==" relation.
[ public, friend ]
Bool operator==(
    SFXTriangleConstRef left    // triangle to compare
    SFXTriangleConstRef right   // triangle to compare
);

Return value

  • If yes: true
  • Otherwise: false

Reference

SFXTriangle::Equals | operator!=


SFXTriangle::operator-=
Subtract the specified value from the coordinates of all the vertices and move this triangle.
[ public ]
SFXTriangleRef operator-=(
    SFXGridConstRef param   // value to subtract from the coordinates of all the vertices of the triangle
);

Reference

SFXTriangle::Unoffset | operator- | SFXTriangle::operator+=


operator-
Subtract the specified value from the coordinates of all the vertices and move this triangle.
[ public, friend ]
SFXTriangle operator-(
    SFXTriangleConstRef left   // triangle to move
    SFXGridConstRef right      // value to subtract from the coordinates of all the vertices of the triangle
);

Reference

SFXTriangle::Unoffset | SFXTriangle::operator-= | operator+


operator!=
Check the "!=" relation.
[ public, friend ]
Bool operator!=(
    SFXTriangleConstRef left    // triangle to compare
    SFXTriangleConstRef right   // triangle to compare
);

Return value

  • If yes: true
  • Otherwise: false

Reference

SFXTriangle::Equals | operator==


SFXTriangle::operator+=
Add the specified value to the coordinates of all the vertices and move this triangle.
[ public ]
SFXTriangleRef operator+=(
    SFXGridConstRef param   // value to add to the coordinates of all the vertices of the triangle
);

Reference

SFXTriangle::Offset | SFXTriangle::operator-= | operator+


operator+
Add the specified value to the coordinates of all the vertices and move this triangle.
[ public, friend ]
SFXTriangle operator+(
    SFXTriangleConstRef left   // triangle to move
    SFXGridConstRef right      // value to add to the coordinates of all the vertices of the triangle
);

Reference

SFXTriangle::Offset | operator- | SFXTriangle::operator+=


SFXTriangle::AtomRec
Structure that represents a triangle.
struct AtomRec {
  SFXPixel::AtomRec  first;   // coordinate of the first vertex
  SFXPixel::AtomRec  second;  // coordinate of the second vertex
  SFXPixel::AtomRec  third;   // coordinate of the third vertex
};