All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

CATSchPlatformInterfaces Interface CATISchGRRFactory

System.IUnknown
  |
  +---CATISchGRRFactory
 

Usage: an implementation of this interface is supplied and you must use it as is. You should not reimplement it.


interface CATISchGRRFactory

Interface to create graphical representations for Schematic basic set of objects.
Role: This is the factory for schematic object's graphical representations.


Method Index


o CreateGRRCntr(CATISchGRRCntr**)
Create the graphical representation of a Schematic Connector.
o CreateGRRGroup(CATIUnknownList*,IUnknown**)
Create the graphical representation of a Schematic Group.
o CreateGRRRoute(double*,int,CATISchGRRRoute**)
Create the graphical representation of a Schematic Route.
o CreateGRRRouteEllipse(double*,CATISchGRRRouteEllipse**)
Create the graphical representation of a Schematic Route Ellipse.
o CreateGRRZone(CATIUnknownList*,CATISchGRRZone**)
Create the graphical representation of a Schematic Zone.

Methods


o CreateGRRCntr
public virtual HRESULT CreateGRRCntr(CATISchGRRCntr** oGRRCntr) = 0
Create the graphical representation of a Schematic Connector.
Parameters:
oGRRCntr
The graphical representation of the connector
Returns:
An HRESULT value.
Legal values:
S_OK
operation is successful
E_FAIL
operation failed
o CreateGRRGroup
public virtual HRESULT CreateGRRGroup(CATIUnknownList* iLPrimitive,
IUnknown** oGRRGroup) = 0
Create the graphical representation of a Schematic Group.
Parameters:
iLPrimitives
A list of 2D drafting detail pointers Members are CATI2DDetail interface poiners.
oGRRGroup
The graphical representation of the Group
Returns:
An HRESULT value.
Legal values:
S_OK
operation is successful
E_FAIL
operation failed
o CreateGRRRoute
public virtual HRESULT CreateGRRRoute(double* iLDbLinePath,
int iSizeOfPath,
CATISchGRRRoute** oGRRRoute) = 0
Create the graphical representation of a Schematic Route.
Parameters:
iLDbPtPath
A list of X-Y coordinates of points defining the Route. 2 doubles per point.
iSizeOfPath
Total number of points in the list. 2 times the number of points.
oGRRRoute
The graphical representation of the Route
Returns:
An HRESULT value.
Legal values:
S_OK
operation is successful
E_FAIL
operation failed
o CreateGRRRouteEllipse
public virtual HRESULT CreateGRRRouteEllipse(double* iDbXYSeedPt,
CATISchGRRRouteEllipse** oGRRRouteEllipse) = 0
Create the graphical representation of a Schematic Route Ellipse.
Parameters:
iDbXYSeedPt
X-Y coordinate of the seed point for the ellipse. If NULL, the seed point will not be set.
oGRRRouteEllipse
The graphical representation of the Route Ellipse
Returns:
An HRESULT value.
Legal values:
S_OK
operation is successful
E_FAIL
operation failed
o CreateGRRZone
public virtual HRESULT CreateGRRZone(CATIUnknownList* iLPrimitive,
CATISchGRRZone** oGRRZone) = 0
Create the graphical representation of a Schematic Zone.
Parameters:
iLPrimitives
A list of 2D drafting object pointers defining the zone boundaries.
oGRRZone
The graphical representation of the Zone
Returns:
An HRESULT value.
Legal values:
S_OK
operation is successful
E_FAIL
operation failed

This object is included in the file: CATISchGRRFactory.h

Copyright © 2003, Dassault Systèmes. All rights reserved.