Class SegmentParallelity
Energy enforcing a segment defined from two point variables, pi and pj, to be parallel to a constant direction v.
Implements
Namespace: BRIDGES.Solvers.GuidedProjection.EnergyTypes
Assembly: BRIDGES.dll
Syntax
public class SegmentParallelity : object, IEnergyType
Remarks
A scalar variable l identified as the segment length must be defined.
The vector xReduced = [pi, pj, l].
Constructors
| Improve this Doc View SourceSegmentParallelity(Double[])
Initialises a new instance of the SegmentParallelity class by defining the coordinates of the target direction vector.
Declaration
public SegmentParallelity(double[] coordinates)
Parameters
Type | Name | Description |
---|---|---|
Double[] | coordinates | Coordinates of the target direction vector. |
Remarks
A scalar variable l identified as the segment length must be defined.
The vector xReduced = [pi, pj, l].
Properties
| Improve this Doc View SourceLocalKi
Gets the local vector Ki of the energy.
Declaration
public SparseVector LocalKi { get; }
Property Value
Type | Description |
---|---|
SparseVector |
Remarks
A scalar variable l identified as the segment length must be defined.
The vector xReduced = [pi, pj, l].
Si
Gets the scalar value Si of the energy.
Declaration
public double Si { get; }
Property Value
Type | Description |
---|---|
Double |
Remarks
A scalar variable l identified as the segment length must be defined.
The vector xReduced = [pi, pj, l].