Public Member Functions | Public Attributes | Static Public Attributes | Protected Member Functions

FbxBoundary Class Reference

This reference page is linked to from the following overview topics: List of Python Fbx classes.


Search for all occurrences

Detailed Description

FbxBoundary 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 30 of file fbxtrimnurbssurface.h.

#include <fbxtrimnurbssurface.h>

Inheritance diagram for FbxBoundary:
Inheritance graph
[legend]

List of all members.

Public Member Functions

void AddCurve (FbxNurbsCurve *pCurve)
 Adds an edge to this boundary.
int GetCurveCount () const
 Returns the number of edges within this boundary.
FbxNurbsCurveGetCurve (int pIndex)
 Returns the edge at the specified index.
FbxNurbsCurve const * GetCurve (int pIndex) const
 Returns the edge at the specified index.
virtual FbxNodeAttribute::EType GetAttributeType () const
 Returns the type of node attribute.
bool IsPointInControlHull (const FbxVector4 &pPoint)
 Detects if the point is in the boundary's control hull.
FbxVector4 ComputePointInBoundary ()
 Computes the origin point in the boundary.
virtual FbxObjectCopy (const FbxObject &pObject)
 Copy an object content into this object.
void ClearCurves ()
void CopyCurves (FbxBoundary const &pOther)
bool IsValid (bool mustClosed=true)
bool IsCounterClockwise ()

Public Attributes

FbxPropertyT< FbxBoolOuterFlag
 This property handles outer flag.

Static Public Attributes

static const char * sOuterFlag
 Properties.

Protected Member Functions

virtual void ConstructProperties (bool pForceSet)
 Optional property constructor override, automatically called by default constructor.
void Reset ()
bool LineSegmentIntersect (const FbxVector4 &pStart1, const FbxVector4 &pEnd1, const FbxVector4 &pStart2, const FbxVector4 &pEnd2) const

Member Function Documentation

void AddCurve ( FbxNurbsCurve pCurve)

Adds an edge to this boundary.

Parameters:
pCurveThe curve to be appended to the end of this boundary
int GetCurveCount ( ) const

Returns the number of edges within this boundary.

Returns:
The number of edges within this boundary
FbxNurbsCurve* GetCurve ( int  pIndex)

Returns the edge at the specified index.

Parameters:
pIndexThe specified index, no bound checking is done.
Returns:
The edge at the specified index if pIndex is in the range [0, GetEdgeCount() ), otherwise the return value is undefined.
FbxNurbsCurve const* GetCurve ( int  pIndex) const

Returns the edge at the specified index.

Parameters:
pIndexThe specified index, no bound checking is done.
Returns:
The edge at the specified index if pIndex is in the range [0, GetEdgeCount() ), otherwise, the return value is undefined.
virtual FbxNodeAttribute::EType GetAttributeType ( ) const [virtual]

Returns the type of node attribute.

Reimplemented from FbxGeometry.

bool IsPointInControlHull ( const FbxVector4 pPoint)

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

Parameters:
pPointThe point to be detected.
Returns:
True if the point is in the boundary's control hull, returns false if it is not in the control hull.
FbxVector4 ComputePointInBoundary ( )

Computes the origin point in the boundary.

Returns:
The origin point.
virtual FbxObject& Copy ( const FbxObject pObject) [virtual]

Copy an object content into this object.

Parameters:
pObjectThe source object to copy data from.
Returns:
Returns the destination object being modified by the source.
Remarks:
This function replace the assignment operator (operator=). It will copy all property values and the name. Connections are NOT copied.

Reimplemented from FbxGeometry.

void ClearCurves ( )
void CopyCurves ( FbxBoundary const &  pOther)
bool IsValid ( bool  mustClosed = true)
bool IsCounterClockwise ( )
virtual void ConstructProperties ( bool  pForceSet) [protected, virtual]

Optional property constructor override, automatically called by default constructor.

Parameters:
pForceSetIf the property value must be set regardless of default value.
Remarks:
If your object have properties, they must be initialized in this function.

Reimplemented from FbxGeometryBase.

void Reset ( ) [protected]
bool LineSegmentIntersect ( const FbxVector4 pStart1,
const FbxVector4 pEnd1,
const FbxVector4 pStart2,
const FbxVector4 pEnd2 
) const [protected]

Member Data Documentation

const char* sOuterFlag [static]

Properties.

Definition at line 37 of file fbxtrimnurbssurface.h.

This property handles outer flag.

Default value is false.

Definition at line 43 of file fbxtrimnurbssurface.h.


The documentation for this class was generated from the following file:

FbxBoundary FbxBoundary FbxBoundary FbxBoundary FbxBoundary FbxBoundary FbxBoundary FbxBoundary FbxBoundary FbxBoundary
FbxBoundary FbxBoundary FbxBoundary FbxBoundary FbxBoundary FbxBoundary FbxBoundary FbxBoundary FbxBoundary FbxBoundary