Table of Contents

Class Centroid

Namespace
Olve.Fuzzy
Assembly
Olve.Fuzzy.dll

A weighted centroid of a fuzzy shape.

public sealed class Centroid
Inheritance
Centroid
Inherited Members

Constructors

Centroid(double, double)

A weighted centroid of a fuzzy shape.

public Centroid(double value, double weight)

Parameters

value double

The position of the centroid.

weight double

The weight of the centroid, the area of the shape.

Fields

Zero

A centroid at 0 with no weight.

public static readonly Centroid Zero

Field Value

Centroid

Properties

Value

Gets the position of the centroid.

public double Value { get; }

Property Value

double

Weight

Gets the weight of the centroid, the area of the shape.

public double Weight { get; }

Property Value

double