Public Member Functions | |
| Line3f (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner) | |
| Line3f () | |
| Line3f (meshlib.Line3f _other) | |
| Line3f (meshlib.Vector3f p, meshlib.Vector3f d) | |
| Line3f (meshlib.Line3d l) | |
| meshlib.Line3f | assignFromAnother (meshlib.Line3f _other) |
| meshlib.Vector3f | call (float param) |
| float | distanceSq (meshlib.Vector3f x) |
| meshlib.Line3f | opSub () |
| meshlib.Line3f | opAdd () |
| meshlib.Line3f | normalized () |
| float | projectionParam (meshlib.Vector3f x) |
| meshlib.Vector3f | project (meshlib.Vector3f x) |
| meshlib.Vector3f | p () |
| void | setP (meshlib.Vector3f value) |
| meshlib.Vector3f | d () |
| void | setD (meshlib.Vector3f value) |
| Public Member Functions inherited from meshlib.CppObject | |
| final java.lang.foreign.MemorySegment | rawPointer () |
| final boolean | isOwned () |
| final void | close () |
| final java.lang.foreign.MemorySegment | release () |
Additional Inherited Members | |
| Protected Member Functions inherited from meshlib.CppObject | |
| CppObject (java.lang.foreign.MemorySegment ptr, java.util.function.Consumer< java.lang.foreign.MemorySegment > destroy, java.lang.Object owner) | |
2- or 3-dimensional line: cross( x - p, d ) = 0 Generated from class MR::Line3f.
Instances created here own their C++ objects, see CppObject.
| meshlib.Line3f.Line3f | ( | java.lang.foreign.MemorySegment | ptr, |
| boolean | owned, | ||
| java.lang.Object | owner ) |
Wraps a pointer from the C bindings. If owned, the object is destroyed when the wrapper dies. owner is kept alive as long as this wrapper is. Not for normal use.
| meshlib.Line3f.Line3f | ( | ) |
Constructs an empty (default-constructed) instance.
Calls MR_Line3f_DefaultConstruct().
| meshlib.Line3f.Line3f | ( | meshlib.Line3f | _other | ) |
Generated from constructor MR::Line3f::Line3f. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
Calls MR_Line3f_ConstructFromAnother().
| meshlib.Line3f.Line3f | ( | meshlib.Vector3f | p, |
| meshlib.Vector3f | d ) |
Generated from constructor MR::Line3f::Line3f. The reference to the parameter p might be preserved in the constructed object. The reference to the parameter d might be preserved in the constructed object.
Calls MR_Line3f_Construct().
| meshlib.Line3f.Line3f | ( | meshlib.Line3d | l | ) |
Generated from constructor MR::Line3f::Line3f. The reference to the parameter l might be preserved in the constructed object.
Calls MR_Line3f_Construct_MR_Vector3d().
| meshlib.Line3f meshlib.Line3f.assignFromAnother | ( | meshlib.Line3f | _other | ) |
Generated from method MR::Line3f::operator=. The reference to things referred to by the parameter _other (if any) might be preserved in this object.
Calls MR_Line3f_AssignFromAnother().
| meshlib.Vector3f meshlib.Line3f.call | ( | float | param | ) |
returns point on the line, where param=0 returns p and param=1 returns p+d Generated from method MR::Line3f::operator().
Calls MR_Line3f_call().
| meshlib.Vector3f meshlib.Line3f.d | ( | ) |
Returns a pointer to a member variable of class MR::Line3f named d. The reference to this object might be preserved as the return value.
Calls MR_Line3f_Get_d().
| float meshlib.Line3f.distanceSq | ( | meshlib.Vector3f | x | ) |
returns squared distance from given point to this line Generated from method MR::Line3f::distanceSq.
Calls MR_Line3f_distanceSq().
| meshlib.Line3f meshlib.Line3f.normalized | ( | ) |
returns same line represented with unit d-vector Generated from method MR::Line3f::normalized.
Calls MR_Line3f_normalized().
| meshlib.Line3f meshlib.Line3f.opAdd | ( | ) |
returns same representation Generated from method MR::Line3f::operator+.
Calls MR_pos_MR_Line3f().
| meshlib.Line3f meshlib.Line3f.opSub | ( | ) |
returns same line represented with flipped direction of d-vector Generated from method MR::Line3f::operator-.
Calls MR_neg_MR_Line3f().
| meshlib.Vector3f meshlib.Line3f.p | ( | ) |
Returns a pointer to a member variable of class MR::Line3f named p. The reference to this object might be preserved as the return value.
Calls MR_Line3f_Get_p().
| meshlib.Vector3f meshlib.Line3f.project | ( | meshlib.Vector3f | x | ) |
finds the closest point to the given one on this line Generated from method MR::Line3f::project.
Calls MR_Line3f_project().
| float meshlib.Line3f.projectionParam | ( | meshlib.Vector3f | x | ) |
finds the parameter of the closest point to the given one on this line Generated from method MR::Line3f::projectionParam.
Calls MR_Line3f_projectionParam().
| void meshlib.Line3f.setD | ( | meshlib.Vector3f | value | ) |
Modifies a member variable of class MR::Line3f named d. The reference to the parameter value might be preserved in this object in element d.
Calls MR_Line3f_Set_d().
| void meshlib.Line3f.setP | ( | meshlib.Vector3f | value | ) |
Modifies a member variable of class MR::Line3f named p. The reference to the parameter value might be preserved in this object in element p.
Calls MR_Line3f_Set_p().