C# Class Nexus.Point3D

Exibir arquivo Open project: tgjones/nexus Class Usage Examples

Public Properties

Property Type Description
X float
Y float
Z float

Public Methods

Method Description
Distance ( Point3D p1, Point3D p2 ) : float
DistanceSquared ( Point3D p1, Point3D p2 ) : float
Equals ( object obj ) : bool
GetHashCode ( ) : int
Parse ( string source ) : Point3D
Point3D ( Point2D xy, float z ) : System
Point3D ( float x, float y, float z ) : System
Subtract ( Point3D &value1, Point3D &value2, Vector3D &result ) : void
ToHomogeneousPoint3D ( ) : Point4D
ToString ( ) : string
Transform ( Point3D position, Matrix3D matrix ) : Point3D
operator ( ) : Point3D
operator ( ) : Vector3D
operator ( ) : bool
this ( int index ) : float

Private Methods

Method Description
ConvertToString ( string format, IFormatProvider provider ) : string

Method Details

Distance() public static method

public static Distance ( Point3D p1, Point3D p2 ) : float
p1 Point3D
p2 Point3D
return float

DistanceSquared() public static method

public static DistanceSquared ( Point3D p1, Point3D p2 ) : float
p1 Point3D
p2 Point3D
return float

Equals() public method

public Equals ( object obj ) : bool
obj object
return bool

GetHashCode() public method

public GetHashCode ( ) : int
return int

Parse() public static method

public static Parse ( string source ) : Point3D
source string
return Point3D

Point3D() public method

public Point3D ( Point2D xy, float z ) : System
xy Point2D
z float
return System

Point3D() public method

public Point3D ( float x, float y, float z ) : System
x float
y float
z float
return System

Subtract() public static method

public static Subtract ( Point3D &value1, Point3D &value2, Vector3D &result ) : void
value1 Point3D
value2 Point3D
result Vector3D
return void

ToHomogeneousPoint3D() public method

public ToHomogeneousPoint3D ( ) : Point4D
return Point4D

ToString() public method

public ToString ( ) : string
return string

Transform() public static method

public static Transform ( Point3D position, Matrix3D matrix ) : Point3D
position Point3D
matrix Matrix3D
return Point3D

operator() public static method

public static operator ( ) : Point3D
return Point3D

operator() public static method

public static operator ( ) : Vector3D
return Vector3D

operator() public static method

public static operator ( ) : bool
return bool

this() public method

public this ( int index ) : float
index int
return float

Property Details

X public_oe property

public float X
return float

Y public_oe property

public float Y
return float

Z public_oe property

public float Z
return float