CFx SDK Documentation 2026 SP0
Loading...
Searching...
No Matches
OdSyScaleList Class Reference

#include <SyScaleList.h>

Public Member Functions

 OdSyScaleList ()
 
void init (OdDbDatabase *pDb, const OdDbObjectId *id=NULL, const OdString *name=NULL)
 
OdGeDoubleArray::size_type findClosestScaleIdx (double scale) const
 
OdDbObjectId findNextBiggerScaleFactor (const OdDbObjectId &id, double scale) const
 
OdDbObjectId findScaleId (double scale, const OdDbDatabase *pDb) const
 
OdDbObjectId findScaleId (double scale, bool) const
 
OdDbObjectIdArray::size_type findScaleIdx (const OdDbObjectId &) const
 
OdDbObjectIdArray::size_type findScaleIdx (const OdString &name) const
 
int fromParentIdx () const
 
void getLists (OdStringArray &names, OdDbObjectIdArray &ids, OdGeDoubleArray &scales) const
 
bool getScale (OdGeDoubleArray::size_type index, OdDbObjectId &id, double &scale) const
 

Static Public Member Functions

static OdResult getScale (double &scale, const OdDbObjectId &id)
 

Protected Member Functions

OdDbObjectId findScaleId (double scale, const OdString &name) const
 

Detailed Description

<group Other_Classes>

Definition at line 35 of file SyScaleList.h.

Constructor & Destructor Documentation

◆ OdSyScaleList()

OdSyScaleList::OdSyScaleList ( )

Member Function Documentation

◆ findClosestScaleIdx()

OdGeDoubleArray::size_type OdSyScaleList::findClosestScaleIdx ( double scale) const

◆ findNextBiggerScaleFactor()

OdDbObjectId OdSyScaleList::findNextBiggerScaleFactor ( const OdDbObjectId & id,
double scale ) const

◆ findScaleId() [1/3]

OdDbObjectId OdSyScaleList::findScaleId ( double scale,
bool  ) const

◆ findScaleId() [2/3]

OdDbObjectId OdSyScaleList::findScaleId ( double scale,
const OdDbDatabase * pDb ) const

◆ findScaleId() [3/3]

OdDbObjectId OdSyScaleList::findScaleId ( double scale,
const OdString & name ) const
protected

◆ findScaleIdx() [1/2]

OdDbObjectIdArray::size_type OdSyScaleList::findScaleIdx ( const OdDbObjectId & ) const

◆ findScaleIdx() [2/2]

OdDbObjectIdArray::size_type OdSyScaleList::findScaleIdx ( const OdString & name) const

◆ fromParentIdx()

int OdSyScaleList::fromParentIdx ( ) const

◆ getLists()

void OdSyScaleList::getLists ( OdStringArray & names,
OdDbObjectIdArray & ids,
OdGeDoubleArray & scales ) const

◆ getScale() [1/2]

static OdResult OdSyScaleList::getScale ( double & scale,
const OdDbObjectId & id )
static

◆ getScale() [2/2]

bool OdSyScaleList::getScale ( OdGeDoubleArray::size_type index,
OdDbObjectId & id,
double & scale ) const

◆ init()

void OdSyScaleList::init ( OdDbDatabase * pDb,
const OdDbObjectId * id = NULL,
const OdString * name = NULL )

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