Search Results for

    Show / Hide Table of Contents

    Class PointPair4

    The basic PointPair class holds three data values (X, Y, Z). This class extends the basic PointPair to contain four data values (X, Y, Z, T).

    Inheritance
    Object
    PointPairBase
    PointPair
    PointPair4
    Implements
    ICloneable
    ISerializable
    Inherited Members
    PointPair.Z
    PointPair.Tag
    PointPair.ICloneable.Clone()
    PointPair.Clone()
    PointPair.schema2
    PointPair.IsInvalid3D
    PointPair.LowValue
    PointPair.ColorValue
    PointPair.Equals(Object)
    PointPair.GetHashCode()
    PointPair.ToString(String, String, String)
    PointPairBase.Missing
    PointPairBase.DefaultFormat
    PointPairBase.X
    PointPairBase.Y
    PointPairBase.schema
    PointPairBase.IsMissing
    PointPairBase.IsInvalid
    PointPairBase.IsValueInvalid(Double)
    PointPairBase.ToString()
    PointPairBase.ToString(String)
    PointPairBase.ToString(String, String)
    Object.Equals(Object, Object)
    Object.GetType()
    Object.MemberwiseClone()
    Object.ReferenceEquals(Object, Object)
    Namespace: ZedGraph
    Assembly: ZedGraph.dll
    Syntax
    [Serializable]
    public class PointPair4 : PointPair, ICloneable, ISerializable

    Constructors

    | Improve this Doc View Source

    PointPair4()

    Default Constructor

    Declaration
    public PointPair4()
    | Improve this Doc View Source

    PointPair4(Double, Double, Double, Double)

    Creates a point pair with the specified X, Y, Z, and T value.

    Declaration
    public PointPair4(double x, double y, double z, double t)
    Parameters
    Type Name Description
    Double x

    This pair's x coordinate.

    Double y

    This pair's y coordinate.

    Double z

    This pair's z coordinate.

    Double t

    This pair's t coordinate.

    | Improve this Doc View Source

    PointPair4(Double, Double, Double, Double, String)

    Creates a point pair with the specified X, Y, base value, and label (Tag).

    Declaration
    public PointPair4(double x, double y, double z, double t, string label)
    Parameters
    Type Name Description
    Double x

    This pair's x coordinate.

    Double y

    This pair's y coordinate.

    Double z

    This pair's z coordinate.

    Double t

    This pair's t coordinate.

    String label

    This pair's string label (Tag)

    | Improve this Doc View Source

    PointPair4(SerializationInfo, StreamingContext)

    Constructor for deserializing objects

    Declaration
    protected PointPair4(SerializationInfo info, StreamingContext context)
    Parameters
    Type Name Description
    SerializationInfo info

    A SerializationInfo instance that defines the serialized data

    StreamingContext context

    A StreamingContext instance that contains the serialized data

    | Improve this Doc View Source

    PointPair4(PointPair4)

    The PointPair4 copy constructor.

    Declaration
    public PointPair4(PointPair4 rhs)
    Parameters
    Type Name Description
    PointPair4 rhs

    The basis for the copy.

    Fields

    | Improve this Doc View Source

    schema3

    Current schema value that defines the version of the serialized file

    Declaration
    public const int schema3 = 11
    Field Value
    Type Description
    Int32
    | Improve this Doc View Source

    T

    This PointPair4's T coordinate.

    Declaration
    public double T
    Field Value
    Type Description
    Double

    Properties

    | Improve this Doc View Source

    IsInvalid4D

    Readonly value that determines if either the X, Y, Z, or T coordinate in this PointPair4 is an invalid (not plotable) value. It is considered invalid if it is missing (equal to System.Double.Max), Infinity, or NaN.

    Declaration
    public bool IsInvalid4D { get; }
    Property Value
    Type Description
    Boolean

    true if any value is invalid

    Methods

    | Improve this Doc View Source

    GetObjectData(SerializationInfo, StreamingContext)

    Populates a SerializationInfo instance with the data needed to serialize the target object

    Declaration
    [SecurityPermission(SecurityAction.Demand, SerializationFormatter = true)]
    public override void GetObjectData(SerializationInfo info, StreamingContext context)
    Parameters
    Type Name Description
    SerializationInfo info

    A SerializationInfo instance that defines the serialized data

    StreamingContext context

    A StreamingContext instance that contains the serialized data

    Overrides
    PointPair.GetObjectData(SerializationInfo, StreamingContext)
    | Improve this Doc View Source

    ToString(Boolean)

    Format this PointPair4 value using the default format. Example: "( 12.345, -16.876 )". The two double values are formatted with the "g" format type.

    Declaration
    public string ToString(bool isShowZT)
    Parameters
    Type Name Description
    Boolean isShowZT

    true to show the third "Z" and fourth "T" value coordinates

    Returns
    Type Description
    String

    A string representation of the PointPair4

    | Improve this Doc View Source

    ToString(String, Boolean)

    Format this PointPair value using a general format string. Example: a format string of "e2" would give "( 1.23e+001, -1.69e+001 )". If is true, then the third "Z" coordinate is also shown.

    Declaration
    public string ToString(string format, bool isShowZT)
    Parameters
    Type Name Description
    String format

    A format string that will be used to format each of the two double type values (see ToString()).

    Boolean isShowZT

    true to show the third "Z" or low dependent value coordinate

    Returns
    Type Description
    String

    A string representation of the PointPair

    | Improve this Doc View Source

    ToString(String, String, String, String)

    Format this PointPair value using different general format strings for the X, Y, and Z values. Example: a format string of "e2" would give "( 1.23e+001, -1.69e+001 )".

    Declaration
    public string ToString(string formatX, string formatY, string formatZ, string formatT)
    Parameters
    Type Name Description
    String formatX

    A format string that will be used to format the X double type value (see ToString()).

    String formatY

    A format string that will be used to format the Y double type value (see ToString()).

    String formatZ

    A format string that will be used to format the Z double type value (see ToString()).

    String formatT

    A format string that will be used to format the T double type value (see ToString()).

    Returns
    Type Description
    String

    A string representation of the PointPair

    Implements

    System.ICloneable
    System.Runtime.Serialization.ISerializable
    • Improve this Doc
    • View Source
    In This Article
    Back to top Generated by DocFX