C# Class ChronoEngine_SwAddin.ConvertToCollisionShapes

Exibir arquivo Open project: projectchrono/chrono-solidworks

Public Methods

Method Description
SWbodyToBox ( Body2 swBody ) : bool
SWbodyToBox ( Body2 swBody, System.Windows.Media.Media3D.Point3D &corner, System.Windows.Media.Media3D.Vector3D &Ex, System.Windows.Media.Media3D.Vector3D &Ey, System.Windows.Media.Media3D.Vector3D &Ez ) : bool
SWbodyToConvexHull ( Body2 swBody, System.Windows.Media.Media3D.Point3D &vertexes, int maxvertexes ) : bool
SWbodyToConvexHull ( Body2 swBody, int maxvertexes ) : bool
SWbodyToCylinder ( Body2 swBody ) : bool
SWbodyToCylinder ( Body2 swBody, System.Windows.Media.Media3D.Point3D &P1, System.Windows.Media.Media3D.Point3D &P2, double &radius ) : bool
SWbodyToSphere ( Body2 swBody ) : bool
SWbodyToSphere ( Body2 swBody, double &radius, System.Windows.Media.Media3D.Point3D &center ) : bool

Method Details

SWbodyToBox() public static method

public static SWbodyToBox ( Body2 swBody ) : bool
swBody Body2
return bool

SWbodyToBox() public static method

public static SWbodyToBox ( Body2 swBody, System.Windows.Media.Media3D.Point3D &corner, System.Windows.Media.Media3D.Vector3D &Ex, System.Windows.Media.Media3D.Vector3D &Ey, System.Windows.Media.Media3D.Vector3D &Ez ) : bool
swBody Body2
corner System.Windows.Media.Media3D.Point3D
Ex System.Windows.Media.Media3D.Vector3D
Ey System.Windows.Media.Media3D.Vector3D
Ez System.Windows.Media.Media3D.Vector3D
return bool

SWbodyToConvexHull() public static method

public static SWbodyToConvexHull ( Body2 swBody, System.Windows.Media.Media3D.Point3D &vertexes, int maxvertexes ) : bool
swBody Body2
vertexes System.Windows.Media.Media3D.Point3D
maxvertexes int
return bool

SWbodyToConvexHull() public static method

public static SWbodyToConvexHull ( Body2 swBody, int maxvertexes ) : bool
swBody Body2
maxvertexes int
return bool

SWbodyToCylinder() public static method

public static SWbodyToCylinder ( Body2 swBody ) : bool
swBody Body2
return bool

SWbodyToCylinder() public static method

public static SWbodyToCylinder ( Body2 swBody, System.Windows.Media.Media3D.Point3D &P1, System.Windows.Media.Media3D.Point3D &P2, double &radius ) : bool
swBody Body2
P1 System.Windows.Media.Media3D.Point3D
P2 System.Windows.Media.Media3D.Point3D
radius double
return bool

SWbodyToSphere() public static method

public static SWbodyToSphere ( Body2 swBody ) : bool
swBody Body2
return bool

SWbodyToSphere() public static method

public static SWbodyToSphere ( Body2 swBody, double &radius, System.Windows.Media.Media3D.Point3D &center ) : bool
swBody Body2
radius double
center System.Windows.Media.Media3D.Point3D
return bool