C# Class SEToolbox.Support.MeshHelper

Exibir arquivo Open project: midspace/SEToolbox

Public Methods

Method Description
Ceiling ( this point ) : System.Windows.Media.Media3D.Point3D
Floor ( this point ) : System.Windows.Media.Media3D.Point3D
Load ( string path, Dispatcher dispatcher = null, bool freeze = false, bool ignoreErrors = false ) : System.Windows.Media.Media3D.Model3DGroup
Max ( System.Windows.Media.Media3D.Point3D point1, System.Windows.Media.Media3D.Point3D point2, System.Windows.Media.Media3D.Point3D point3 ) : System.Windows.Media.Media3D.Point3D
Min ( System.Windows.Media.Media3D.Point3D point1, System.Windows.Media.Media3D.Point3D point2, System.Windows.Media.Media3D.Point3D point3 ) : System.Windows.Media.Media3D.Point3D
RayIntersetTriangle ( System.Windows.Media.Media3D.Point3D p1, System.Windows.Media.Media3D.Point3D p2, System.Windows.Media.Media3D.Point3D p3, System.Windows.Media.Media3D.Point3D r1, System.Windows.Media.Media3D.Point3D r2, System.Windows.Media.Media3D.Point3D &intersection, int &norm ) : bool
RayIntersetTriangleRound ( System.Windows.Media.Media3D.Point3D p1, System.Windows.Media.Media3D.Point3D p2, System.Windows.Media.Media3D.Point3D p3, System.Windows.Media.Media3D.Point3D r1, System.Windows.Media.Media3D.Point3D r2, System.Windows.Media.Media3D.Point3D &intersection, int &norm ) : bool
RayIntersetTriangleRound ( System.Windows.Media.Media3D.Point3D p1, System.Windows.Media.Media3D.Point3D p2, System.Windows.Media.Media3D.Point3D p3, System.Windows.Media.Media3D.Point3D rays, System.Windows.Media.Media3D.Point3D &intersection, int &norm ) : bool
TransformScale ( this model, double scale ) : void
TransformScale ( this model, double scaleX, double scaleY, double scaleZ ) : void
TransformVector ( System.Windows.Media.Media3D.Vector3D origin, double roll, double yaw, double pitch ) : System.Windows.Media.Media3D.Transform3D

Private Methods

Method Description
CrossProductRound ( System.Windows.Media.Media3D.Vector3D vector1, System.Windows.Media.Media3D.Vector3D vector2 ) : System.Windows.Media.Media3D.Vector3D
DotProductRound ( System.Windows.Media.Media3D.Vector3D vector1, System.Windows.Media.Media3D.Vector3D vector2 ) : double
Round ( this point ) : System.Windows.Media.Media3D.Point3D
Round ( this point, int places ) : System.Windows.Media.Media3D.Point3D
Round ( this vector ) : System.Windows.Media.Media3D.Vector3D
Round ( this vector, int places ) : System.Windows.Media.Media3D.Vector3D

Method Details

Ceiling() public static method

public static Ceiling ( this point ) : System.Windows.Media.Media3D.Point3D
point this
return System.Windows.Media.Media3D.Point3D

Floor() public static method

public static Floor ( this point ) : System.Windows.Media.Media3D.Point3D
point this
return System.Windows.Media.Media3D.Point3D

Load() public static method

public static Load ( string path, Dispatcher dispatcher = null, bool freeze = false, bool ignoreErrors = false ) : System.Windows.Media.Media3D.Model3DGroup
path string
dispatcher System.Windows.Threading.Dispatcher
freeze bool
ignoreErrors bool
return System.Windows.Media.Media3D.Model3DGroup

Max() public static method

public static Max ( System.Windows.Media.Media3D.Point3D point1, System.Windows.Media.Media3D.Point3D point2, System.Windows.Media.Media3D.Point3D point3 ) : System.Windows.Media.Media3D.Point3D
point1 System.Windows.Media.Media3D.Point3D
point2 System.Windows.Media.Media3D.Point3D
point3 System.Windows.Media.Media3D.Point3D
return System.Windows.Media.Media3D.Point3D

Min() public static method

public static Min ( System.Windows.Media.Media3D.Point3D point1, System.Windows.Media.Media3D.Point3D point2, System.Windows.Media.Media3D.Point3D point3 ) : System.Windows.Media.Media3D.Point3D
point1 System.Windows.Media.Media3D.Point3D
point2 System.Windows.Media.Media3D.Point3D
point3 System.Windows.Media.Media3D.Point3D
return System.Windows.Media.Media3D.Point3D

RayIntersetTriangle() public static method

public static RayIntersetTriangle ( System.Windows.Media.Media3D.Point3D p1, System.Windows.Media.Media3D.Point3D p2, System.Windows.Media.Media3D.Point3D p3, System.Windows.Media.Media3D.Point3D r1, System.Windows.Media.Media3D.Point3D r2, System.Windows.Media.Media3D.Point3D &intersection, int &norm ) : bool
p1 System.Windows.Media.Media3D.Point3D
p2 System.Windows.Media.Media3D.Point3D
p3 System.Windows.Media.Media3D.Point3D
r1 System.Windows.Media.Media3D.Point3D
r2 System.Windows.Media.Media3D.Point3D
intersection System.Windows.Media.Media3D.Point3D
norm int
return bool

RayIntersetTriangleRound() public static method

public static RayIntersetTriangleRound ( System.Windows.Media.Media3D.Point3D p1, System.Windows.Media.Media3D.Point3D p2, System.Windows.Media.Media3D.Point3D p3, System.Windows.Media.Media3D.Point3D r1, System.Windows.Media.Media3D.Point3D r2, System.Windows.Media.Media3D.Point3D &intersection, int &norm ) : bool
p1 System.Windows.Media.Media3D.Point3D
p2 System.Windows.Media.Media3D.Point3D
p3 System.Windows.Media.Media3D.Point3D
r1 System.Windows.Media.Media3D.Point3D
r2 System.Windows.Media.Media3D.Point3D
intersection System.Windows.Media.Media3D.Point3D
norm int
return bool

RayIntersetTriangleRound() public static method

public static RayIntersetTriangleRound ( System.Windows.Media.Media3D.Point3D p1, System.Windows.Media.Media3D.Point3D p2, System.Windows.Media.Media3D.Point3D p3, System.Windows.Media.Media3D.Point3D rays, System.Windows.Media.Media3D.Point3D &intersection, int &norm ) : bool
p1 System.Windows.Media.Media3D.Point3D
p2 System.Windows.Media.Media3D.Point3D
p3 System.Windows.Media.Media3D.Point3D
rays System.Windows.Media.Media3D.Point3D
intersection System.Windows.Media.Media3D.Point3D
norm int
return bool

TransformScale() public static method

public static TransformScale ( this model, double scale ) : void
model this
scale double
return void

TransformScale() public static method

public static TransformScale ( this model, double scaleX, double scaleY, double scaleZ ) : void
model this
scaleX double
scaleY double
scaleZ double
return void

TransformVector() public static method

public static TransformVector ( System.Windows.Media.Media3D.Vector3D origin, double roll, double yaw, double pitch ) : System.Windows.Media.Media3D.Transform3D
origin System.Windows.Media.Media3D.Vector3D
roll double
yaw double
pitch double
return System.Windows.Media.Media3D.Transform3D