MeshLib Java Docs
Loading...
Searching...
No Matches
Inheritance diagram for meshlib.Plane3d:

Public Member Functions

 Plane3d (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner)
 Plane3d ()
 Plane3d (meshlib.Plane3d _other)
 Plane3d (meshlib.Vector3d n, double d)
 Plane3d (meshlib.Plane3f p)
meshlib.Plane3d assignFromAnother (meshlib.Plane3d _other)
double distance (meshlib.Vector3d x)
meshlib.Plane3d opSub ()
meshlib.Plane3d opAdd ()
meshlib.Plane3d normalized ()
meshlib.Vector3d project (meshlib.Vector3d p)
meshlib.Vector3d n ()
void setN (meshlib.Vector3d value)
double d ()
void setD (double 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.Plane3d fromDirAndPt (meshlib.Vector3d n, meshlib.Vector3d 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)

Detailed Description

3-dimensional plane: dot(n,x) - d = 0 Generated from class MR::Plane3d.

Instances created here own their C++ objects, see CppObject.

Constructor & Destructor Documentation

◆ Plane3d() [1/5]

meshlib.Plane3d.Plane3d ( 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.

◆ Plane3d() [2/5]

meshlib.Plane3d.Plane3d ( )

Constructs an empty (default-constructed) instance.

Calls MR_Plane3d_DefaultConstruct().

◆ Plane3d() [3/5]

meshlib.Plane3d.Plane3d ( meshlib.Plane3d _other)

Generated from constructor MR::Plane3d::Plane3d. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.

Calls MR_Plane3d_ConstructFromAnother().

◆ Plane3d() [4/5]

meshlib.Plane3d.Plane3d ( meshlib.Vector3d n,
double d )

Generated from constructor MR::Plane3d::Plane3d. The reference to the parameter n might be preserved in the constructed object.

Calls MR_Plane3d_Construct().

◆ Plane3d() [5/5]

meshlib.Plane3d.Plane3d ( meshlib.Plane3f 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::Plane3d::Plane3d. The reference to the parameter p might be preserved in the constructed object.

Calls MR_Plane3d_Construct_float().

Member Function Documentation

◆ assignFromAnother()

meshlib.Plane3d meshlib.Plane3d.assignFromAnother ( meshlib.Plane3d _other)

Generated from method MR::Plane3d::operator=. The reference to things referred to by the parameter _other (if any) might be preserved in this object.

Calls MR_Plane3d_AssignFromAnother().

◆ d()

double meshlib.Plane3d.d ( )

Returns a pointer to a member variable of class MR::Plane3d named d. The reference to this object might be preserved as the return value.

Calls MR_Plane3d_Get_d().

◆ distance()

double meshlib.Plane3d.distance ( meshlib.Vector3d x)

returns distance from given point to this plane (if n is a unit vector) Generated from method MR::Plane3d::distance.

Calls MR_Plane3d_distance().

◆ fromDirAndPt()

meshlib.Plane3d meshlib.Plane3d.fromDirAndPt ( meshlib.Vector3d n,
meshlib.Vector3d p )
static

Generated from method MR::Plane3d::fromDirAndPt.

Calls MR_Plane3d_fromDirAndPt().

◆ n()

meshlib.Vector3d meshlib.Plane3d.n ( )

Returns a pointer to a member variable of class MR::Plane3d named n. The reference to this object might be preserved as the return value.

Calls MR_Plane3d_Get_n().

◆ normalized()

meshlib.Plane3d meshlib.Plane3d.normalized ( )

returns same plane represented with unit n-vector Generated from method MR::Plane3d::normalized.

Calls MR_Plane3d_normalized().

◆ opAdd()

meshlib.Plane3d meshlib.Plane3d.opAdd ( )

returns same representation Generated from method MR::Plane3d::operator+.

Calls MR_pos_MR_Plane3d().

◆ opSub()

meshlib.Plane3d meshlib.Plane3d.opSub ( )

returns same plane represented with flipped direction of n-vector Generated from method MR::Plane3d::operator-.

Calls MR_neg_MR_Plane3d().

◆ project()

meshlib.Vector3d meshlib.Plane3d.project ( meshlib.Vector3d p)

finds the closest point on plane Generated from method MR::Plane3d::project.

Calls MR_Plane3d_project().

◆ setD()

void meshlib.Plane3d.setD ( double value)

Modifies a member variable of class MR::Plane3d named d.

Calls MR_Plane3d_Set_d().

◆ setN()

void meshlib.Plane3d.setN ( meshlib.Vector3d value)

Modifies a member variable of class MR::Plane3d named n. The reference to the parameter value might be preserved in this object in element n.

Calls MR_Plane3d_Set_n().


The documentation for this class was generated from the following file: