KFbxBoundary Class Reference

#include <kfbxtrimnurbssurface.h>
Inheritance diagram for KFbxBoundary:
Inheritance graph
[legend]

List of all members.


Detailed Description

KFbxBoundary Describes a trimming boundary for a trimmed nurbs object.

Note that 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 59 of file kfbxtrimnurbssurface.h.


Public Member Functions

void  AddCurve (KFbxNurbsCurve *pCurve)
  Add an edge to this boundary.
int  GetCurveCount () const
KFbxNurbsCurve GetCurve (int pIndex)
  Access the edge at index pIndex.
KFbxNurbsCurve const *  GetCurve (int pIndex) const
  Access the edge at index pIndex.
virtual EAttributeType  GetAttributeType () const
  Return the type of node attribute.
bool  IsPointInControlHull (KFbxVector4 &pPoint)
  Detect if the point is in the boundary's control hull.
KFbxVector4  ComputePointInBoundary ()
  Compute point in boundary.

Member Function Documentation

void AddCurve ( KFbxNurbsCurve pCurve  ) 

Add an edge to this boundary.

Parameters:
pCurve  The curve to append to the end of this boundary

int GetCurveCount (  )  const
Returns:
The number of edges in this boundary

KFbxNurbsCurve* GetCurve ( int  pIndex  ) 

Access the edge at index pIndex.

Parameters:
pIndex  The index of the edge to return. No bounds checking is done
Returns:
The edge at index pIndex if pIndex is in the range [0, GetEdgeCount() ), otherwise the return value is undefined

KFbxNurbsCurve const* GetCurve ( int  pIndex  )  const

Access the edge at index pIndex.

Parameters:
pIndex  The index of the edge to return. No bounds checking is done
Returns:
The edge at index pIndex if pIndex is in the range [0, GetEdgeCount() ), otherwise the return value is undefined

virtual EAttributeType GetAttributeType (  )  const [inline, virtual]

Return the type of node attribute.

Reimplemented from KFbxGeometry.

Definition at line 95 of file kfbxtrimnurbssurface.h.

bool IsPointInControlHull ( KFbxVector4 pPoint  ) 

Detect if the point is in the boundary's control hull.

Parameters:
pPoint  The point to detect.
Returns:
The state if the point is in the boundary' control hull.

KFbxVector4 ComputePointInBoundary (  ) 

Compute point in boundary.

Returns:
The point.
KFbxBoundary KFbxBoundary KFbxBoundary KFbxBoundary KFbxBoundary KFbxBoundary KFbxBoundary KFbxBoundary KFbxBoundary KFbxBoundary
KFbxBoundary KFbxBoundary KFbxBoundary KFbxBoundary KFbxBoundary KFbxBoundary KFbxBoundary KFbxBoundary KFbxBoundary KFbxBoundary