6#if !defined(AFX_3DEXTPOINT_H__BB3D80E9_003C_11D2_A0E3_000000000000__INCLUDED_)
7#define AFX_3DEXTPOINT_H__BB3D80E9_003C_11D2_A0E3_000000000000__INCLUDED_
17BEGIN_MOOTOOLS_NAMESPACE
22class DLLFUNCTION C3DExtPoint :
public C3DPoint
25 using C3DPoint::operator=;
29#ifdef PLY_ALPHA_FEATURE
33 C3DExtPoint(real = 0, real = 0, real = 0);
34 virtual ~C3DExtPoint();
36 CSymMatrix& GetQuadric();
39 C3DExtPoint& operator=(
const C3DExtPoint&
pt);
42 virtual bool IsKindOf(
unsigned int classid)
const;
43 virtual unsigned int ClassID()
const;
47inline CSymMatrix& C3DExtPoint::GetQuadric()
52inline CPt& C3DExtPoint::operator=(
const CPt&
pt)
56 ((C3DExtPoint*)
this)->C3DPoint::operator=((C3DExtPoint&)
pt);
57 ((C3DExtPoint *)
this)->quadric = ((C3DExtPoint&)
pt).quadric;
62inline C3DExtPoint& C3DExtPoint::operator=(
const C3DPoint&
pt)
64 this->C3DPoint::operator=(
pt);
68inline C3DExtPoint& C3DExtPoint::operator=(
const C3DExtPoint&
pt)
70 this->C3DPoint::operator=(
pt);
75class C3DExPointMethods :
public C3DPointMethods
80 SIZET GetSizeof()
const;
81 ElementType GetType()
const;
82 void ConstructElement(
void*
pNewData);
87inline SIZET C3DExPointMethods::GetSizeof()
const
89 return sizeof(C3DExtPoint);
92inline ElementType C3DExPointMethods::GetType()
const
94 return MAKE_CUSTOM_ID(
'3',
'D',
'E',
'P');
97inline void C3DExPointMethods::ConstructElement(
void*
pNewData)
104 if (
methods->GetType() == C3DPointMethods::GetType())
125 using C3DPointList::operator=;
127 DECLARE_SERIAL_XOBJECT(CExtPointList)
130 virtual ~CExtPointList();
132 C3DExtPoint *GetFirst();
133 C3DExtPoint *GetNext(C3DExtPoint *
pointList);
134 C3DExtPoint *ElementAt(
int i);
135 C3DExtPoint *operator[](
int i);
138 void SetAt(
int nIndex,
const C3DExtPoint *
pt);
141inline C3DExtPoint *CExtPointList::GetFirst()
143 return (C3DExtPoint *)CElementArray::GetFirst();
146inline C3DExtPoint *CExtPointList::GetNext(C3DExtPoint *
pointList)
148 return (C3DExtPoint *)CElementArray::GetNext(
pointList);
151inline C3DExtPoint *CExtPointList::ElementAt(
int i)
153 return ((C3DExtPoint *)CElementArray::ElementAt(
i));
156inline C3DExtPoint *CExtPointList::operator[](
int i)
158 return ((C3DExtPoint *)CElementArray::operator[](
i));
167inline void CExtPointList::SetAt(
int nIndex,
const C3DExtPoint *
pt)
173END_MOOTOOLS_NAMESPACE
C3DFaceList class definition which is a list of C3DFace.
C3DPointList class definition for handling a list of C3DPoint.
Definition 3DPointList.h:267
CElementMethods is provided to CElementArray and give some information on the data as well as the met...
Definition ElementArray.h:22
virtual bool IsKindOf(const CElementMethods *methods) const
For class we if this->GetBaseType() == B->GetType() that means that this knows how to copy from B.
CPt base only contains some flags that are used by the derived class.
Definition Point.h:60