Open CASCADE Technology  7.6.0
Public Member Functions | Data Fields

Draw_XSegment Struct Reference

Segment definition. More...

#include <Draw_Window.hxx>

Public Member Functions

NCollection_Vec2< short > & operator[] (int theIndex)
 
const NCollection_Vec2< short > & operator[] (int theIndex) const
 
void Init (Standard_Integer theXStart, Standard_Integer theYStart, Standard_Integer theXEnd, Standard_Integer theYEnd)
 

Data Fields

NCollection_Vec2< short > Points [2]
 

Detailed Description

Segment definition.

Member Function Documentation

◆ Init()

void Draw_XSegment::Init ( Standard_Integer  theXStart,
Standard_Integer  theYStart,
Standard_Integer  theXEnd,
Standard_Integer  theYEnd 
)
inline

◆ operator[]() [1/2]

NCollection_Vec2<short>& Draw_XSegment::operator[] ( int  theIndex)
inline

◆ operator[]() [2/2]

const NCollection_Vec2<short>& Draw_XSegment::operator[] ( int  theIndex) const
inline

Field Documentation

◆ Points

NCollection_Vec2<short> Draw_XSegment::Points[2]

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