Cubit Python API 16.02
|
Defines a surface object that mostly parallels Cubit's RefFace class. More...
Public Member Functions |
|
Surface () | |
Surface (const Surface &other) | |
Surface (CubitEntity *entity_ptr) | |
~Surface () | |
double | area () |
Get area of the Surface.
More... |
|
std::array< double, 3 > | closest_point_along_vector (std::array< double, 3 > location, std::array< double, 3 > along_vector) |
Get the nearest point on the Surface
to point specified along the specified vector. More... |
|
std::array< double, 3 > | closest_point_trimmed (CubitInterface::Loc location) |
Get the nearest point on the Surface
to point specified. More... |
|
std::array< double, 3 > | closest_point_trimmed (std::array< double, 3 > location) |
Get the nearest point on the Surface
to point specified. More... |
|
int | color () |
Get the color of the surface. More... |
|
void | color (int value) |
Set the color of the surface. More... |
|
std::array< double, 2 > | get_param_range_U () |
Get range of u for the Surface.
More... |
|
std::array< double, 2 > | get_param_range_V () |
Get range of v for the Surface.
More... |
|
bool | is_cylindrical () |
Get whether the Surface
is cylindrical or not. More... |
|
bool | is_planar () |
Get whether the Surface
is planar or not. More... |
|
std::array< double, 3 > | normal_at (std::array< double, 3 > location) |
Get the normal at a particular point
on the Surface.
More... |
|
std::vector< std::vector< Curve > > | ordered_loops () |
Get the ordered loops of the Surface.
More... |
|
int | point_containment (std::array< double, 3 > point_in) |
Get whether a point is on or off of
the Surface.
More... |
|
std::array< double, 3 > | position_from_u_v (double u, double v) |
Get the Cartesian coordinates from the
uv coordinates on the Surface.
More... |
|
std::array< double, 2 > | principal_curvatures (std::array< double, 3 > point) |
Get the principal curvatures of the
Surface.
More... |
|
void | set_color (int value) |
Set the color of the surface. More... |
|
std::array< double, 2 > | u_v_from_position (std::array< double, 3 > location) |
Get the uv coordinates from the supplied
Cartesian coordinates on the Surface.
More... |
|
Defines a surface object that mostly parallels Cubit's RefFace class.
|
inline |
|
inline |
|
inline |
double area | ( | ) |
std::array<double,3> closest_point_along_vector | ( | std::array< double, 3 > | location, |
std::array< double, 3 > | along_vector | ||
) |
Get the nearest point on the Surface to point specified along the specified vector.
[in] | location | A vector containing three values that are the coordinates of a point |
std::array<double,3> closest_point_trimmed | ( | CubitInterface::Loc | location | ) |
Get the nearest point on the Surface to point specified.
[in] | location | A vector containing three values that are the coordinates of a point |
std::array<double,3> closest_point_trimmed | ( | std::array< double, 3 > | location | ) |
Get the nearest point on the Surface to point specified.
[in] | location | A vector containing three values that are the coordinates of a point |
int color | ( | ) |
void color | ( | int | value | ) |
std::array<double,2> get_param_range_U | ( | ) |
Get range of u for the Surface.
std::array<double,2> get_param_range_V | ( | ) |
Get range of v for the Surface.
bool is_cylindrical | ( | ) |
Get whether the Surface is cylindrical or not.
bool is_planar | ( | ) |
std::array<double,3> normal_at | ( | std::array< double, 3 > | location | ) |
Get the normal at a particular point on the Surface.
[in] | location | A vector containing three values that are the coordinates of a point |
std::vector<std::vector<Curve> > ordered_loops | ( | ) |
Get the ordered loops of the Surface.
int point_containment | ( | std::array< double, 3 > | point_in | ) |
Get whether a point is on or off of the Surface.
[in] | point_in | A vector containing three values that are the coordinates of a point |
std::array<double,3> position_from_u_v | ( | double | u, |
double | v | ||
) |
Get the Cartesian coordinates from the uv coordinates on the Surface.
[in] | u | The u parameter |
[in] | v | The v parameter |
std::array<double,2> principal_curvatures | ( | std::array< double, 3 > | point | ) |
Get the principal curvatures of the Surface.
[in] | point | A vector containing three values that are the coordinates of a point |
void set_color | ( | int | value | ) |
std::array<double,2> u_v_from_position | ( | std::array< double, 3 > | location | ) |
Get the uv coordinates from the supplied Cartesian coordinates on the Surface.
[in] | location | A vector containing the Cartesian coordinates |