Show / Hide Table of Contents

Struct Point

Represents a point for a Pwl.

Inherited Members
object.Equals(object, object)
object.GetType()
object.ReferenceEquals(object, object)
Namespace: SpiceSharp.Components
Assembly: SpiceSharp.dll
Syntax
public readonly struct Point

Constructors

Point(double, double)

Initializes a new instance of the Point struct.

Declaration
public Point(double time, double value)
Parameters
Type Name Description
double time

The time.

double value

The value.

Fields

Time

The point time.

Declaration
public readonly double Time
Field Value
Type Description
double

Value

The point value.

Declaration
public readonly double Value
Field Value
Type Description
double

Methods

Equals(object)

Determines whether the specified object, is equal to this instance.

Declaration
public override bool Equals(object obj)
Parameters
Type Name Description
object obj

The object to compare with this instance.

Returns
Type Description
bool

true if the specified object is equal to this instance; otherwise, false.

Overrides
ValueType.Equals(object)

GetHashCode()

Returns a hash code for this instance.

Declaration
public override int GetHashCode()
Returns
Type Description
int

A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.

Overrides
ValueType.GetHashCode()

ToString()

Returns a string that represents the current point.

Declaration
public override string ToString()
Returns
Type Description
string

A string that represents the current object.

Overrides
ValueType.ToString()

Operators

operator ==(Point, Point)

Implements the operator ==.

Declaration
public static bool operator ==(Point left, Point right)
Parameters
Type Name Description
Point left

The left.

Point right

The right.

Returns
Type Description
bool

The result of the operator.

operator !=(Point, Point)

Implements the operator !=.

Declaration
public static bool operator !=(Point left, Point right)
Parameters
Type Name Description
Point left

The left.

Point right

The right.

Returns
Type Description
bool

The result of the operator.

Extension Methods

Utility.ThrowIfNull<T>(T, string)
In this article
Back to top Generated by DocFX