Navigation: Scripting Reference Manual > Functions & Subroutines > AddConicFoci

 

AddConicFoci

 

Contact Us: fredsupport@photonengr.com

 

Description

Adds a conic foci surface (ellipsoid or hyperboloid) to the associated FRED document.

 

Syntax

n = AddConicFoci ( entity, foci )

 

Parameters

n (Long)

Node number for the new Conic Foci surface.

 

entity As T_ENTITY

The generic entity data for the new surface.

 

foci As T_CONICFOCI

Structure containing the ellipsoid/hyperboloid data for the new Conic Foci surface.

 

 

Remarks

This function adds a conic foci surface (either an ellipsoid or a hyperboloid) to the associated FRED document and returns the identifier for the new surface.  The function returns a value of -1 if the surface could not be created or added to the document.

 

A Conic Foci surface is axially symmetric ellipsoid/hyperboloid specified by a point on the surface and the location of its two foci.  Note that a sphere can be created by specifying the two foci to be coincident at the center of the sphere.

 

See Also

T_ENTITY

T_CONICFOCI

InitConicFoci

SetConicFoci

GetConicFoci

Examples

Surfaces

 

 

 

 

 

Copyright © Photon Engineering, LLC