Interface ISTGeomFiler
Assembly: STGeomApiTypes.dll
Syntax
[Guid("DBB8B036-6D6C-4F90-AEB6-A2BE211F6318")]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public interface ISTGeomFiler : ISTGeomReceiver
Methods
AddComboSolidEdge(string, string, string, string, string, string)
Declaration
bool AddComboSolidEdge(string EdgeID, string CurveID, string StartVertexID, string EndVertexID, string LeftFaceID, string RightFaceID)
Parameters
Type |
Name |
Description |
string |
EdgeID |
|
string |
CurveID |
|
string |
StartVertexID |
|
string |
EndVertexID |
|
string |
LeftFaceID |
|
string |
RightFaceID |
|
Returns
AddComboSolidFace(string, string)
Declaration
bool AddComboSolidFace(string FaceID, string FaceName)
Parameters
Type |
Name |
Description |
string |
FaceID |
|
string |
FaceName |
|
Returns
AddComboSolidVertex(TST3DPoint, string)
Declaration
bool AddComboSolidVertex(TST3DPoint P, string VertexID)
Parameters
Type |
Name |
Description |
TST3DPoint |
P |
|
string |
VertexID |
|
Returns
AddEntity(string, string)
Declaration
bool AddEntity(string ID, string EntityName)
Parameters
Type |
Name |
Description |
string |
ID |
|
string |
EntityName |
|
Returns
AddFaceEdge2d(string, bool, string, string)
Declaration
bool AddFaceEdge2d(string CurveID, bool Orientation, string svID, string tvID)
Parameters
Type |
Name |
Description |
string |
CurveID |
|
bool |
Orientation |
|
string |
svID |
|
string |
tvID |
|
Returns
AddFaceEdge3d(string, bool, string, string)
Declaration
bool AddFaceEdge3d(string CurveID, bool Orientation, string svID, string tvID)
Parameters
Type |
Name |
Description |
string |
CurveID |
|
bool |
Orientation |
|
string |
svID |
|
string |
tvID |
|
Returns
AddIntersectionCurvePoint(TST3DPoint)
Declaration
bool AddIntersectionCurvePoint(TST3DPoint Position)
Parameters
Returns
AddMeshTriangle(int, int, int)
Declaration
bool AddMeshTriangle(int v1, int v2, int v3)
Parameters
Type |
Name |
Description |
int |
v1 |
|
int |
v2 |
|
int |
v3 |
|
Returns
AddMeshVertex(int, TST3DPoint)
Declaration
bool AddMeshVertex(int Index, TST3DPoint P)
Parameters
Returns
AddPmiText(string)
Declaration
bool AddPmiText(string Text)
Parameters
Type |
Name |
Description |
string |
Text |
|
Returns
AddViewEntity(string, string)
Declaration
bool AddViewEntity(string ViewID, string EntityPath)
Parameters
Type |
Name |
Description |
string |
ViewID |
|
string |
EntityPath |
|
Returns
ArcTo2d(TST2DPoint, TST2DPoint, double)
Declaration
bool ArcTo2d(TST2DPoint pc, TST2DPoint P, double rad)
Parameters
Returns
BeginPmiEntity(string, TST3DPoint, TST3DPoint, TST3DPoint, TSTPmiType)
Declaration
bool BeginPmiEntity(string ID, TST3DPoint vT, TST3DPoint vZ, TST3DPoint vX, TSTPmiType PmiType)
Parameters
Returns
BeginPmiText(TST3DPoint, double, double, double, int, TSTPmiTextType)
Declaration
bool BeginPmiText(TST3DPoint vT, double Angle, double Height, double Length, int NumberLines, TSTPmiTextType TextType)
Parameters
Returns
BezierTo2d(TST2DPoint, TST2DPoint, TST2DPoint)
Declaration
bool BezierTo2d(TST2DPoint p1, TST2DPoint p2, TST2DPoint p3)
Parameters
Returns
CloseBlock()
Declaration
Returns
CloseComboModel()
Declaration
Returns
CloseComboSolid()
Declaration
Returns
CloseCurve2d(bool)
Declaration
bool CloseCurve2d(bool Close)
Parameters
Type |
Name |
Description |
bool |
Close |
|
Returns
CloseCurve3d(bool)
Declaration
bool CloseCurve3d(bool IsClosed)
Parameters
Type |
Name |
Description |
bool |
IsClosed |
|
Returns
CloseFace()
Declaration
Returns
CloseFaceLoop()
Declaration
Returns
CloseFile()
Finish writing the SGF file @return Success status
Declaration
Returns
CloseGroupEntity()
Declaration
Returns
CloseIntersectionCurve()
Declaration
bool CloseIntersectionCurve()
Returns
CloseMesh()
Declaration
Returns
CloseModel()
Declaration
Returns
CloseNurbsCurve()
Declaration
Returns
CloseNurbsSurface()
Declaration
Returns
CloseNurbsSurfaceB(double, double, double, double)
Declaration
bool CloseNurbsSurfaceB(double UMin, double UMax, double VMin, double VMax)
Parameters
Type |
Name |
Description |
double |
UMin |
|
double |
UMax |
|
double |
VMin |
|
double |
VMax |
|
Returns
CreateArc(string, double, double, TST3DPoint, TST3DPoint, TST3DPoint)
Declaration
bool CreateArc(string ID, double Radius, double Angle, TST3DPoint vT, TST3DPoint vZ, TST3DPoint vX)
Parameters
Returns
CreateBlendBound(string, string, int)
Declaration
bool CreateBlendBound(string ID, string Blend, int Boundary)
Parameters
Type |
Name |
Description |
string |
ID |
|
string |
Blend |
|
int |
Boundary |
|
Returns
CreateBlendedSurface(string, string, string, string, double, double, TSTBlendedType, TST3DPoint, TSTLimitType, TST3DPoint, TSTLimitType)
Declaration
bool CreateBlendedSurface(string ID, string FirstSurfID, string SecondSurfID, string Spine, double Range1, double Range2, TSTBlendedType BlendedType, TST3DPoint p1, TSTLimitType L1, TST3DPoint p2, TSTLimitType L2)
Parameters
Returns
CreateCircle(string, double, TST3DPoint, TST3DPoint, TST3DPoint)
Declaration
bool CreateCircle(string ID, double Radius, TST3DPoint vT, TST3DPoint vZ, TST3DPoint vX)
Parameters
Returns
CreateConeP(string, TST3DPoint, TST3DPoint, TST3DPoint, double, double, double, double, double, double)
Declaration
bool CreateConeP(string ID, TST3DPoint Location, TST3DPoint Axis, TST3DPoint RefAxis, double Radius, double SemiAngle, double Hmin, double Hmax, double Amin, double Amax)
Parameters
Type |
Name |
Description |
string |
ID |
|
TST3DPoint |
Location |
|
TST3DPoint |
Axis |
|
TST3DPoint |
RefAxis |
|
double |
Radius |
|
double |
SemiAngle |
|
double |
Hmin |
|
double |
Hmax |
|
double |
Amin |
|
double |
Amax |
|
Returns
CreateConicalSpiral(string, TST3DPoint, TST3DPoint, TST3DPoint, double, double, double, double, bool)
Declaration
bool CreateConicalSpiral(string ID, TST3DPoint Location, TST3DPoint Axis, TST3DPoint RefAxis, double StartRadius, double TermRadius, double Step, double Distance, bool CCW)
Parameters
Type |
Name |
Description |
string |
ID |
|
TST3DPoint |
Location |
|
TST3DPoint |
Axis |
|
TST3DPoint |
RefAxis |
|
double |
StartRadius |
|
double |
TermRadius |
|
double |
Step |
|
double |
Distance |
|
bool |
CCW |
|
Returns
CreateCoordinateSystem(string, TST3DPoint, TST3DPoint, TST3DPoint)
Declaration
bool CreateCoordinateSystem(string CSID, TST3DPoint vT, TST3DPoint vZ, TST3DPoint vX)
Parameters
Returns
CreateCurveOnSurface(string, string, string)
Declaration
bool CreateCurveOnSurface(string ID, string CurveID, string SurfaceID)
Parameters
Type |
Name |
Description |
string |
ID |
|
string |
CurveID |
|
string |
SurfaceID |
|
Returns
CreateCylinderP(string, TST3DPoint, TST3DPoint, TST3DPoint, double, double, double, double, double)
Declaration
bool CreateCylinderP(string ID, TST3DPoint Location, TST3DPoint Axis, TST3DPoint RefAxis, double Radius, double Hmin, double Hmax, double Amin, double Amax)
Parameters
Returns
CreateEllipse(string, double, double, TST3DPoint, TST3DPoint, TST3DPoint)
Declaration
bool CreateEllipse(string ID, double MajRad, double MinRad, TST3DPoint vT, TST3DPoint vZ, TST3DPoint vX)
Parameters
Returns
CreateEllipseArc(string, double, double, double, double, TST3DPoint, TST3DPoint, TST3DPoint)
Declaration
bool CreateEllipseArc(string ID, double MajRad, double MinRad, double SAng, double TAng, TST3DPoint vT, TST3DPoint vZ, TST3DPoint vX)
Parameters
Returns
CreateInversedCurve(string, string)
Declaration
bool CreateInversedCurve(string ID, string SourceCurveID)
Parameters
Type |
Name |
Description |
string |
ID |
|
string |
SourceCurveID |
|
Returns
CreateLineSeg(string, TST3DPoint, TST3DPoint)
Declaration
bool CreateLineSeg(string ID, TST3DPoint sp, TST3DPoint tp)
Parameters
Returns
CreateOffsetSurf(string, string, double)
Declaration
bool CreateOffsetSurf(string ID, string Surf, double Offset)
Parameters
Type |
Name |
Description |
string |
ID |
|
string |
Surf |
|
double |
Offset |
|
Returns
CreatePlaneP(string, TST3DPoint, TST3DPoint, TST3DPoint, double, double, double, double)
Declaration
bool CreatePlaneP(string ID, TST3DPoint Location, TST3DPoint Axis, TST3DPoint RefAxis, double xMin, double yMin, double xMax, double yMax)
Parameters
Returns
CreatePoint(string, TST3DPoint)
Declaration
bool CreatePoint(string ID, TST3DPoint P)
Parameters
Returns
CreateRevSurface120(string, TST3DPoint, TST3DPoint, string, double, double)
Declaration
bool CreateRevSurface120(string ID, TST3DPoint Location, TST3DPoint Axis, string GeneratrixID, double sa, double ta)
Parameters
Type |
Name |
Description |
string |
ID |
|
TST3DPoint |
Location |
|
TST3DPoint |
Axis |
|
string |
GeneratrixID |
|
double |
sa |
|
double |
ta |
|
Returns
CreateSolidEdge(string, string, string, string)
Declaration
bool CreateSolidEdge(string ID, string SourceCurveID, string svID, string tvID)
Parameters
Type |
Name |
Description |
string |
ID |
|
string |
SourceCurveID |
|
string |
svID |
|
string |
tvID |
|
Returns
CreateSolidVertex(string, TST3DPoint)
Declaration
bool CreateSolidVertex(string ID, TST3DPoint P)
Parameters
Returns
CreateSphereP(string, TST3DPoint, TST3DPoint, TST3DPoint, double)
Declaration
bool CreateSphereP(string ID, TST3DPoint Location, TST3DPoint Axis, TST3DPoint RefAxis, double Radius)
Parameters
Returns
CreateTabSurface122(string, string, TST3DPoint)
Declaration
bool CreateTabSurface122(string ID, string GeneratrixID, TST3DPoint ExtrusionVector)
Parameters
Type |
Name |
Description |
string |
ID |
|
string |
GeneratrixID |
|
TST3DPoint |
ExtrusionVector |
|
Returns
CreateTorusP(string, TST3DPoint, TST3DPoint, TST3DPoint, double, double)
Declaration
bool CreateTorusP(string ID, TST3DPoint Location, TST3DPoint Axis, TST3DPoint RefAxis, double MajRad, double MinRad)
Parameters
Returns
CreateTransposedUVSurface(string, string)
Declaration
bool CreateTransposedUVSurface(string ID, string SourceSurface)
Parameters
Type |
Name |
Description |
string |
ID |
|
string |
SourceSurface |
|
Returns
CreateTrimmedCurve(string, string, double, double)
Declaration
bool CreateTrimmedCurve(string ID, string SourceCurveID, double t1, double t2)
Parameters
Type |
Name |
Description |
string |
ID |
|
string |
SourceCurveID |
|
double |
t1 |
|
double |
t2 |
|
Returns
CreateTrimmedCurve2(string, string, TST3DPoint, TST3DPoint)
Declaration
bool CreateTrimmedCurve2(string ID, string SourceCurveID, TST3DPoint p1, TST3DPoint p2)
Parameters
Returns
CreateView(TST3DPoint, TST3DPoint, TST3DPoint, double, string)
Declaration
bool CreateView(TST3DPoint vT, TST3DPoint vZ, TST3DPoint vX, double Scale, string ID)
Parameters
Returns
CutTo2d(TST2DPoint)
Declaration
bool CutTo2d(TST2DPoint P)
Parameters
Returns
CutTo3d(TST3DPoint)
Declaration
bool CutTo3d(TST3DPoint P)
Parameters
Returns
EndPmiEntity()
Declaration
Returns
EndPmiText()
Declaration
Returns
InsertBlock(string, string)
Declaration
bool InsertBlock(string BlockID, string NewBlockName)
Parameters
Type |
Name |
Description |
string |
BlockID |
|
string |
NewBlockName |
|
Returns
LoadFile(string)
Declaration
bool LoadFile(string GeomFile)
Parameters
Type |
Name |
Description |
string |
GeomFile |
|
Returns
LoadFileWithScale(string, bool)
Declaration
bool LoadFileWithScale(string GeomFile, bool ADeleteFile)
Parameters
Type |
Name |
Description |
string |
GeomFile |
|
bool |
ADeleteFile |
|
Returns
OpenFile(string, ISTGeomReceiver)
Open the SGF file and read it
Declaration
bool OpenFile(string FileName, ISTGeomReceiver Receiver)
Parameters
Type |
Name |
Description |
string |
FileName |
The path to the SGF file
|
ISTGeomReceiver |
Receiver |
The interface where the SGF file will be read @return Success status
|
Returns
PmiAddArrow(TST3DPoint, double, TSTPmiArrowType)
Declaration
bool PmiAddArrow(TST3DPoint vT, double Angle, TSTPmiArrowType ArrowType)
Parameters
Returns
PmiAddCurve(string, TSTPmiCurveType)
Declaration
bool PmiAddCurve(string CurveID, TSTPmiCurveType CurveType)
Parameters
Returns
PmiAddMesh(string)
Declaration
bool PmiAddMesh(string ID)
Parameters
Type |
Name |
Description |
string |
ID |
|
Returns
SetArcToler(double)
Declaration
bool SetArcToler(double Value)
Parameters
Type |
Name |
Description |
double |
Value |
|
Returns
SetCurrentColor(int)
Declaration
bool SetCurrentColor(int Value)
Parameters
Type |
Name |
Description |
int |
Value |
|
Returns
SetCurrentLineType(TSTLineType)
Declaration
bool SetCurrentLineType(TSTLineType Value)
Parameters
Returns
SetCurrentLineWidth(int)
Declaration
bool SetCurrentLineWidth(int Value)
Parameters
Type |
Name |
Description |
int |
Value |
|
Returns
Declaration
bool SetCurrentTransform(TST3DPoint vT, TST3DPoint vZ, TST3DPoint vX)
Parameters
Returns
Declaration
bool SetCurrentTransform2(TST3DPoint vT, TST3DPoint vX, TST3DPoint vY, TST3DPoint vZ)
Parameters
Returns
SetCurveDomain(string, double, double, double, double)
Declaration
bool SetCurveDomain(string ID, double SrcTmin, double SrcTmax, double PrxTmin, double PrxTmax)
Parameters
Type |
Name |
Description |
string |
ID |
|
double |
SrcTmin |
|
double |
SrcTmax |
|
double |
PrxTmin |
|
double |
PrxTmax |
|
Returns
SetCurveParametrization(string, double, double)
Declaration
bool SetCurveParametrization(string CurveID, double TMin, double TMax)
Parameters
Type |
Name |
Description |
string |
CurveID |
|
double |
TMin |
|
double |
TMax |
|
Returns
SetGroupEntityIsSolid(bool)
Declaration
bool SetGroupEntityIsSolid(bool Value)
Parameters
Type |
Name |
Description |
bool |
Value |
|
Returns
SetIgnoreOutOfRange(bool)
Declaration
bool SetIgnoreOutOfRange(bool Value)
Parameters
Type |
Name |
Description |
bool |
Value |
|
Returns
SetImportOption(TSTImportOption, bool)
Declaration
bool SetImportOption(TSTImportOption OptionType, bool OptionValue)
Parameters
Returns
SetModelUnits(TST_LinearMeasure, double)
Declaration
bool SetModelUnits(TST_LinearMeasure Units, double MultScale)
Parameters
Returns
SetNurbsCurveControlPoint(int, TST3DPoint)
Declaration
bool SetNurbsCurveControlPoint(int Index, TST3DPoint P)
Parameters
Returns
SetNurbsCurveKnot(int, double)
Declaration
bool SetNurbsCurveKnot(int Index, double knot)
Parameters
Type |
Name |
Description |
int |
Index |
|
double |
knot |
|
Returns
SetNurbsCurveWeight(int, double)
Declaration
bool SetNurbsCurveWeight(int Index, double w)
Parameters
Type |
Name |
Description |
int |
Index |
|
double |
w |
|
Returns
SetNurbsSurfaceControlPoint(int, int, TST3DPoint)
Declaration
bool SetNurbsSurfaceControlPoint(int i, int j, TST3DPoint P)
Parameters
Returns
SetNurbsSurfaceUKnot(int, double)
Declaration
bool SetNurbsSurfaceUKnot(int i, double Value)
Parameters
Type |
Name |
Description |
int |
i |
|
double |
Value |
|
Returns
SetNurbsSurfaceVKnot(int, double)
Declaration
bool SetNurbsSurfaceVKnot(int i, double Value)
Parameters
Type |
Name |
Description |
int |
i |
|
double |
Value |
|
Returns
SetNurbsSurfaceWeight(int, int, double)
Declaration
bool SetNurbsSurfaceWeight(int i, int j, double Value)
Parameters
Type |
Name |
Description |
int |
i |
|
int |
j |
|
double |
Value |
|
Returns
SetPmiAssociativity(int, string)
Declaration
bool SetPmiAssociativity(int i, string ObjId)
Parameters
Type |
Name |
Description |
int |
i |
|
string |
ObjId |
|
Returns
SetPmiPreferenceD(string, double)
Declaration
bool SetPmiPreferenceD(string Path, double Value)
Parameters
Type |
Name |
Description |
string |
Path |
|
double |
Value |
|
Returns
SetPmiPreferenceI(string, int)
Declaration
bool SetPmiPreferenceI(string Path, int Value)
Parameters
Type |
Name |
Description |
string |
Path |
|
int |
Value |
|
Returns
SetSurfaceUVDomain(string, double, double, double, double, double, double, double, double, bool)
Declaration
bool SetSurfaceUVDomain(string ID, double SrcUmin, double SrcUmax, double SrcVmin, double SrcVmax, double PrxUmin, double PrxUmax, double PrxVmin, double PrxVmax, bool TransposeUV)
Parameters
Type |
Name |
Description |
string |
ID |
|
double |
SrcUmin |
|
double |
SrcUmax |
|
double |
SrcVmin |
|
double |
SrcVmax |
|
double |
PrxUmin |
|
double |
PrxUmax |
|
double |
PrxVmin |
|
double |
PrxVmax |
|
bool |
TransposeUV |
|
Returns
StartBlock(string)
Declaration
bool StartBlock(string BlockName)
Parameters
Type |
Name |
Description |
string |
BlockName |
|
Returns
StartComboModel(string)
Declaration
bool StartComboModel(string GeomFile)
Parameters
Type |
Name |
Description |
string |
GeomFile |
|
Returns
StartComboSolid(string)
Declaration
bool StartComboSolid(string ID)
Parameters
Type |
Name |
Description |
string |
ID |
|
Returns
StartCurve2d(string, TST2DPoint, TST3DPoint, TST3DPoint, TST3DPoint)
Declaration
bool StartCurve2d(string ID, TST2DPoint P, TST3DPoint vT, TST3DPoint vZ, TST3DPoint vX)
Parameters
Returns
StartCurve3d(string, TST3DPoint)
Declaration
bool StartCurve3d(string ID, TST3DPoint P)
Parameters
Returns
StartFace(string, string, bool)
Declaration
bool StartFace(string ID, string SurfaceID, bool NormalOrientation)
Parameters
Type |
Name |
Description |
string |
ID |
|
string |
SurfaceID |
|
bool |
NormalOrientation |
|
Returns
StartFaceLoop()
Declaration
Returns
StartFile(string)
Declaration
bool StartFile(string FileName)
Parameters
Type |
Name |
Description |
string |
FileName |
The path to the SGF file @return Success status
|
Returns
StartGroupEntity(string)
Declaration
bool StartGroupEntity(string EntityName)
Parameters
Type |
Name |
Description |
string |
EntityName |
|
Returns
StartIntersectionCurve(string, string, string, TSTLimitType, TSTLimitType, double, double)
Declaration
bool StartIntersectionCurve(string ID, string FirstSurfID, string SecondSurfID, TSTLimitType L1, TSTLimitType L2, double BaseParam, double BaseScale)
Parameters
Type |
Name |
Description |
string |
ID |
|
string |
FirstSurfID |
|
string |
SecondSurfID |
|
TSTLimitType |
L1 |
|
TSTLimitType |
L2 |
|
double |
BaseParam |
|
double |
BaseScale |
|
Returns
StartMesh(string)
Declaration
bool StartMesh(string ID)
Parameters
Type |
Name |
Description |
string |
ID |
|
Returns
StartModel()
Declaration
Returns
StartNurbsCurve(string, int, bool, bool, bool, int, int)
Declaration
bool StartNurbsCurve(string ID, int Degree, bool IsPeriodic, bool IsRational, bool IsClosed, int KnotCount, int CPCount)
Parameters
Type |
Name |
Description |
string |
ID |
|
int |
Degree |
|
bool |
IsPeriodic |
|
bool |
IsRational |
|
bool |
IsClosed |
|
int |
KnotCount |
|
int |
CPCount |
|
Returns
StartNurbsSurface(string, int, int, int, int, bool, bool, bool, bool, bool)
Declaration
bool StartNurbsSurface(string ID, int K1, int K2, int UDegree, int VDegree, bool UClosed, bool VClosed, bool UPeriodic, bool VPeriodic, bool Rational)
Parameters
Type |
Name |
Description |
string |
ID |
|
int |
K1 |
|
int |
K2 |
|
int |
UDegree |
|
int |
VDegree |
|
bool |
UClosed |
|
bool |
VClosed |
|
bool |
UPeriodic |
|
bool |
VPeriodic |
|
bool |
Rational |
|
Returns