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;
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));
179 virtual void loadBytes(
const OdUInt8 *pBytes);
181 bool isDraft()
const;
182 void setDraft(
bool draft);
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;
OdSmartPtr< OdGiFill > OdGiFillPtr
OdSmartPtr< OdGiHatchPattern > OdGiHatchPatternPtr
bool OdEqual(double x, double y, double tol=1.e-10)
void push_back(const T &value)
void insert(iterator before, const_iterator first, const_iterator afterLast)
void resize(size_type logicalLength, const T &value)
virtual void saveBytes(OdUInt8Array &bytes) const
void pushDbl(OdUInt8Array &bytes, double dDbl) const
virtual void loadBytes(const OdUInt8 *pBytes)
void popInt(const OdUInt8 *&pBytes, OdUInt32 &nInt) const
ODRX_DECLARE_MEMBERS(OdGiFill)
virtual bool operator!=(const OdGiFill &fill) const
static OdSmartPtr< OdGiFill > loadFill(const OdUInt8 *pBytes)
virtual bool operator==(const OdGiFill &fill) const
virtual void copyFrom(const OdRxObject *pSource)
void pushInt(OdUInt8Array &bytes, OdUInt32 nInt) const
void setDeviation(double dDeviation)
void popDbl(const OdUInt8 *&pBytes, double &dDbl) const
virtual void saveBytes(OdUInt8Array &bytes) const
virtual bool operator!=(const OdGiFill &fill) const
OdHatchPattern m_aHatchPattern
virtual void loadBytes(const OdUInt8 *pBytes)
ODRX_DECLARE_MEMBERS(OdGiHatchPattern)
void setDraft(bool draft)
virtual void copyFrom(const OdRxObject *pSource)
void setPatternLines(const OdHatchPattern &aHatchPattern)
virtual bool operator==(const OdGiFill &fill) const
const OdHatchPattern & patternLines() const
OdGeVector2d m_patternOffset
virtual OdRxClass * isA() const
virtual void copyFrom(const OdRxObject *pSource)
static OdRxObjectPtr cast(const OdRxObject *pointer)
bool DAI_EXPORT operator!=(const OdDAI::OdSelect &left, const OdDAI::OdSelect &right)
bool DAI_EXPORT operator==(const OdFileDescriptionAuto &left, const OdFileDescriptionAuto &right)