CFx SDK Documentation
2020SP3
|
Go to the documentation of this file.
46 double deviation()
const;
47 void setDeviation(
double dDeviation);
55 virtual void loadBytes(
const OdUInt8 *pBytes);
61 void popDbl(
const OdUInt8 *&pBytes,
double &dDbl)
const;
91 if (!pSrcFill.isNull())
127 OdUInt8 nBytes[
sizeof(double)];
128 ::memcpy(nBytes, &dDbl,
sizeof(
double));
129 bytes.
insert(bytes.
end(), nBytes, nBytes +
sizeof(
double));
136 ::memcpy(nBytes, &nInt,
sizeof(
OdUInt32));
143 ::memcpy(&dDbl, pBytes,
sizeof(
double));
144 pBytes +=
sizeof(double);
150 ::memcpy(&nInt, pBytes,
sizeof(
OdUInt32));
181 bool isDraft()
const;
182 void setDraft(
bool draft);
218 if (!pSrcFill.isNull())
294 for (
OdUInt32 nPat = 0; nPat < nPats; nPat++)
302 for (
OdUInt32 nDash = 0; nDash < nDashes; nDash++)
314 case 0: pObj = OdGiFill::createObject();
break;
315 case 1: pObj = OdGiHatchPattern::createObject();
break;
337 #endif //_OD_GIFILL_H_
bool OdEqual(double x, double y, double tol=1.e-10)
virtual bool operator!=(const OdGiFill &fill) const
virtual void loadBytes(const OdUInt8 *pBytes)
static OdSmartPtr< OdGiFill > loadFill(const OdUInt8 *pBytes)
OdSmartPtr< OdGiHatchPattern > OdGiHatchPatternPtr
virtual void copyFrom(const OdRxObject *pSource)
virtual void copyFrom(const OdRxObject *pSource)
virtual void saveBytes(OdUInt8Array &bytes) const
OdGeVector2d m_patternOffset
OdHatchPattern m_aHatchPattern
virtual void loadBytes(const OdUInt8 *pBytes)
virtual OdRxClass * isA() const
void popDbl(const OdUInt8 *&pBytes, double &dDbl) const
bool DAI_EXPORT operator!=(const OdDAI::OdSelect &left, const OdDAI::OdSelect &right)
void resize(size_type logicalLength, const T &value)
void insert(iterator before, const_iterator first, const_iterator afterLast)
const OdHatchPattern & patternLines() const
virtual void saveBytes(OdUInt8Array &bytes) const
static OdRxObjectPtr cast(const OdRxObject *pointer)
void pushInt(OdUInt8Array &bytes, OdUInt32 nInt) const
ODRX_DECLARE_MEMBERS(OdGiFill)
void push_back(const T &value)
bool DAI_EXPORT operator==(const OdFileDescriptionAuto &left, const OdFileDescriptionAuto &right)
void pushDbl(OdUInt8Array &bytes, double dDbl) const
virtual bool operator!=(const OdGiFill &fill) const
virtual void copyFrom(const OdRxObject *pSource)
void setDeviation(double dDeviation)
void setDraft(bool draft)
virtual bool operator==(const OdGiFill &fill) const
virtual bool operator==(const OdGiFill &fill) const
void popInt(const OdUInt8 *&pBytes, OdUInt32 &nInt) const
void setPatternLines(const OdHatchPattern &aHatchPattern)
ODRX_DECLARE_MEMBERS(OdGiHatchPattern)
OdSmartPtr< OdGiFill > OdGiFillPtr