PrevNextUpHome BREW C++ Class Library & GUI Framework & XML Middleware : SophiaFramework 4.1
SFXTriangle
Class that represents a triangle.
#include <SFXTriangle.h.hpp>
class SFXTriangle;
SFMTYPEDEFCLASS(SFXTriangle)

Collaboration diagram

 Collaboration diagram of SFXTriangleClass

Member

Constructor/Destructor
SFXTriangle( Void )
Constructor of SFXTriangle class.
SFXTriangle( SFXTriangleConstRef param )
Constructor of SFXTriangle class.
SFXTriangle( SFXPixelConstRef first , SFXPixelConstRef second , SFXPixelConstRef third )
Constructor of SFXTriangle class.
SFXTriangle( SFXPixelConstRef first , SFXPixelConstRef second , SInt16 tx , SInt16 ty )
Constructor of SFXTriangle class.
SFXTriangle( SFXPixelConstRef first , SInt16 sx , SInt16 sy , SFXPixelConstRef third )
Constructor of SFXTriangle class.
SFXTriangle( SFXPixelConstRef first , SInt16 sx , SInt16 sy , SInt16 tx , SInt16 ty )
Constructor of SFXTriangle class.
SFXTriangle( SInt16 fx , SInt16 fy , SFXPixelConstRef second , SFXPixelConstRef third )
Constructor of SFXTriangle class.
SFXTriangle( SInt16 fx , SInt16 fy , SFXPixelConstRef second , SInt16 tx , SInt16 ty )
Constructor of SFXTriangle class.
SFXTriangle( SInt16 fx , SInt16 fy , SInt16 sx , SInt16 sy , SFXPixelConstRef third )
Constructor of SFXTriangle class.
SFXTriangle( SInt16 fx , SInt16 fy , SInt16 sx , SInt16 sy , SInt16 tx , SInt16 ty )
Constructor of SFXTriangle class.
Public Functions
SFXTriangleRef AddFirst( SFXPixelConstRef param )
AddFirst( SInt16 x , SInt16 y )
Add a specified value to the coordinates of the first vertex.
SFXTriangleRef AddFirstX( SInt16 param )
Add a specified value to the X coordinate of the first vertex.
SFXTriangleRef AddFirstY( SInt16 param )
Add a specified value to the Y coordinate of the first vertex.
SFXTriangleRef AddSecond( SFXPixelConstRef param )
AddSecond( SInt16 x , SInt16 y )
Add a specified value to the coordinates of the second vertex.
SFXTriangleRef AddSecondX( SInt16 param )
Add a specified value to the X coordinate of the second vertex.
SFXTriangleRef AddSecondY( SInt16 param )
Add a specified value to the X coordinate of the second vertex.
SFXTriangleRef AddThird( SFXPixelConstRef param )
AddThird( SInt16 x , SInt16 y )
Add a specified value to the coordinate of the third vertex.
SFXTriangleRef AddThirdX( SInt16 param )
Add a specified value to the X coordinate of the third vertex.
SFXTriangleRef AddThirdY( SInt16 param )
Add a specified value to the Y coordinate of the third vertex.
SFXTriangleRef DivFirst( SInt16 x , SInt16 y )
DivFirst( SInt16 param )
Divide the coordinates of the first vertex by a specified value.
SFXTriangleRef DivFirstX( SInt16 param )
Divide the X coordinate of the first vertex by a specified value.
SFXTriangleRef DivFirstY( SInt16 param )
Divide the Y coordinate of the first vertex by a specified value.
SFXTriangleRef DivSecond( SInt16 x , SInt16 y )
DivSecond( SInt16 param )
Divide the coordinates of the second vertex by a specified value.
SFXTriangleRef DivSecondX( SInt16 param )
Divide the X coordinate of the second vertex by a specified value.
SFXTriangleRef DivSecondY( SInt16 param )
Divide the Y coordinate of the second vertex by a specified value.
SFXTriangleRef DivThird( SInt16 x , SInt16 y )
DivThird( SInt16 param )
Divide the coordinates of the third vertex by a specified value.
SFXTriangleRef DivThirdX( SInt16 param )
Divide the X coordinate of the third vertex by a specified value.
SFXTriangleRef DivThirdY( SInt16 param )
Divide the Y coordinate of the third vertex by a specified value.
Bool Equals( SFXTriangleConstRef param )
Equals( SInt16 fx , SInt16 fy , SInt16 sx , SInt16 sy , SInt16 tx , SInt16 ty )
Equals( SInt16 fx , SInt16 fy , SInt16 sx , SInt16 sy , SFXPixelConstRef third )
Equals( SInt16 fx , SInt16 fy , SFXPixelConstRef second , SInt16 tx , SInt16 ty )
Equals( SInt16 fx , SInt16 fy , SFXPixelConstRef second , SFXPixelConstRef third )
Equals( SFXPixelConstRef first , SInt16 sx , SInt16 sy , SInt16 tx , SInt16 ty )
Equals( SFXPixelConstRef first , SInt16 sx , SInt16 sy , SFXPixelConstRef third )
Equals( SFXPixelConstRef first , SFXPixelConstRef second , SInt16 tx , SInt16 ty )
Equals( SFXPixelConstRef first , SFXPixelConstRef second , SFXPixelConstRef third )
Check whether this triangle equals a 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 )
ModFirst( SInt16 param )
Set the coordinates of the first vertex to the remainder of the division of this coordinates by a specified value.
SFXTriangleRef ModFirstX( SInt16 param )
Set the X coordinate of the first vertex to the remainder of the division of this coordinate by a specified value.
SFXTriangleRef ModFirstY( SInt16 param )
Set the Y coordinate of the first vertex to the remainder of the division of this coordinate by a specified value..
SFXTriangleRef ModSecond( SInt16 x , SInt16 y )
ModSecond( SInt16 param )
Set the coordinates of the second vertex to the remainder of the division of this coordinates by a specified value.
SFXTriangleRef ModSecondX( SInt16 param )
Set the X coordinate of the second vertex to the remainder of the division of this coordinate by a specified value.
SFXTriangleRef ModSecondY( SInt16 param )
Set the Y coordinate of the second vertex to the remainder of the division of this coordinate by a specified value.
SFXTriangleRef ModThird( SInt16 x , SInt16 y )
ModThird( SInt16 param )
Set the coordinates of the third vertex to the remainder of the division of this coordinates by a specified value.
SFXTriangleRef ModThirdX( SInt16 param )
Set the X coordinate of the third vertex to the remainder of the division of this coordinate by a specified value.
SFXTriangleRef ModThirdY( SInt16 param )
Set the Y coordinate of the third vertex to the remainder of the division of this coordinate by a specified value.
SFXTriangleRef MulFirst( SInt16 x , SInt16 y )
MulFirst( SInt16 param )
Multiply the coordinates of the first vertex by a specified value.
SFXTriangleRef MulFirstX( SInt16 param )
Multiply the X coordinate of the first vertex by a specified value.
SFXTriangleRef MulFirstY( SInt16 param )
Multiply the Y coordinate of the first vertex by a specified value.
SFXTriangleRef MulSecond( SInt16 x , SInt16 y )
MulSecond( SInt16 param )
Multiply the coordinates of the second vertex by a specified value.
SFXTriangleRef MulSecondX( SInt16 param )
Multiply the X coordinate of the second vertex by a specified value.
SFXTriangleRef MulSecondY( SInt16 param )
Multiply the X coordinate of the second vertex by a specified value.
SFXTriangleRef MulThird( SInt16 x , SInt16 y )
MulThird( SInt16 param )
Multiply the coordinates of the third vertex by a specified value.
SFXTriangleRef MulThirdX( SInt16 param )
Multiply the X coordinate of the third vertex by a specified value.
SFXTriangleRef MulThirdY( SInt16 param )
Multiply the Y coordinate of the third vertex by a 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 )
Offset( SInt16 x , SInt16 y )
Add a specified value to the coordinates of all the vertices and move this triangle.
SFXTriangleRef Set( SFXTriangleConstRef param )
Set( SInt16 fx , SInt16 fy , SInt16 sx , SInt16 sy , SInt16 tx , SInt16 ty )
Set( SInt16 fx , SInt16 fy , SInt16 sx , SInt16 sy , SFXPixelConstRef third )
Set( SInt16 fx , SInt16 fy , SFXPixelConstRef second , SInt16 tx , SInt16 ty )
Set( SInt16 fx , SInt16 fy , SFXPixelConstRef second , SFXPixelConstRef third )
Set( SFXPixelConstRef first , SInt16 sx , SInt16 sy , SInt16 tx , SInt16 ty )
Set( SFXPixelConstRef first , SInt16 sx , SInt16 sy , SFXPixelConstRef third )
Set( SFXPixelConstRef first , SFXPixelConstRef second , SInt16 tx , SInt16 ty )
Set( SFXPixelConstRef first , SFXPixelConstRef second , SFXPixelConstRef third )
Set the triangle.
SFXTriangleRef SetFirst( SFXPixelConstRef param )
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 )
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 )
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 )
SubFirst( SInt16 x , SInt16 y )
Subtract a specified value from the coordinates of the first vertex.
SFXTriangleRef SubFirstX( SInt16 param )
Subtract a specified value from the X coordinate of the first vertex.
SFXTriangleRef SubFirstY( SInt16 param )
Subtract a specified value from the Y coordinate of the first vertex.
SFXTriangleRef SubSecond( SFXPixelConstRef param )
SubSecond( SInt16 x , SInt16 y )
Subtract a specified value from the coordinates of the second vertex.
SFXTriangleRef SubSecondX( SInt16 param )
Subtract a specified value from the X coordinate of the second vertex.
SFXTriangleRef SubSecondY( SInt16 param )
Subtract a specified value from the X coordinate of the second vertex.
SFXTriangleRef SubThird( SFXPixelConstRef param )
SubThird( SInt16 x , SInt16 y )
Subtract a specified value from the coordinates of the third vertex.
SFXTriangleRef SubThirdX( SInt16 param )
Subtract a specified value from the X coordinate of the third vertex.
SFXTriangleRef SubThirdY( SInt16 param )
Subtract a specified value from the Y coordinate of the third vertex.
SFXTriangleRef Unoffset( SFXGridConstRef param )
Unoffset( SInt16 x , SInt16 y )
Subtract a 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 a specified value to the coordinates of all the vertices and move this triangle.
SFXTriangleRef operator-=( SFXGridConstRef param )
Subtract a 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 a 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 a 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 a 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 a specified value to the coordinates of all the vertices and move this triangle.

SFXTriangle::SFXTriangle
Constructor of 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 a 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 a 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 a 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 a 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 a 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 a 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 a 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 a 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 a 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 a 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 the 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 a 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 the 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 a 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 the 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 a 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 the 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 a 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 the 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 a 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 the 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 a 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 the 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 a 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 the 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 a 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 the 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 a 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 a 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 the 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 a specified value.
[ public ]
SFXTriangleRef ModFirstX(
    SInt16 param   // divide X coordinate by this value
);

Description

The behaviour is not defined when the value of the 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 a specified value..
[ public ]
SFXTriangleRef ModFirstY(
    SInt16 param   // divide Y coordinate by this value
);

Description

The behaviour is not defined when the value of the 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 a 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
);