MeshLib Java Docs
Loading...
Searching...
No Matches
meshlib.Cone3f Class Reference
Inheritance diagram for meshlib.Cone3f:

Public Member Functions

 Cone3f (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner)
 Cone3f ()
 Cone3f (meshlib.Cone3f _other)
 Cone3f (meshlib.Line3f inAxis, float inAngle, float inHeight)
meshlib.Cone3f assignFromAnother (meshlib.Cone3f _other)
meshlib.Vector3f center_mut ()
meshlib.Vector3f center ()
meshlib.Vector3f direction_mut ()
meshlib.Vector3f direction ()
meshlib.Vector3f apex_mut ()
meshlib.Vector3f apex ()
meshlib.Vector3f projectPoint (meshlib.Vector3f point)
meshlib.Line3f axis ()
void setAxis (meshlib.Line3f value)
float angle ()
void setAngle (float value)
float height ()
void setHeight (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 ()

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

Base class for cone parameterization Generated from class MR::Cone3f.

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

Constructor & Destructor Documentation

◆ Cone3f() [1/4]

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

◆ Cone3f() [2/4]

meshlib.Cone3f.Cone3f ( )

Constructs an empty (default-constructed) instance.

Calls MR_Cone3f_DefaultConstruct().

◆ Cone3f() [3/4]

meshlib.Cone3f.Cone3f ( meshlib.Cone3f _other)

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

Calls MR_Cone3f_ConstructFromAnother().

◆ Cone3f() [4/4]

meshlib.Cone3f.Cone3f ( meshlib.Line3f inAxis,
float inAngle,
float inHeight )

inAxis – apex position and main axis direction. For any cone point dot( point , direction ) >=0 inAngle – cone angle, main axis vs side inHeight – cone inHeight main axis direction could be non normalized. Generated from constructor MR::Cone3f::Cone3f. The reference to the parameter inAxis might be preserved in the constructed object.

Calls MR_Cone3f_Construct().

Member Function Documentation

◆ angle()

float meshlib.Cone3f.angle ( )

cone angle, main axis vs side Returns a pointer to a member variable of class MR::Cone3f named angle. The reference to this object might be preserved as the return value.

Calls MR_Cone3f_Get_angle().

◆ apex()

meshlib.Vector3f meshlib.Cone3f.apex ( )

return cone apex position Generated from method MR::Cone3f::apex.

Calls MR_Cone3f_apex().

◆ apex_mut()

meshlib.Vector3f meshlib.Cone3f.apex_mut ( )

return cone apex position Generated from method MR::Cone3f::apex.

Calls MR_Cone3f_apex_mut().

◆ assignFromAnother()

meshlib.Cone3f meshlib.Cone3f.assignFromAnother ( meshlib.Cone3f _other)

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

Calls MR_Cone3f_AssignFromAnother().

◆ axis()

meshlib.Line3f meshlib.Cone3f.axis ( )

the combination of the apex of the cone and the direction of its main axis in space. Returns a pointer to a member variable of class MR::Cone3f named axis. The reference to this object might be preserved as the return value.

Calls MR_Cone3f_Get_axis().

◆ center()

meshlib.Vector3f meshlib.Cone3f.center ( )

now we use an apex as center of the cone. Generated from method MR::Cone3f::center.

Calls MR_Cone3f_center().

◆ center_mut()

meshlib.Vector3f meshlib.Cone3f.center_mut ( )

now we use an apex as center of the cone. Generated from method MR::Cone3f::center.

Calls MR_Cone3f_center_mut().

◆ direction()

meshlib.Vector3f meshlib.Cone3f.direction ( )

main axis direction. It could be non normalized. For any cone point dot( point , direction ) >=0 Generated from method MR::Cone3f::direction.

Calls MR_Cone3f_direction().

◆ direction_mut()

meshlib.Vector3f meshlib.Cone3f.direction_mut ( )

main axis direction. It could be non normalized. For any cone point dot( point , direction ) >=0 Generated from method MR::Cone3f::direction.

Calls MR_Cone3f_direction_mut().

◆ height()

float meshlib.Cone3f.height ( )

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

Calls MR_Cone3f_Get_height().

◆ projectPoint()

meshlib.Vector3f meshlib.Cone3f.projectPoint ( meshlib.Vector3f point)

Generated from method MR::Cone3f::projectPoint.

Calls MR_Cone3f_projectPoint().

◆ setAngle()

void meshlib.Cone3f.setAngle ( float value)

cone angle, main axis vs side Modifies a member variable of class MR::Cone3f named angle.

Calls MR_Cone3f_Set_angle().

◆ setAxis()

void meshlib.Cone3f.setAxis ( meshlib.Line3f value)

the combination of the apex of the cone and the direction of its main axis in space. Modifies a member variable of class MR::Cone3f named axis. The reference to the parameter value might be preserved in this object in element axis.

Calls MR_Cone3f_Set_axis().

◆ setHeight()

void meshlib.Cone3f.setHeight ( float value)

cone height Modifies a member variable of class MR::Cone3f named height.

Calls MR_Cone3f_Set_height().


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