Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
struct
GS::Utils::DistanceConstraint
Inherits
Struct
<
Value
<
Object
Distance constraint for geometry optimization
Constructors
new
(i :
Int32
, j :
Int32
, distance :
Float64
, weight :
Float64
= 1.0)
Source
Instance methods
distance
Source
distance=
(distance :
Float64
)
Source
i
Source
i=
(i :
Int32
)
Source
j
Source
j=
(j :
Int32
)
Source
weight
Source
weight=
(weight :
Float64
)
Source