Open CASCADE Technology  7.6.0
Public Member Functions

RWObj_Reader::VectorOfVertices Class Reference

Auxiliary structure holding vertex data either with single or double floating point precision. More...

#include <RWObj_Reader.hxx>

Public Member Functions

 VectorOfVertices ()
 Empty constructor. More...
 
bool IsSinglePrecision () const
 Return single precision flag; FALSE by default. More...
 
void SetSinglePrecision (Standard_Boolean theIsSinglePrecision)
 Setup single/double precision flag. More...
 
void Reset ()
 Reset and (re)allocate buffer. More...
 
Standard_Integer Lower () const
 Return vector lower index. More...
 
Standard_Integer Upper () const
 Return vector upper index. More...
 
gp_Pnt Value (Standard_Integer theIndex) const
 Return point with the given index. More...
 
void Append (const gp_Pnt &thePnt)
 Append new point. More...
 

Detailed Description

Auxiliary structure holding vertex data either with single or double floating point precision.

Constructor & Destructor Documentation

◆ VectorOfVertices()

RWObj_Reader::VectorOfVertices::VectorOfVertices ( )
inline

Empty constructor.

Member Function Documentation

◆ Append()

void RWObj_Reader::VectorOfVertices::Append ( const gp_Pnt thePnt)
inline

Append new point.

◆ IsSinglePrecision()

bool RWObj_Reader::VectorOfVertices::IsSinglePrecision ( ) const
inline

Return single precision flag; FALSE by default.

◆ Lower()

Standard_Integer RWObj_Reader::VectorOfVertices::Lower ( ) const
inline

Return vector lower index.

◆ Reset()

void RWObj_Reader::VectorOfVertices::Reset ( )
inline

Reset and (re)allocate buffer.

◆ SetSinglePrecision()

void RWObj_Reader::VectorOfVertices::SetSinglePrecision ( Standard_Boolean  theIsSinglePrecision)
inline

Setup single/double precision flag.

◆ Upper()

Standard_Integer RWObj_Reader::VectorOfVertices::Upper ( ) const
inline

Return vector upper index.

◆ Value()

gp_Pnt RWObj_Reader::VectorOfVertices::Value ( Standard_Integer  theIndex) const
inline

Return point with the given index.


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