Struct TInp3DPoint
Three dimensional cartesian point (X, Y, Z coordinates)
Inherited Members
System.ValueType.Equals(System.Object)
System.ValueType.GetHashCode()
System.ValueType.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: SprutTechnology.SCPostprocessor
Assembly: SCPostprocessor.dll
Syntax
public struct TInp3DPoint
Constructors
TInp3DPoint(Double, Double, Double)
Creates new instance of TInp3DPoint with given coordinates X, Y and Z.
Declaration
public TInp3DPoint(double X, double Y, double Z)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Double | X | X coordinate of the point. |
| System.Double | Y | Y coordinate of the point. |
| System.Double | Z | Z coordinate of the point. |
Properties
Item[Int32]
Returns one of coordinates by it's index [1 .. 3]. Index 1 means X, index 2 means Y, index 3 means Z.
Declaration
public double this[int index] { get; set; }
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | index | Index of coordinate [1 .. 3] |
Property Value
| Type | Description |
|---|---|
| System.Double | Returns the coordinate value. |
X
X coordinate of the point
Declaration
public double X { readonly get; set; }
Property Value
| Type | Description |
|---|---|
| System.Double |
Y
Y coordinate of the point
Declaration
public double Y { readonly get; set; }
Property Value
| Type | Description |
|---|---|
| System.Double |
Z
Z coordinate of the point
Declaration
public double Z { readonly get; set; }
Property Value
| Type | Description |
|---|---|
| System.Double |
Operators
Implicit(TInp3DPoint to T3DPoint)
Automatic converter of types between this point and type, defined in VecMatrLib.
Declaration
public static implicit operator T3DPoint(TInp3DPoint p)
Parameters
| Type | Name | Description |
|---|---|---|
| TInp3DPoint | p | Point to convert |
Returns
| Type | Description |
|---|---|
| T3DPoint |
Implicit(T3DPoint to TInp3DPoint)
Automatic converter of types between this point and type, defined in VecMatrLib.
Declaration
public static implicit operator TInp3DPoint(T3DPoint p)
Parameters
| Type | Name | Description |
|---|---|---|
| T3DPoint | p | Point to convert |
Returns
| Type | Description |
|---|---|
| TInp3DPoint |