Public Member Functions | |
| Plane3f (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner) | |
| Plane3f () | |
| Plane3f (meshlib.Plane3f _other) | |
| Plane3f (meshlib.Vector3f n, float d) | |
| Plane3f (meshlib.Plane3d p) | |
| meshlib.Plane3f | assignFromAnother (meshlib.Plane3f _other) |
| float | distance (meshlib.Vector3f x) |
| meshlib.Plane3f | opSub () |
| meshlib.Plane3f | opAdd () |
| meshlib.Plane3f | normalized () |
| meshlib.Vector3f | project (meshlib.Vector3f p) |
| meshlib.Vector3f | n () |
| void | setN (meshlib.Vector3f value) |
| float | d () |
| void | setD (float 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 () |
Static Public Member Functions | |
| static meshlib.Plane3f | fromDirAndPt (meshlib.Vector3f n, meshlib.Vector3f p) |
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) | |
3-dimensional plane: dot(n,x) - d = 0 Generated from class MR::Plane3f.
Instances created here own their C++ objects, see CppObject.
| meshlib.Plane3f.Plane3f | ( | 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.Plane3f.Plane3f | ( | ) |
Constructs an empty (default-constructed) instance.
Calls MR_Plane3f_DefaultConstruct().
| meshlib.Plane3f.Plane3f | ( | meshlib.Plane3f | _other | ) |
Generated from constructor MR::Plane3f::Plane3f. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
Calls MR_Plane3f_ConstructFromAnother().
| meshlib.Plane3f.Plane3f | ( | meshlib.Vector3f | n, |
| float | d ) |
Generated from constructor MR::Plane3f::Plane3f. The reference to the parameter n might be preserved in the constructed object.
Calls MR_Plane3f_Construct().
| meshlib.Plane3f.Plane3f | ( | meshlib.Plane3d | p | ) |
Here T == U doesn't seem to cause any issues in the C++ code, but we're still disabling it because it somehow gets emitted when generating the bindings, and results in duplicate functions in C#. Generated from constructor MR::Plane3f::Plane3f. The reference to the parameter p might be preserved in the constructed object.
Calls MR_Plane3f_Construct_double().
| meshlib.Plane3f meshlib.Plane3f.assignFromAnother | ( | meshlib.Plane3f | _other | ) |
Generated from method MR::Plane3f::operator=. The reference to things referred to by the parameter _other (if any) might be preserved in this object.
Calls MR_Plane3f_AssignFromAnother().
| float meshlib.Plane3f.d | ( | ) |
Returns a pointer to a member variable of class MR::Plane3f named d. The reference to this object might be preserved as the return value.
Calls MR_Plane3f_Get_d().
| float meshlib.Plane3f.distance | ( | meshlib.Vector3f | x | ) |
returns distance from given point to this plane (if n is a unit vector) Generated from method MR::Plane3f::distance.
Calls MR_Plane3f_distance().
|
static |
Generated from method MR::Plane3f::fromDirAndPt.
Calls MR_Plane3f_fromDirAndPt().
| meshlib.Vector3f meshlib.Plane3f.n | ( | ) |
Returns a pointer to a member variable of class MR::Plane3f named n. The reference to this object might be preserved as the return value.
Calls MR_Plane3f_Get_n().
| meshlib.Plane3f meshlib.Plane3f.normalized | ( | ) |
returns same plane represented with unit n-vector Generated from method MR::Plane3f::normalized.
Calls MR_Plane3f_normalized().
| meshlib.Plane3f meshlib.Plane3f.opAdd | ( | ) |
returns same representation Generated from method MR::Plane3f::operator+.
Calls MR_pos_MR_Plane3f().
| meshlib.Plane3f meshlib.Plane3f.opSub | ( | ) |
returns same plane represented with flipped direction of n-vector Generated from method MR::Plane3f::operator-.
Calls MR_neg_MR_Plane3f().
| meshlib.Vector3f meshlib.Plane3f.project | ( | meshlib.Vector3f | p | ) |
finds the closest point on plane Generated from method MR::Plane3f::project.
Calls MR_Plane3f_project().
| void meshlib.Plane3f.setD | ( | float | value | ) |
Modifies a member variable of class MR::Plane3f named d.
Calls MR_Plane3f_Set_d().
| void meshlib.Plane3f.setN | ( | meshlib.Vector3f | value | ) |
Modifies a member variable of class MR::Plane3f named n. The reference to the parameter value might be preserved in this object in element n.
Calls MR_Plane3f_Set_n().