Main Page | Alphabetical List | Class List | Class Members

IVertex Interface Reference

import "ScriptBridge.idl";

List of all members.


Detailed Description

IVertex interface primitive for building edges and defining faces


Public Member Functions

HRESULT UpdatePosition (void)
HRESULT X ([out, retval] FLOAT *pVal)
HRESULT Y ([out, retval] FLOAT *pVal)
HRESULT Z ([out, retval] FLOAT *pVal)
HRESULT GetGeoType ([out, retval] LONG *GeoType)
HRESULT Length ([out, retval] FLOAT *Result)
HRESULT Distance ([in] IVertex *OtherVertex,[out, retval] FLOAT *RetDistance)
HRESULT Add ([in] IVertex *VAdd)
HRESULT AddP ([in] IPoint3D *PAdd)
HRESULT Sub ([in] IVertex *VSub)
HRESULT SubP ([in] IPoint3D *PSub)
HRESULT Geometry ([out, retval] IGeometry **pVal)
HRESULT Point3D ([out, retval] IPoint3D **pVal)


Member Function Documentation

HRESULT IVertex::Add (  [in] IVertex *  VAdd  ) 
 

Adds another vertex coordinates to the current vertex object PAdder IVertex - The other vertex

HRESULT IVertex::AddP (  [in] IPoint3D *  PAdd  ) 
 

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

HRESULT IVertex::Distance (  [in] IVertex *  OtherVertex,
[out, retval] FLOAT *  RetDistance
) 
 

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

Parameters:
OtherPoint IVertex - The other vertex used for distance calculation
Returns:
Result float - The distance between the vertices

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

Returns a IGeometry interface for this Vertex object

Returns:
iface IGeometry - The IGeometry interface for this primitive

HRESULT IVertex::GetGeoType (  [out, retval] LONG *  GeoType  ) 
 

Returns geo type for vertex

Returns:
GeoType long - Returns vertex geo type

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

Returns the length (norm) of the vertex

Returns:
Result float - The vertex norm

HRESULT IVertex::Point3D (  [out, retval] IPoint3D **  pVal  ) 
 

Returns a IPoint3D interface for this Vertex object

Returns:
iface IPoint3D - The IPoint3D interface for this point

HRESULT IVertex::Sub (  [in] IVertex *  VSub  ) 
 

Subtracts another vertex coordinates to the current vertex object PSub IVertex - The other vertex

HRESULT IVertex::SubP (  [in] IPoint3D *  PSub  ) 
 

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

HRESULT IVertex::UpdatePosition (  void   ) 
 

Updates position for weighted vertices

HRESULT IVertex::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 IVertex::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 IVertex::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:57 2005 for Silo Script Plugin by  doxygen 1.4.2