Table of Contents

Class FloorConstraint

Namespace
HelixToolkit.Wpf
Assembly
HelixToolkit.Wpf.dll

A floor constraint.

public sealed class FloorConstraint : Constraint
Inheritance
FloorConstraint
Inherited Members

Constructors

FloorConstraint(int, double)

Initializes a new instance of the FloorConstraint class.

public FloorConstraint(int index, double friction = 1)

Parameters

index int

The index.

friction double

The friction.

Properties

Friction

Gets or sets the friction.

public double Friction { get; set; }

Property Value

double

The friction.

Index

Gets or sets the index.

public int Index { get; set; }

Property Value

int

The index.

Methods

Satisfy(VerletIntegrator, int)

Satisfies the constraint.

public override void Satisfy(VerletIntegrator vs, int iteration)

Parameters

vs VerletIntegrator

The verlet system.

iteration int

The iteration.