5#if !defined(AFX_POINT_H__E9597161_87C0_11D3_A029_C00DB92E437A__INCLUDED_)
6#define AFX_POINT_H__E9597161_87C0_11D3_A029_C00DB92E437A__INCLUDED_
14BEGIN_MOOTOOLS_NAMESPACE
21 POINT_IS_SELECTED = 0x01,
41 POINT_UV_CORNER = 0x10000,
48 POINT_USER_PROPERTIES1 = 0x01000000,
49 POINT_USER_PROPERTIES2 = 0x02000000,
50 POINT_USER_PROPERTIES3 = 0x04000000,
51 POINT_USER_PROPERTIES4 = 0x08000000,
59class DLL_3DFUNCTION
CPt
70 unsigned int GetFlags()
const;
71 void SetFlags(
unsigned int flags);
73 void SetFlags(
unsigned int flags,
bool set);
75 bool IsOneFlagSet(
int flag)
const;
77 virtual void To4DPoint(
C4DPoint&
pt)
const = 0;
85 virtual void Dump()
const;
86 virtual bool IsKindOf(
unsigned int classid)
const;
87 virtual unsigned int ClassID()
const;
91#if !defined(__WINDOWS__) || (_MSC_VER > 1600)
116inline void CPt::SetFlags(
unsigned int newflags,
bool set)
129inline bool CPt::IsOneFlagSet(
int flag)
const
131 return (flags &
flag) ?
true :
false;
134inline unsigned int CPt::GetFlags()
const
139inline void CPt::SetFlags(
unsigned int refflags)
144END_MOOTOOLS_NAMESPACE
POINT_PROPERTIES
Point flags used by any classes that inherit from CPt (C3DPoint, C3DVector...)
Definition Point.h:19
@ POINT_POINTNORMAL_BREAK
Two or more faces make a normal angle above the smoothing threshold (this flag refer to CPointNormalC...
Definition Point.h:40
@ POINT_IS_CONFUSED
The point is confused with one or several other points.
Definition Point.h:29
@ POINT_UV_SYMMETRY
Used by uvwpoints and potentially by points (cf InitUVSymmetryFlag)
Definition Point.h:44
@ POINT_IS_SPECIFIED_NORMAL
Only for normals in SpecNormalChannel. This is a normal which value is computed using the face's norm...
Definition Point.h:24
@ POINT_IS_INVALID
Make the point being deleted during clean operation.
Definition Point.h:22
@ POINT_IS_2D_CORNER
The point is set on a 2D corner.
Definition Point.h:31
@ POINT_IS_3D_CORNER
The point is set on a 3D corner.
Definition Point.h:30
@ POINT_SHARE_SEVERAL_MATERIALS
Set if a point share several materials (set through InitShareSeveralMaterialsFlag)
Definition Point.h:43
@ POINT_USER_SELECTED
Flag used for interacting with point list. This is a helper to keep POINT_IS_SELECTED flags is intera...
Definition Point.h:46
@ POINT_CONNECTED_TO_POINT_AT_BORDER
The point is connected to a point which is at the border (but the point itself is not at the border)
Definition Point.h:28
@ POINT_CONNECTED_TO_EDGE_NOT_AT_BORDER
The point belongs to an edge which belongs to several faces.
Definition Point.h:27
@ POINT_VC_BREAK
Used by points and vcpoints.
Definition Point.h:38
@ POINT_IS_UNUSED
Make the point being ignored (invalid value)
Definition Point.h:23
@ POINT_UV_BREAK
Used by points and uvwpoints.
Definition Point.h:37
@ POINT_BELONG_TO_BORDER
The point belongs to an edge which a border edge (belonging to a single face)
Definition Point.h:26
@ POINT_SHARE_COPLANAR_FACES
Set if all faces connected to a point are coplanars (set through InitShareCoplanarFacesFlag).
Definition Point.h:42
@ POINT_SPECNORMAL_BREAK
A normal break exists belong an edge or belongs a point (when several normals belongs to a point) (th...
Definition Point.h:39
The class defines an x, y, z 3D point which can use int, float or double.
Definition 3DPoint.h:27
CPt base only contains some flags that are used by the derived class.
Definition Point.h:60