LinearDistanceForce

from acron.physics import LinearDistanceForce
class LinearDistanceForce

Bases:

Bases: LinearForce

Pure virtual class for sinks and sources

Inheritance diagram

digraph inheritance200b7f86a9 { bgcolor=transparent; rankdir=BT; size="8.0, 12.0"; "BaseForce" [URL="acron.physics.BaseForce.html#acron.physics.BaseForce",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "TypedReferenceCount" -> "BaseForce" [arrowsize=0.75,style=""]; "DTOOL_SUPER_BASE" [fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style=""]; "LinearDistanceForce" [URL="acron.physics.LinearDistanceForce.html#acron.physics.LinearDistanceForce",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "LinearForce" -> "LinearDistanceForce" [arrowsize=0.75,style=""]; "LinearForce" [URL="acron.physics.LinearForce.html#acron.physics.LinearForce",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "BaseForce" -> "LinearForce" [arrowsize=0.75,style=""]; "ReferenceCount" [URL="acron.core.ReferenceCount.html#acron.core.ReferenceCount",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "DTOOL_SUPER_BASE" -> "ReferenceCount" [arrowsize=0.75,style=""]; "TypedObject" [URL="acron.core.TypedObject.html#acron.core.TypedObject",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "DTOOL_SUPER_BASE" -> "TypedObject" [arrowsize=0.75,style=""]; "TypedReferenceCount" [URL="acron.core.TypedReferenceCount.html#acron.core.TypedReferenceCount",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "TypedObject" -> "TypedReferenceCount" [arrowsize=0.75,style=""]; "ReferenceCount" -> "TypedReferenceCount" [arrowsize=0.75,style=""]; }
enum FalloffType
enumerator FT_ONE_OVER_R = 0
enumerator FT_ONE_OVER_R_SQUARED = 1
enumerator FT_ONE_OVER_R_CUBED = 2
enumerator FT_ONE_OVER_R_OVER_DISTANCE = 3
enumerator FT_ONE_OVER_R_OVER_DISTANCE_SQUARED = 4
enumerator FT_ONE_OVER_R_OVER_DISTANCE_CUBED = 5
static get_class_type()
get_falloff_type()

falloff_type query

get_force_center()

force_center query

get_radius()

radius query

get_scalar_term()

calculate the term based on falloff

set_falloff_type()

falloff_type encapsulating wrap

set_force_center()

set the force center

set_radius()

set the radius