Class TrianglePoints
Namespace: Scripting
Syntax
public class TrianglePoints
Constructors
TrianglePoints()
Creates an instance of the TrianglePoints class.
Declaration
public TrianglePoints()
Properties
P1
Declaration
public Point3D P1 { get; }
Property Value
Type | Description |
---|---|
Point3D |
P2
Declaration
public Point3D P2 { get; }
Property Value
Type | Description |
---|---|
Point3D |
P3
Declaration
public Point3D P3 { get; }
Property Value
Type | Description |
---|---|
Point3D |
Methods
Equals(TrianglePoints)
Tests a TrianglePoints against this current TrianglePoints for equality.
Declaration
public bool Equals(TrianglePoints val)
Parameters
Type | Name | Description |
---|---|---|
TrianglePoints | val |
Returns
Type | Description |
---|---|
System.Boolean | True if equal otherwise false is returned. |
Equals(Object)
Tests a System.Object against this current TrianglePoints for equality.
Declaration
public override bool Equals(object toCompare)
Parameters
Type | Name | Description |
---|---|---|
System.Object | toCompare |
Returns
Type | Description |
---|---|
System.Boolean | True if object is equal otherwise false is returned. |
Overrides
System.Object.Equals(System.Object)
GetHashCode()
Gets the hash code for this object.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 | The hash code for this object. |
Overrides
System.Object.GetHashCode()
Operators
Equality(TrianglePoints, TrianglePoints)
Tests a TrianglePoints against this current TrianglePoints for equality.
Declaration
public static bool operator ==(TrianglePoints a, TrianglePoints b)
Parameters
Type | Name | Description |
---|---|---|
TrianglePoints | a | |
TrianglePoints | b |
Returns
Type | Description |
---|---|
System.Boolean | True if equal otherwise false is returned. |
Inequality(TrianglePoints, TrianglePoints)
Tests a TrianglePoints against this current TrianglePoints for inequality.
Declaration
public static bool operator !=(TrianglePoints a, TrianglePoints b)
Parameters
Type | Name | Description |
---|---|---|
TrianglePoints | a | |
TrianglePoints | b |
Returns
Type | Description |
---|---|
System.Boolean | True if not equal otherwise false is returned. |