PointF Class Reference

`#include <SutherlandHodgmanClipPoly.h>`

## Public Member Functions

PointF ()

PointF (const PointF &p)

PointF (REAL x, REAL y)

PointF operator+ (const PointF &p) const

PointF operator- (const PointF &p) const

bool Equals (const PointF &p)

REAL X

REAL Y

## Detailed Description

Definition at line 40 of file SutherlandHodgmanClipPoly.h.

## ◆ PointF() [1/3]

 PointF::PointF ( )
inline

Definition at line 46 of file SutherlandHodgmanClipPoly.h.

46  : X( 0 )
47  , Y( 0 ) { }

Referenced by operator+(), and operator-().

## ◆ PointF() [2/3]

 PointF::PointF ( const PointF & p )
inline

Definition at line 48 of file SutherlandHodgmanClipPoly.h.

48  : X( p.X )
49  , Y( p.Y ) { }

## ◆ PointF() [3/3]

 PointF::PointF ( REAL x, REAL y )
inline

Definition at line 50 of file SutherlandHodgmanClipPoly.h.

50  : X( x )
51  , Y( y ) { }

## ◆ Equals()

 bool PointF::Equals ( const PointF & p )
inline

Definition at line 54 of file SutherlandHodgmanClipPoly.h.

54 { return (X == p.X) && (Y == p.Y); }

References X, and Y.

## ◆ operator+()

 PointF PointF::operator+ ( const PointF & p ) const
inline

Definition at line 52 of file SutherlandHodgmanClipPoly.h.

52 { return PointF( X + p.X, Y + p.Y ); }

References PointF(), X, and Y.

## ◆ operator-()

 PointF PointF::operator- ( const PointF & p ) const
inline

Definition at line 53 of file SutherlandHodgmanClipPoly.h.

53 { return PointF( X - p.X, Y - p.Y ); }

References PointF(), X, and Y.

## ◆ X

 REAL PointF::X

Definition at line 43 of file SutherlandHodgmanClipPoly.h.

## ◆ Y

 REAL PointF::Y

Definition at line 44 of file SutherlandHodgmanClipPoly.h.

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