Computes the center of mass of specified vectors.
Namespace: SphericalAssembly: SphericalLib (in SphericalLib.dll) Version: 1.0.5951.32246 (1.0.0.0)
Syntax
C# |
---|
public static Cartesian CenterOfMass( IEnumerable<Cartesian> plist, bool normalize ) |
Visual C++ |
---|
public: static Cartesian CenterOfMass( IEnumerable<Cartesian>^ plist, bool normalize ) |
F# |
---|
static member CenterOfMass : plist:IEnumerable<Cartesian> * normalize:bool -> Cartesian |
Parameters
- plist
- Type: System.Collections.Generic..::..IEnumerable<(Of <(<'Cartesian>)>)>
The list of vectors.
- normalize
- Type: System..::..Boolean
The flag determines whether the result is normalized.
Return Value
[Missing <returns> documentation for "M:Spherical.Cartesian.CenterOfMass(System.Collections.Generic.IEnumerable{Spherical.Cartesian},System.Boolean)"]