This reference page is linked to from the following overview topics: List of Python FBX classes.
KFbxBoundary describes a trimming boundary for a trimmed NURBS object.
Note:Outer boundaries run counter-clockwise in UV space and inner boundaries run clockwise. An outer boundary represents the outer edges of the trimmed surface whereas the inner boundaries define "holes" in the surface.
Definition at line 56 of file kfbxtrimnurbssurface.h.
#include <kfbxtrimnurbssurface.h>
Public Member Functions |
|
void | AddCurve (KFbxNurbsCurve *pCurve) |
Adds an edge to this boundary. |
|
int | GetCurveCount () const |
Returns the number of edges within this
boundary. |
|
KFbxNurbsCurve * | GetCurve (int pIndex) |
Returns the edge at the specified index.
|
|
KFbxNurbsCurve const * | GetCurve (int pIndex) const |
Returns the edge at the specified index.
|
|
virtual EAttributeType | GetAttributeType () const |
Returns the type of node attribute. |
|
bool | IsPointInControlHull (const KFbxVector4 &pPoint) |
Detects if the point is in the boundary's
control hull. |
|
KFbxVector4 | ComputePointInBoundary () |
Computes the origin point in the boundary.
|
|
virtual KFbxObject & | Copy (const KFbxObject &pObject) |
Copy an object content into this object.
|
|
void | ClearCurves () |
void | CopyCurves (KFbxBoundary const &pOther) |
bool | IsValid (bool mustClosed=true) |
bool | IsCounterClockwise () |
Public Attributes |
|
KFbxTypedProperty< fbxBool1 > | OuterFlag |
This property handles outer flag. |
|
Static Public Attributes |
|
static const char * | sOuterFlag |
Properties. |
|
Protected Member Functions |
|
KFbxBoundary (KFbxSdkManager &pManager, char const *pName) | |
virtual void | Construct (const KFbxBoundary *pFrom) |
void | Reset () |
bool | LineSegmentIntersect (const KFbxVector4 &pStart1, const KFbxVector4 &pEnd1, const KFbxVector4 &pStart2, const KFbxVector4 &pEnd2) const |
KFbxBoundary | ( | KFbxSdkManager & | pManager, |
char const * | pName | ||
) | [protected] |
void AddCurve | ( | KFbxNurbsCurve * | pCurve | ) |
Adds an edge to this boundary.
pCurve | The curve to be appended to the end of this boundary |
int GetCurveCount | ( | ) | const |
Returns the number of edges within this boundary.
KFbxNurbsCurve* GetCurve | ( | int | pIndex | ) |
Returns the edge at the specified index.
pIndex | The specified index, no bound checking is done. |
KFbxNurbsCurve const* GetCurve | ( | int | pIndex | ) | const |
Returns the edge at the specified index.
pIndex | The specified index, no bound checking is done. |
virtual EAttributeType GetAttributeType | ( | ) | const [virtual] |
bool IsPointInControlHull | ( | const KFbxVector4 & | pPoint | ) |
Detects if the point is in the boundary's control hull.
pPoint | The point to be detected. |
True
if the point is in the boundary's control
hull, returns false
if it is not in the control
hull.KFbxVector4 ComputePointInBoundary | ( | ) |
virtual KFbxObject& Copy | ( | const KFbxObject & | pObject | ) | [virtual] |
Copy an object content into this object.
pObject | The source object to copy data from. |
Reimplemented from KFbxGeometry.
virtual void Construct | ( | const KFbxBoundary * | pFrom | ) | [protected, virtual] |
void Reset | ( | ) | [protected] |
bool LineSegmentIntersect | ( | const KFbxVector4 & | pStart1, |
const KFbxVector4 & | pEnd1, | ||
const KFbxVector4 & | pStart2, | ||
const KFbxVector4 & | pEnd2 | ||
) | const [protected] |
void ClearCurves | ( | ) |
void CopyCurves | ( | KFbxBoundary const & | pOther | ) |
bool IsValid | ( | bool | mustClosed = true |
) |
bool IsCounterClockwise | ( | ) |
const char* sOuterFlag
[static] |
This property handles outer flag.
Default value is false.
Definition at line 69 of file kfbxtrimnurbssurface.h.