Open CASCADE Technology 7.8.2.dev
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.
 
bool IsSinglePrecision () const
 Return single precision flag; FALSE by default.
 
void SetSinglePrecision (Standard_Boolean theIsSinglePrecision)
 Setup single/double precision flag.
 
void Reset ()
 Reset and (re)allocate buffer.
 
Standard_Integer Lower () const
 Return vector lower index.
 
Standard_Integer Upper () const
 Return vector upper index.
 
gp_Pnt Value (Standard_Integer theIndex) const
 Return point with the given index.
 
void Append (const gp_Pnt &thePnt)
 Append new point.
 

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: