|
Cubit Python API 16.16
|
Defines a curve object that mostly parallels Cubit's RefEdge class. More...
#include <CubitInterfaceEx.hpp>
Public Member Functions |
|
| Curve () | |
| Curve (const Curve &other) | |
| Curve (CubitEntity *entity_ptr) | |
| ~Curve () | |
| std::array< double, 3 > | closest_point (std::array< double, 3 > point) |
| Get the curvature of the Curve at a particular point. |
|
| std::array< double, 3 > | closest_point_trimmed (std::array< double, 3 > point) |
| Get the curvature of the Curve at a particular point. |
|
| std::array< double, 4 > | color () |
| Get the color of the Curve. |
|
| std::array< double, 3 > | curvature (std::array< double, 3 > point) |
| Get the curvature of the Curve at a particular point. |
|
| std::array< double, 3 > | curve_center () |
| Get the center point of the Curve. |
|
| double | end_param () |
| Get the highest value of the Curve in uv space. |
|
| double | fraction_from_arc_length (Vertex root_vertex, double length) |
| Get the fraction along the Curve a specified arc length is away from a given Vertex. |
|
| bool | is_periodic () |
| Get whether the Curve is periodic or not. |
|
| double | length () |
| Get the length of the Curve. |
|
| double | length_from_u (double parameter1, double parameter2) |
| Get the length between two specified parameters on a Curve. |
|
| std::array< double, 3 > | point_from_arc_length (double root_param, double arc_length) |
| Get the position on a Curve that is a specified arc length away from the specified root parameter. |
|
| std::array< double, 3 > | position_from_fraction (double fraction_along_curve) |
| Get the position of the point a specified fraction along the Curve. |
|
| std::array< double, 3 > | position_from_u (double u_value) |
| Get the position of a particular u value for the Curve. |
|
| void | set_color (std::array< double, 4 > value) |
| Set the color of the Curve. |
|
| double | start_param () |
| Get the lowest value of the Curve in uv space. |
|
| std::array< double, 3 > | tangent (std::array< double, 3 > point) |
| Get the tangent to the Curve at a particular point. |
|
| double | u_from_arc_length (double root_param, double arc_length) |
| Get the u value for a point a specified arc length away from a specified root parameter on the Curve. |
|
| double | u_from_position (std::array< double, 3 > position) |
| Get the u value of a particular position on the Curve. |
|
Public Member Functions inherited from GeomEntity |
|
| std::vector< Body > | bodies () |
| Get the bodies in the GeomEntity. |
|
| std::vector< Curve > | curves () |
| Get the curves in the GeomEntity. |
|
| int | dimension () |
| Get the dimensions of the GeomEntity. |
|
| std::string | entity_name () |
| Return the first name of the GeomEntity. |
|
| void | entity_name (std::string name) |
| Assign a name to the GeomEntity. |
|
| std::vector< std::string > | entity_names () |
| Return the all the names of the GeomEntity. |
|
| bool | is_meshed () |
| Return the current mesh state of the GeomEntity. |
|
| int | is_transparent () |
| Get the tranparency state of the Entity. |
|
| void | is_transparent (int transparency_flag) |
| Set the tranparency state of the Entity. |
|
| int | is_visible () |
| Get the visibility state of the Entity. |
|
| void | is_visible (bool visibility_flag) |
| Set the visibility state of the Entity. |
|
| void | mesh () |
| Mesh the GeomEntity. |
|
| int | num_names () |
| Return the number of names for the GeomEntity. |
|
| void | remove_entity_name (std::string name) |
| Remove a specific name from the list of names assigned to the GeomEntity. |
|
| void | remove_entity_names () |
| Remove all the names assigned to the GeomEntity. |
|
| void | remove_mesh () |
| Removes the mesh on the GeomEntity. |
|
| void | set_entity_name (std::string name) |
| Assign a name to the GeomEntity. |
|
| void | set_transparent (int transparency_flag) |
| Set the tranparency state of the Entity. |
|
| void | set_visible (bool visibility_flag) |
| Set the visibility state of the Entity. |
|
| void | smooth () |
| Smooths the mesh on the GeomEntity. |
|
| std::vector< Surface > | surfaces () |
| Get the surfaces in the GeomEntity. |
|
| std::vector< Vertex > | vertices () |
| Get the vertices in the GeomEntity. |
|
| std::vector< Volume > | volumes () |
| Get the volumes in the GeomEntity. |
|
Public Member Functions inherited from Entity |
|
| Entity () | |
| Entity (CubitEntity *entity_ptr) | |
| Entity (Entity const ©_from) | |
| ~Entity () | |
| std::array< double, 6 > | bounding_box () |
| Get the bounding box of the Entity. |
|
| std::array< double, 3 > | center_point () |
| Get the center point of the Entity. |
|
| void | destroy_cubit_entity () |
| CubitEntity * | entity_ptr () |
| int | id () |
| Get the id of the Entity. |
|
| Entity & | operator= (const Entity &rhs) |
Additional Inherited Members |
|
Protected Member Functions inherited from GeomEntity |
|
| GeomEntity (const GeomEntity &other) | |
| GeomEntity (CubitEntity *entity_ptr) | |
Protected Attributes inherited from Entity |
|
| CubObserver * | cubitWatcher |
| CubitEntity * | mEntityPtr |
Defines a curve object that mostly parallels Cubit's RefEdge class.
|
inline |
|
inline |
|
inline |
| std::array< double, 3 > closest_point | ( | std::array< double, 3 > | point | ) |
Get the curvature of the Curve at a particular point.
| [in] | point | A vector containing 3 doubles representing coordinates of a location on the Curve |
| std::array< double, 3 > closest_point_trimmed | ( | std::array< double, 3 > | point | ) |
Get the curvature of the Curve at a particular point.
| [in] | point | A vector containing 3 doubles representing coordinates of a location on the Curve |
| std::array< double, 4 > color | ( | ) |
| std::array< double, 3 > curvature | ( | std::array< double, 3 > | point | ) |
Get the curvature of the Curve at a particular point.
| [in] | point | A vector containing 3 doubles representing coordinates of a location on the Curve |
| std::array< double, 3 > curve_center | ( | ) |
Get the center point of the Curve .
| double end_param | ( | ) |
| double fraction_from_arc_length | ( | Vertex | root_vertex, |
| double | length | ||
| ) |
Get the fraction along the Curve a specified arc length is away from a given Vertex .
| bool is_periodic | ( | ) |
Get whether the Curve is periodic or not.
| double length | ( | ) |
| double length_from_u | ( | double | parameter1, |
| double | parameter2 | ||
| ) |
Get the length between two specified parameters on a Curve .
| [in] | parameter1 | The beginning parameter |
| [in] | parameter2 | The ending parameter |
| std::array< double, 3 > point_from_arc_length | ( | double | root_param, |
| double | arc_length | ||
| ) |
Get the position on a Curve that is a specified arc length away from the specified root parameter.
| [in] | root_param | The root parameter from which the arc length is added to |
| [in] | arc_length | The arc length along the Curve away from the root parameter |
| std::array< double, 3 > position_from_fraction | ( | double | fraction_along_curve | ) |
Get the position of the point a specified fraction along the Curve .
| [in] | fraction_along_curve | A decimal value between 0 and 1 to determine a particular position along the Curve |
| std::array< double, 3 > position_from_u | ( | double | u_value | ) |
Get the position of a particular u value for the Curve .
| [in] | u_value | The u value of the position along the Curve |
| void set_color | ( | std::array< double, 4 > | value | ) |
| double start_param | ( | ) |
Get the lowest value of the Curve in uv space.
| std::array< double, 3 > tangent | ( | std::array< double, 3 > | point | ) |
Get the tangent to the Curve at a particular point.
| [in] | point | A vector containing 3 doubles representing coordinates of a location on the Curve |
| double u_from_arc_length | ( | double | root_param, |
| double | arc_length | ||
| ) |
Get the u value for a point a specified arc length away from a specified root parameter on the Curve .
| [in] | root_param | The beginning parameter from which the arc length is added to |
| [in] | arc_length | The length away from the root parameter of the output parameter |
| double u_from_position | ( | std::array< double, 3 > | position | ) |
Get the u value of a particular position on the Curve .
| [in] | position | A vector containing the coordinates of the input position |