Detailed Description
An array of
NurbsSample objects representing the sample points on a
NurbsSurface.
- Warning:
- This specialized array is returned by NurbsSurface::GetSamples,
it is not meant to be created and modified in user-defined
functions. If you want to add and remove arbitrary items to a
collection, you must use a
CRefArray instead.
- See also:
- NurbsSurface::GetSamples
- Example:
#include <xsi_nurbssample.h>
List of
all members.
Constructor & Destructor Documentation
Copy constructor.
- Parameters:
-
Member Function Documentation
CRef GetItem |
( |
LONG |
in_index |
) |
const [virtual] |
CRef GetItem |
( |
const CString & |
in_name |
) |
const [virtual] |
LONG GetCount |
( |
|
) |
const [virtual] |
bool IsValid |
( |
|
) |
const [virtual] |
Returns true if this array is a valid object or false
otherwise.
- Returns:
- true if valid, false otherwise.
Reimplemented from
CSampleRefArray.
CStatus GetUSamplingCount |
( |
LONG & |
out_lUSamplingCount |
) |
const |
Returns the number of USampling coordinate valid indices.
- Return values:
-
out_lUSamplingCount |
number of USampling coordinate valid indices. |
- Returns:
-
CStatus::OK success
-
CStatus::Fail other failure
CStatus GetVSamplingCount |
( |
LONG & |
out_lVSamplingCount |
) |
const |
Returns the number of VSampling coordinate valid indices.
- Return values:
-
out_lVSamplingCount |
number of VSampling coordinate valid indices. |
- Returns:
-
CStatus::OK success
-
CStatus::Fail other failure
CStatus
GetIndexFromUVSamplingCoordinate |
( |
LONG |
in_lUSamplingCoordinate, |
|
|
LONG |
in_lVSamplingCoordinate, |
|
|
LONG & |
out_lIndex |
|
) |
|
const |
Returns the index of the sample point at given a UV sampling
coordinate value.
- Parameters:
-
in_lUSamplingCoordinate |
USamplingCoordinate. |
in_lVSamplingCoordinate |
VSamplingCoordinate. |
- Return values:
-
out_lIndex |
Returned index |
out_lIndex |
NurbsSample global index. |
- Returns:
-
CStatus::OK success
-
CStatus::Fail other failure
Returns an array of
Sample indices corresponding to UV sampling coordinate
values.
- Parameters:
-
in_aUVSamplingCoordinate |
Array of UV sampling coordinates. |
- Return values:
-
out_aIndices |
Array of indices. |
- Returns:
-
CStatus::OK success
-
CStatus::Fail other failure
Returns an array of UVSamplingCoordinate values for all
Sample index.
- Parameters:
-
in_aIndices |
Array of sample indices. |
- Return values:
-
out_aUVSamplingCoordinate |
Array of UV sampling coordinates. |
- Returns:
-
CStatus::OK success
-
CStatus::Fail other failure
The documentation for this class was generated from the following
file: