VTK  9.1.0
Public Member Functions | List of all members
vtkContextPolygon Class Reference

#include <vtkContextPolygon.h>

Public Member Functions

 vtkContextPolygon ()
 
 vtkContextPolygon (const vtkContextPolygon &polygon)
 
 ~vtkContextPolygon ()
 
void AddPoint (const vtkVector2f &point)
 
void AddPoint (float x, float y)
 
vtkVector2f GetPoint (vtkIdType index) const
 
vtkIdType GetNumberOfPoints () const
 
void Clear ()
 
bool Contains (const vtkVector2f &point) const
 
vtkContextPolygon Transformed (vtkTransform2D *transform) const
 
vtkContextPolygonoperator= (const vtkContextPolygon &other)
 

Detailed Description

Definition at line 26 of file vtkContextPolygon.h.

Constructor & Destructor Documentation

◆ vtkContextPolygon() [1/2]

vtkContextPolygon::vtkContextPolygon ( )

◆ vtkContextPolygon() [2/2]

vtkContextPolygon::vtkContextPolygon ( const vtkContextPolygon polygon)

◆ ~vtkContextPolygon()

vtkContextPolygon::~vtkContextPolygon ( )

Member Function Documentation

◆ AddPoint() [1/2]

void vtkContextPolygon::AddPoint ( const vtkVector2f point)

◆ AddPoint() [2/2]

void vtkContextPolygon::AddPoint ( float  x,
float  y 
)

◆ GetPoint()

vtkVector2f vtkContextPolygon::GetPoint ( vtkIdType  index) const

◆ GetNumberOfPoints()

vtkIdType vtkContextPolygon::GetNumberOfPoints ( ) const

◆ Clear()

void vtkContextPolygon::Clear ( )

◆ Contains()

bool vtkContextPolygon::Contains ( const vtkVector2f point) const

◆ Transformed()

vtkContextPolygon vtkContextPolygon::Transformed ( vtkTransform2D transform) const

◆ operator=()

vtkContextPolygon & vtkContextPolygon::operator= ( const vtkContextPolygon other)

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