Public Member Functions | |
| auto | assign_from_another (_other:&meshlib::TriTriDistanceResult_double) -> &mut meshlib::TriTriDistanceResult_double |
| auto | a_bary (ta:&meshlib::std_array_MR_Vector3d_3) const -> meshlib::Owned< meshlib::TriPointd > |
| auto | b_bary (tb:&meshlib::std_array_MR_Vector3d_3) const -> meshlib::Owned< meshlib::TriPointd > |
| auto | a () const -> &meshlib::Vector3d |
| auto | a_mut () -> &mut meshlib::Vector3d |
| void | set_a (value:meshlib::Vector3d) |
| auto | b () const -> &meshlib::Vector3d |
| auto | b_mut () -> &mut meshlib::Vector3d |
| void | set_b (value:meshlib::Vector3d) |
| auto | dist_sq () const -> &f64 |
| auto | dist_sq_mut () -> &mut f64 |
| void | set_dist_sq (value:f64) |
| auto | overlap () const -> &bool |
| auto | overlap_mut () -> &mut bool |
| void | set_overlap (value:bool) |
| auto | a_edge () const -> &core::ffi::c_schar |
| auto | a_edge_mut () -> &mut core::ffi::c_schar |
| void | set_a_edge (value:core::ffi::c_schar) |
| auto | b_edge () const -> &core::ffi::c_schar |
| auto | b_edge_mut () -> &mut core::ffi::c_schar |
| void | set_b_edge (value:core::ffi::c_schar) |
Static Public Member Functions | |
| static auto | new () -> meshlib::Owned< meshlib::TriTriDistanceResult_double > |
| static auto | construct_from (a:meshlib::Vector3d, b:meshlib::Vector3d, distSq:f64, overlap:bool, aEdge:core::ffi::c_schar, bEdge:core::ffi::c_schar) -> meshlib::Owned< meshlib::TriTriDistanceResult_double > |
| static auto | construct_from_another (_other:&meshlib::TriTriDistanceResult_double) -> meshlib::Owned< meshlib::TriTriDistanceResult_double > |
| Static Public Member Functions inherited from meshlib::CppClass | |
| static void | destroy (ptr:*mut Self) |
| Static Public Member Functions inherited from meshlib::CppCopy | |
| static auto | copy (ptr:*const Self) -> *mut Self |
Generated from class MR::TriTriDistanceResult<double>.
Generated from class MR::TriTriDistanceResult<double>. Heap-allocated instances are held in Owned<TriTriDistanceResult_double>.
| auto meshlib::TriTriDistanceResult_double::a | ( | ) | const -> &meshlib::Vector3d |
If the triangles are disjoint, these points are the closest points of the corresponding triangles. However, if the triangles overlap, these are basically a random pair of points from the triangles, not coincident points on the intersection of the triangles, as might be expected. Returns a pointer to a member variable of class MR::TriTriDistanceResult<double> named a.
Calls MR_TriTriDistanceResult_double_Get_a(). The reference to this object might be preserved as the return value.
| auto meshlib::TriTriDistanceResult_double::a_bary | ( | ta:&meshlib::std_array_MR_Vector3d_3 | ) | const -> meshlib::Owned< meshlib::TriPointd > |
barycentric coordinates of point a in triangle ta, given to findTriTriDistance as the first one; unlike the ones computed from the position of the point, they place a point found on an edge or in a vertex there Generated from method MR::TriTriDistanceResult<double>::aBary.
Calls MR_TriTriDistanceResult_double_aBary().
| auto meshlib::TriTriDistanceResult_double::a_edge | ( | ) | const -> &core::ffi::c_schar |
the edges of the triangles with points a and b, numbered as in TriPoint::onEdge() (which also contain a point found in a vertex), or -1 if the point is inside its triangle Returns a pointer to a member variable of class MR::TriTriDistanceResult<double> named aEdge.
Calls MR_TriTriDistanceResult_double_Get_aEdge(). The reference to this object might be preserved as the return value.
| auto meshlib::TriTriDistanceResult_double::a_edge_mut | ( | ) | -> &mut core::ffi::c_schar |
the edges of the triangles with points a and b, numbered as in TriPoint::onEdge() (which also contain a point found in a vertex), or -1 if the point is inside its triangle Returns a mutable pointer to a member variable of class MR::TriTriDistanceResult<double> named aEdge.
Calls MR_TriTriDistanceResult_double_GetMutable_aEdge(). The reference to this object might be preserved as the return value.
| auto meshlib::TriTriDistanceResult_double::a_mut | ( | ) | -> &mut meshlib::Vector3d |
If the triangles are disjoint, these points are the closest points of the corresponding triangles. However, if the triangles overlap, these are basically a random pair of points from the triangles, not coincident points on the intersection of the triangles, as might be expected. Returns a mutable pointer to a member variable of class MR::TriTriDistanceResult<double> named a.
Calls MR_TriTriDistanceResult_double_GetMutable_a(). The reference to this object might be preserved as the return value.
| auto meshlib::TriTriDistanceResult_double::assign_from_another | ( | _other:&meshlib::TriTriDistanceResult_double | ) | -> &mut meshlib::TriTriDistanceResult_double |
Generated from method MR::TriTriDistanceResult<double>::operator=.
Calls MR_TriTriDistanceResult_double_AssignFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in this object.
| auto meshlib::TriTriDistanceResult_double::b | ( | ) | const -> &meshlib::Vector3d |
If the triangles are disjoint, these points are the closest points of the corresponding triangles. However, if the triangles overlap, these are basically a random pair of points from the triangles, not coincident points on the intersection of the triangles, as might be expected. Returns a pointer to a member variable of class MR::TriTriDistanceResult<double> named b.
Calls MR_TriTriDistanceResult_double_Get_b(). The reference to this object might be preserved as the return value.
| auto meshlib::TriTriDistanceResult_double::b_bary | ( | tb:&meshlib::std_array_MR_Vector3d_3 | ) | const -> meshlib::Owned< meshlib::TriPointd > |
barycentric coordinates of point b in triangle tb, given to findTriTriDistance as the second one Generated from method MR::TriTriDistanceResult<double>::bBary.
Calls MR_TriTriDistanceResult_double_bBary().
| auto meshlib::TriTriDistanceResult_double::b_edge | ( | ) | const -> &core::ffi::c_schar |
the edges of the triangles with points a and b, numbered as in TriPoint::onEdge() (which also contain a point found in a vertex), or -1 if the point is inside its triangle Returns a pointer to a member variable of class MR::TriTriDistanceResult<double> named bEdge.
Calls MR_TriTriDistanceResult_double_Get_bEdge(). The reference to this object might be preserved as the return value.
| auto meshlib::TriTriDistanceResult_double::b_edge_mut | ( | ) | -> &mut core::ffi::c_schar |
the edges of the triangles with points a and b, numbered as in TriPoint::onEdge() (which also contain a point found in a vertex), or -1 if the point is inside its triangle Returns a mutable pointer to a member variable of class MR::TriTriDistanceResult<double> named bEdge.
Calls MR_TriTriDistanceResult_double_GetMutable_bEdge(). The reference to this object might be preserved as the return value.
| auto meshlib::TriTriDistanceResult_double::b_mut | ( | ) | -> &mut meshlib::Vector3d |
If the triangles are disjoint, these points are the closest points of the corresponding triangles. However, if the triangles overlap, these are basically a random pair of points from the triangles, not coincident points on the intersection of the triangles, as might be expected. Returns a mutable pointer to a member variable of class MR::TriTriDistanceResult<double> named b.
Calls MR_TriTriDistanceResult_double_GetMutable_b(). The reference to this object might be preserved as the return value.
|
static |
Constructs MR::TriTriDistanceResult<double> elementwise.
Calls MR_TriTriDistanceResult_double_ConstructFrom(). The reference to the parameter a might be preserved in the constructed object. The reference to the parameter b might be preserved in the constructed object. The reference to the parameter aEdge might be preserved in the constructed object. The reference to the parameter bEdge might be preserved in the constructed object.
|
static |
Generated from constructor MR::TriTriDistanceResult<double>::TriTriDistanceResult.
Calls MR_TriTriDistanceResult_double_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
| auto meshlib::TriTriDistanceResult_double::dist_sq | ( | ) | const -> &f64 |
If the triangles are disjoint, it is the squared distance them (equal to the squared distance between a and b points). If the triangles overlap, it is zero. Returns a pointer to a member variable of class MR::TriTriDistanceResult<double> named distSq.
Calls MR_TriTriDistanceResult_double_Get_distSq(). The reference to this object might be preserved as the return value.
| auto meshlib::TriTriDistanceResult_double::dist_sq_mut | ( | ) | -> &mut f64 |
If the triangles are disjoint, it is the squared distance them (equal to the squared distance between a and b points). If the triangles overlap, it is zero. Returns a mutable pointer to a member variable of class MR::TriTriDistanceResult<double> named distSq.
Calls MR_TriTriDistanceResult_double_GetMutable_distSq(). The reference to this object might be preserved as the return value.
|
static |
Constructs an empty (default-constructed) instance.
Calls MR_TriTriDistanceResult_double_DefaultConstruct().
| auto meshlib::TriTriDistanceResult_double::overlap | ( | ) | const -> &bool |
overlap==true means that the triangles are intersecting and not just touch one another => distSq == 0 if distSq == 0 and overlap == false, then the triangles just touch one another Returns a pointer to a member variable of class MR::TriTriDistanceResult<double> named overlap.
Calls MR_TriTriDistanceResult_double_Get_overlap(). The reference to this object might be preserved as the return value.
| auto meshlib::TriTriDistanceResult_double::overlap_mut | ( | ) | -> &mut bool |
overlap==true means that the triangles are intersecting and not just touch one another => distSq == 0 if distSq == 0 and overlap == false, then the triangles just touch one another Returns a mutable pointer to a member variable of class MR::TriTriDistanceResult<double> named overlap.
Calls MR_TriTriDistanceResult_double_GetMutable_overlap(). The reference to this object might be preserved as the return value.
| void meshlib::TriTriDistanceResult_double::set_a | ( | value:meshlib::Vector3d | ) |
If the triangles are disjoint, these points are the closest points of the corresponding triangles. However, if the triangles overlap, these are basically a random pair of points from the triangles, not coincident points on the intersection of the triangles, as might be expected. Modifies a member variable of class MR::TriTriDistanceResult<double> named a.
Calls MR_TriTriDistanceResult_double_Set_a(). The reference to the parameter value might be preserved in this object in element a.
| void meshlib::TriTriDistanceResult_double::set_a_edge | ( | value:core::ffi::c_schar | ) |
the edges of the triangles with points a and b, numbered as in TriPoint::onEdge() (which also contain a point found in a vertex), or -1 if the point is inside its triangle Modifies a member variable of class MR::TriTriDistanceResult<double> named aEdge.
Calls MR_TriTriDistanceResult_double_Set_aEdge(). The reference to the parameter value might be preserved in this object in element aEdge.
| void meshlib::TriTriDistanceResult_double::set_b | ( | value:meshlib::Vector3d | ) |
If the triangles are disjoint, these points are the closest points of the corresponding triangles. However, if the triangles overlap, these are basically a random pair of points from the triangles, not coincident points on the intersection of the triangles, as might be expected. Modifies a member variable of class MR::TriTriDistanceResult<double> named b.
Calls MR_TriTriDistanceResult_double_Set_b(). The reference to the parameter value might be preserved in this object in element b.
| void meshlib::TriTriDistanceResult_double::set_b_edge | ( | value:core::ffi::c_schar | ) |
the edges of the triangles with points a and b, numbered as in TriPoint::onEdge() (which also contain a point found in a vertex), or -1 if the point is inside its triangle Modifies a member variable of class MR::TriTriDistanceResult<double> named bEdge.
Calls MR_TriTriDistanceResult_double_Set_bEdge(). The reference to the parameter value might be preserved in this object in element bEdge.
| void meshlib::TriTriDistanceResult_double::set_dist_sq | ( | value:f64 | ) |
If the triangles are disjoint, it is the squared distance them (equal to the squared distance between a and b points). If the triangles overlap, it is zero. Modifies a member variable of class MR::TriTriDistanceResult<double> named distSq.
Calls MR_TriTriDistanceResult_double_Set_distSq().
| void meshlib::TriTriDistanceResult_double::set_overlap | ( | value:bool | ) |
overlap==true means that the triangles are intersecting and not just touch one another => distSq == 0 if distSq == 0 and overlap == false, then the triangles just touch one another Modifies a member variable of class MR::TriTriDistanceResult<double> named overlap.
Calls MR_TriTriDistanceResult_double_Set_overlap().