Main Page | Alphabetical List | Class List | Class Members

IPoint3D Interface Reference

import "ScriptBridge.idl";

List of all members.


Detailed Description

IPoint3D interface basic three dimensional primitive access (X, Y, Z) in Silo SDK is the base class for Vertex


Public Member Functions

HRESULT Dot ([in] IPoint3D *OtherPoint,[out, retval] FLOAT *Result)
HRESULT CrossProduct ([in] IPoint3D *OtherPoint,[out, retval] IPoint3D **ResultPoint)
HRESULT Length ([out, retval] FLOAT *Result)
HRESULT Distance (IPoint3D *OtherPoint,[out, retval] FLOAT *Result)
HRESULT Unit ([out, retval] IPoint3D **P3D)
HRESULT X ([out, retval] FLOAT *pVal)
HRESULT Y ([out, retval] FLOAT *pVal)
HRESULT Z ([out, retval] FLOAT *pVal)
HRESULT Add ([in] IPoint3D *PAdder)
HRESULT Sub ([in] IPoint3D *PSub)
HRESULT Geometry ([out, retval] IGeometry **pVal)


Member Function Documentation

HRESULT IPoint3D::Add (  [in] IPoint3D *  PAdder  ) 
 

Adds another point coordinates to the current point object PAdder IPoint3D - The other point

HRESULT IPoint3D::CrossProduct (  [in] IPoint3D *  OtherPoint,
[out, retval] IPoint3D **  ResultPoint
) 
 

Returns the cross product of the current point object with the one passed in as a parameter

Parameters:
OtherPoint IPoint3D - The other point operand for cross product
Returns:
ResultPoint IPoint3D - The cross product point result

HRESULT IPoint3D::Distance (  IPoint3D *  OtherPoint,
[out, retval] FLOAT *  Result
) 
 

Returns the distance between the current point object and the one passed as a parameter

Parameters:
OtherPoint IPoint3D - The other point used for distance calculation
Returns:
Result float - The distance between the points

HRESULT IPoint3D::Dot (  [in] IPoint3D *  OtherPoint,
[out, retval] FLOAT *  Result
) 
 

Returns the dot product of the current point object with the one passed in as a parameter

Parameters:
OtherPoint IPoint3D - The other point operand for dot product
Returns:
Result float - The dot product result

HRESULT IPoint3D::Geometry (  [out, retval] IGeometry **  pVal  ) 
 

Returns a IGeometry interface for this Point3D object

Returns:
iface IGeometry - The IGeometry interface for this primitive

HRESULT IPoint3D::Length (  [out, retval] FLOAT *  Result  ) 
 

Returns the length (norm) of the point

Returns:
Result float - The point norm

HRESULT IPoint3D::Sub (  [in] IPoint3D *  PSub  ) 
 

Subtracts another point coordinates to the current point object PSub IPoint3D - The other point

HRESULT IPoint3D::Unit (  [out, retval] IPoint3D **  P3D  ) 
 

Returns a unit norm point starting from current point object coordinates

Returns:
P3D IPoint3D - The calculated unit point

HRESULT IPoint3D::X (  [out, retval] FLOAT *  pVal  ) 
 

Gets / Sets X point coordinate

Parameters:
(For Set) Value float - the coordinate new value
Returns:
(For Get) NewValue float - the coordinate value

HRESULT IPoint3D::Y (  [out, retval] FLOAT *  pVal  ) 
 

Gets / Sets Y point coordinate

Parameters:
(For Set) Value float - the coordinate new value
Returns:
(For Get) NewValue float- the coordinate value

HRESULT IPoint3D::Z (  [out, retval] FLOAT *  pVal  ) 
 

Gets / Sets Z point coordinate

Parameters:
(For Set) Value float - the coordinate new value
Returns:
(For Get) NewValue float - the coordinate value


Generated on Thu Apr 28 22:56:56 2005 for Silo Script Plugin by  doxygen 1.4.2