TopoShape API/es: Difference between revisions

From FreeCAD Documentation
(Created page with "Category:API/es")
(Updating to match new version of source page)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<languages/>
{{VeryImportantMessage|(November 2018) This information may be incomplete and outdated. For the latest API, see the [https://www.freecadweb.org/api autogenerated API documentation].}}

TopoShape es el objeto madre del módulo de pieza. Todos los tipos de formas (contornos, caras, sólidos, etc.) del módulo de pieza son TopoShapes, y comparten los siguientes atributos y métodos. Ejemplo:
TopoShape es el objeto madre del módulo de pieza. Todos los tipos de formas (contornos, caras, sólidos, etc.) del módulo de pieza son TopoShapes, y comparten los siguientes atributos y métodos. Ejemplo:
{{Code|code=
{{Code|code=
Line 8: Line 11:
}}
}}


<div class="mw-translate-fuzzy">

{{APIProperty|Area|The total area of the faces of the shape.}}
{{APIProperty/es|Area|El área total de las caras de la forma.}}
{{APIProperty|BoundBox|The BoundBox of the object}}
{{APIProperty/es|CompSolids|Lista las formas subsiguientes en esta forma.}}
{{APIProperty/es|Compounds|Lista los componentes en esta forma.}}
{{APIProperty|CenterOfMass|The center of mass of the current system. If the gravitational field is uniform, it is the center of gravity. The coordinates returned for the center of mass are expressed in the absolute Cartesian coordinate system.}}
{{APIProperty|CompSolids|Lists the subsequent shapes in this shape.}}
{{APIProperty/es|Edges|Lista las aristas en esta forma.}}
{{APIProperty|Compounds|Lists the coumpounds in this shape.}}
{{APIProperty/es|Faces|Lista las caras en esta forma.}}
{{APIProperty|Edges|Lists the Edges in this shape.}}
{{APIProperty/es|Length|Longitud total de las aristas de la forma.}}
{{APIProperty|Faces|Lists the faces in this shape.}}
{{APIProperty/es|Orientation|La orientación de la forma.}}
{{APIProperty|Length|Total length of the edges of the shape.}}
{{APIProperty/es|ShapeType|El tipo de la forma.}}
{{APIProperty|Matrix|The current transformation of the object as matrix}}
{{APIProperty/es|Shells|Lista las subsiguientes formas en esta forma.}}
{{APIProperty|Orientation|the orientation of the shape.}}
{{APIProperty/es|Solids|Lista las subsiguientes formas en esta forma.}}
{{APIProperty|Placement|The current transformation of the object as placement}}
{{APIProperty/es|Vertexes|Lista los vértices en esta forma.}}
{{APIProperty|ShapeType|The type of the shape.}}
{{APIProperty/es|Volume|Volumen total de los sólidos de la forma.}}
{{APIProperty|Shells|Lists the subsequent shapes in this shape.}}
{{APIProperty/es|Wires|Lista de contornos en una forma.}}
{{APIProperty|Solids|List of subsequent shapes in this shape.}}
{{APIProperty/es|BoundBox|La caja de abarque del objeto}}
{{APIProperty|Vertexes|List of vertexes in this shape.}}
{{APIProperty/es|Matrix|La transformación actual del objeto como una matriz}}
{{APIProperty|Volume|Total volume of the solids of the shape.}}
{{APIProperty/es|Placement|La transformación actual del objeto como una ubicación}}
{{APIFunction/es|getAllDerivedFrom| |Devuelve todos los descendientes de este tipo de objeto|Una lista}}
{{APIProperty|Wires|List of wires in this shape.}}
{{APIFunction|approximate| |Approximates a B-Spline-curve from this wire|a BSplineCurve object}}
{{APIFunction/es|isDerivedFrom|string|Devuelve true si el tipo indicado es un padre|Un booleano}}
{{APIFunction/es|approximate| |Aproxima un curva BSpline a partir de su contorno|Un objeto BSplineCurve}}
{{APIFunction|check| |Checks the shape and report errors in the shape structure. This is a more detailed check as done in isValid().| }}
{{APIFunction/es|makeHomogenousWires|wire|Crea este y el contorno dado homogéneos para tener el mismo número de aristas|Un contorno}}
{{APIFunction|common|TopoShape|Intersection of this and a given topo shape.|a TopoShape}}
{{APIFunction/es|makeOffset|float|Equidista la forma una cantidad dada|Un TopoShape}}
{{APIFunction|complement| |Computes the complement of the orientation of this shape, i.e. reverses the interior/exterior status of boundaries of this shape.|a TopoShape}}
{{APIProperty/es|CenterOfMass|El centro de masa del sistema actual. Si el campo gravitacional es uniforme, es el centro de gravedad. Las coordenadas devueltas para el centro de masas están expresadas en el sistema de coordenadas cartesiano absoluto.}}
{{APIFunction|copy| |Creates a copy of this shape|a TopoShape}}
{{APIFunction/es|check| |Comprueba la forma e informa de errores en su estructura. Es una comprobación más detallada que en isValid().| }}
{{APIFunction|cut|TopoShape|Difference of this and a given topo shape.|a TopoShape}}
{{APIFunction/es|common|TopoShape|Intersección de esta y una TopoShape dada.|Una TopoShape}}
{{APIFunction|distToShape| TopoShape |Calculates the minimum distance between this and a given TopoShape.|float<minimum distance>,list<nearest points>,list<nearest subshapes & parameters> }}
{{APIFunction/es|complement| |Calcula el complemento de la orientación de esta forma, por ejemplo invierte el estado de los límites exteriores / interiores de esta forma.|Una TopoShape}}
{{APIFunction|exportBrep| string |Exports the content of this shape to an BREP file. BREP is a CasCade native format.| }}
{{APIFunction|exportIges| string |Exports the content of this shape to an IGES file.| }}
{{APIFunction/es|copy| |Crea una copia de la forma|Una TopoShape}}
{{APIFunction|exportStep| string |Exports the content of this shape to an STEP file.| }}
{{APIFunction/es|cut|TopoShape|Resta de esta y la TopoShape dada.|Una TopoShape}}
{{APIFunction|exportStl| string |Exports the content of this shape to an STL mesh file.| }}
{{APIFunction/es|exportBrep|string |Exporta el contenido de esta forma a un archivo BREP. BREP es un formato nativo de CasCade.| }}
{{APIFunction|extrude|Vector|Extrudes the shape along a direction.|a TopoShape}}
{{APIFunction/es|exportIges|string |Exporta el contenido de esta forma a un archivo IGES.| }}
{{APIFunction|fuse|TopoShape|Union of this and a given topo shape.|a TopoShape}}
{{APIFunction/es|exportStep|string |Exporta el contenido de esta forma a un archivo STEP.| }}
{{APIFunction|getAllDerivedFrom| |Returns all descentences of this object type|a list}}
{{APIFunction/es|exportStl|string |Exporta el contenido de esta forma a un archivo STL.| }}
{{APIFunction/es|extrude|Vector|Extrusiona la forma a lo largo de una dirección.|Una TopoShape}}
{{APIFunction|hashCode| |This value is computed from the value of the underlying shape reference and the location. Orientation is not taken into account.|a string}}
{{APIFunction|isClosed| |Checks if the shape is closed.|a boolean}}
{{APIFunction/es|fuse|TopoShape|Union de esta y una TopoShape dada.|Una TopoShape}}
{{APIFunction/es|hashCode| |Este valor es calculado a partir de la referencia y localización de la forma subyacente. La orientación no se tiene en cuenta.|Una cadena de texto}}
{{APIFunction|isDerivedFrom|string|Returns true if given type is a father|boolean}}
{{APIFunction/es|isClosed| |Comprueba si la forma está cerrada.|Un booleano}}
{{APIFunction|isEqual|TopoShape|Returns true if both shapes share the same TShape, have the same Location and have the same Orientation.|a boolean}}
{{APIFunction/es|isEqual|TopoShape|Comprueba si ambas formas son iguales.|Un booleano}}
{{APIFunction|isInside|Vector,float,Boolean|Checks if a point is inside a solid with a certain tolerance. If the 3rd parameter is True a point on a face is considered as inside|a boolean}}
{{APIFunction|isNull| |Checks if the shape is null.|a boolean}}
{{APIFunction/es|isNull| |Comprueba si la la forma es nula (null).|Un booleano}}
{{APIFunction/es|isSame|TopoShape|Comprueba si ambas formas comparten la misma geometría.|Un booleano}}
{{APIFunction|isPartner|TopoShape|Returns true if both shapes share the same TShape, but may have a different Location and may have a different Orientation.|a boolean}}
{{APIFunction/es|isValid| |Comprueba si la forma es válida, por ejemplo no nula, no vacía, no corrupta.|Un booleano}}
{{APIFunction|isSame|TopoShape|Checks if both shapes share the same geometry, true if both shapes share the same TShape, have the same Location but may have a different Orientation.|a boolean}}
{{APIFunction/es|makeFillet| |Crea redondeo.| }}
{{APIFunction|isValid| |Checks if the shape is valid, i.e. neither null, nor empty nor corrupted.|a boolean}}
{{APIFunction|makeFillet|float,TopoShape|Returns a new object based on TopoShape, but with a fillet of radius 'float' applied to each edge.|a TopoShape}}
{{APIFunction/es|makePipe|wire|Crea un tubo barriendo a lo largo de un contorno.|Una TopoShape}}
{{APIFunction|makeHomogenousWires|wire|Makes this and the given wire homogenous to have the same number of edges| a wire}}
{{APIFunction/es|makePipeShell|wire|Crea un recubrimiento definido por perfiles a lo largo de un contorno.|Una TopoShape}}
{{APIFunction/es|makeShapeFromMesh|mesh|Crea una forma compuesta a partir de los datos de la malla. Nota: Esto debería utilizarse sólo para algunas pequeñas mallas.|Una TopoShape}}
{{APIFunction|makeOffset|float|Offsets the shape by a given ammount|a TopoShape}}
{{APIFunction/es|makeThickness|list,float,float|Un sólido hueco es construido a partir del sólido inicial mediante un vaciado. El espesor del sólido se define en el momento de la construcción. Los argumentos que son pasados son una lista de caras a ignorar por la operación de vaciado, el espesor de las paredes y un valor de tolerancia.|Una TopoShape}}
{{APIFunction|makePipe|wire|Makes a pipe by sweeping along a wire.|a TopoShape}}
{{APIFunction/es|nullify| |Destruye la referencia a la forma subyacente almacenada en esta forma. Como resultado, esta forma se convierte en vacía.}}
{{APIFunction|makePipeShell|wire|Makes a loft defined by profiles along a wire.|a TopoShape}}
{{APIFunction|makeShapeFromMesh|mesh|Makes a compound shape out of mesh data. Note: This should be used for rather small meshes only.|a TopoShape}}
{{APIFunction/es|project|TopoShape|Proyecta una forma en esta forma|Una TopoShape}}
{{APIFunction/es|read|string|Lee en un archivo IGES, STEP o BREP.|Una TopoShape}}
{{APIFunction|makeThickness|list,float,float|A hollowed solid is built from an initial solid and a set of faces on this solid, which are to be removed. The remaining faces of the solid become the walls of the hollowed solid, their thickness defined at the time of construction. The arguments to be passed are a list of faces to be skipped, the thickness of the walls and a tolerance value.|a TopoShape}}
{{APIFunction/es|reverse| |Invierte la orientación de esta forma.| }}
{{APIFunction|nullify| |Destroys the reference to the underlying shape stored in this shape. As a result, this shape becomes null.|}}
{{APIFunction/es|revolve|Vector, Vector, float|Revoluciona la forma alrededor de un eje unos grados dados. Ejemplo: Part.revolve(Vector(0,0,0),Vector(0,0,1),360) revoluciona la forma alrededor del eje Z 360 grados.|Una TopoShape}}
{{APIFunction|project|TopoShape|Project a shape on this shape|a TopoShape}}
{{APIFunction/es|rotate|Vector, Vector, float|Aplica la rotación (grados) a la ubicación actual de esta forma. Ejemplo: Shp.rotate(Vector(0,0,0),Vector(0,0,1),180) rota la forma alrededor del eje Z 180 grados.|Una TopoShape}}
{{APIFunction|read|string|Reads in an IGES, STEP or BREP file.|a TopoShape}}
{{APIFunction|reverse| |Reverses the orientation of this shape.| }}
{{APIFunction/es|scale| |Aplica un escalado con un punto base y factor de escala a esta forma.|Una TopoShape}}
{{APIFunction/es|section|TopoShape|Sección de esta con una TopoShape dada.|Una TopoShape}}
{{APIFunction|revolve|Vector, Vector, float|Revolves the shape around a Axis to a given degree. ex: Part.revolve(Vector(0,0,0),Vector(0,0,1),360) revolves the shape around the Z Axis 360 degree.|a TopoShape}}
{{APIFunction/es|sewShape| |Cose la forma si existe un hueco.| }}
{{APIFunction|rotate|Vector<position>, Vector<direction>, float<angle>|Rotates this shape by angle degrees around an axis specified by position and direction. ex: Shp.rotate(Vector(0,0,0),Vector(0,0,1),180) rotate the shape around the Z Axis 180 degrees.| }}
{{APIFunction/es|tessellate|float|Tesela la forma y devuelve una lista de índices de vértices y caras. El valor numérico indicado es la tolerancia.|Una lista}}
{{APIFunction|scale|float<factor>, [Vector<centre>]|Uniformly scales this shape by factor. Optionally specify centre of scaling transformation.| }}
{{APIFunction/es|toNurbs| |Conversión de la geometría completa de una forma en geometría NURBS. Por ejemplo, todas las curvas soportando aristas de formas básicas se convierten en curvas BSpline, y todas las superficies soportando sus caras se convierten en superficies BSpline.|Una curva NURBS}}
{{APIFunction|section|TopoShape|Section of this with a given topo shape.|a TopoShape}}
{{APIFunction/es|transformGeometry|matrix|Aplica transformación geométrica a una copia de la forma. La transformación a ser aplicada se define como una matriz 4x4. La geometría subyacente de las siguientes formas puede cambiar a una curva que soporte una arista de la forma, o una superficie que soporte una cara de la forma. Por ejemplo, una circunferencia puede ser transformada en una elipse cuando se aplica una transformación de afinidad. También puede ocurrir que la circunferencia entonces se represente por una curva Bspline. La transformación es aplicada a todas las curvas que soportan aristas de la forma, y todas las superficies que soportan caras de la forma. Nota: Si quieres transformar una forma sin cambiar la geometría subyacente entonces utiliza el método o rotate.| Una TopoShape}}
{{APIFunction|sewShape| |Sews the shape if there is a gap.| }}
{{APIFunction/es|transformShape|matrix|Aplica transformación en una forma son cambiar la geometría subyacente.| }}
{{APIFunction|tessellate|float|Tessellate the the shape and return a list of vertices and face indices. The given float is the tolerance.|a list}}
{{APIFunction/es|translate|Vector|Aplica la traslación a la ubicación actual de esta forma.| }}
{{APIFunction|toNurbs| |Conversion of the complete geometry of a shape into NURBS geometry. For example, all curves supporting edges of the basis shape are converted into BSpline curves, and all surfaces supporting its faces are converted into BSpline surfaces.|a NURBS curve}}
{{APIFunction/es|writeInventor| |Escribe la malla en formato de OpenInventor en una cadena de texto.|Una cadena de texto}}
{{APIFunction|transformGeometry|matrix|Applies geometric transformation on a copy of the shape. The transformation to be applied is defined as a 4x4 matrix. The underlying geometry of the following shapes may change to a curve which supports an edge of the shape, or a surface which supports a face of the shape. For example, a circle may be transformed into an ellipse when applying an affinity transformation. It may also happen that the circle then is represented as a b-spline curve. The transformation is applied to all the curves which support edges of the shape, and all the surfaces which support faces of the shape. Note: If you want to transform a shape without changing the underlying geometry then use the methods translate or rotate.|a TopoShape}}
</div>
{{APIFunction|transformShape|matrix|Applies transformation on a shape without changing the underlying geometry.| }}
{{APIFunction|translate|Vector|Applies the translation to the current location of this shape.| }}
{{APIFunction|writeInventor| |Writes the mesh in OpenInventor format to a string.|a string}}


Some attributes and methods apply only to certain TopoShapes. These items apply to Edges (TopoShapeEdge).
Some attributes and methods apply only to certain TopoShapes. These items apply to Edges (TopoShapeEdge).
Line 86: Line 87:




{{Userdocnavi{{#translation:}}}}
[[Category:API/es]]
[[Category:API{{#translation:}}]]

[[Category:Poweruser Documentation{{#translation:}}]]
{{clear}}
{{clear}}
<languages/>

Latest revision as of 21:08, 27 February 2020

Other languages:
(November 2018) This information may be incomplete and outdated. For the latest API, see the autogenerated API documentation.

TopoShape es el objeto madre del módulo de pieza. Todos los tipos de formas (contornos, caras, sólidos, etc.) del módulo de pieza son TopoShapes, y comparten los siguientes atributos y métodos. Ejemplo:

import Part
sh = Part.makeBox(10,10,10)
print sh.Faces
for f in sh.Faces:
   print f.Edges
Area

Devuelve: El área total de las caras de la forma.


CompSolids

Devuelve: Lista las formas subsiguientes en esta forma.


Compounds

Devuelve: Lista los componentes en esta forma.


Edges

Devuelve: Lista las aristas en esta forma.


Faces

Devuelve: Lista las caras en esta forma.


Length

Devuelve: Longitud total de las aristas de la forma.


Orientation

Devuelve: La orientación de la forma.


ShapeType

Devuelve: El tipo de la forma.


Shells

Devuelve: Lista las subsiguientes formas en esta forma.


Solids

Devuelve: Lista las subsiguientes formas en esta forma.


Vertexes

Devuelve: Lista los vértices en esta forma.


Volume

Devuelve: Volumen total de los sólidos de la forma.


Wires

Devuelve: Lista de contornos en una forma.


BoundBox

Devuelve: La caja de abarque del objeto


Matrix

Devuelve: La transformación actual del objeto como una matriz


Placement

Devuelve: La transformación actual del objeto como una ubicación


getAllDerivedFrom ( )

Descripción: Devuelve todos los descendientes de este tipo de objeto

Devuelve: Una lista


isDerivedFrom ( string )

Descripción: Devuelve true si el tipo indicado es un padre

Devuelve: Un booleano


approximate ( )

Descripción: Aproxima un curva BSpline a partir de su contorno

Devuelve: Un objeto BSplineCurve


makeHomogenousWires ( wire )

Descripción: Crea este y el contorno dado homogéneos para tener el mismo número de aristas

Devuelve: Un contorno


makeOffset ( float )

Descripción: Equidista la forma una cantidad dada

Devuelve: Un TopoShape


CenterOfMass

Devuelve: El centro de masa del sistema actual. Si el campo gravitacional es uniforme, es el centro de gravedad. Las coordenadas devueltas para el centro de masas están expresadas en el sistema de coordenadas cartesiano absoluto.


check ( )

Descripción: Comprueba la forma e informa de errores en su estructura. Es una comprobación más detallada que en isValid().

Devuelve:


common ( TopoShape )

Descripción: Intersección de esta y una TopoShape dada.

Devuelve: Una TopoShape


complement ( )

Descripción: Calcula el complemento de la orientación de esta forma, por ejemplo invierte el estado de los límites exteriores / interiores de esta forma.

Devuelve: Una TopoShape


copy ( )

Descripción: Crea una copia de la forma

Devuelve: Una TopoShape


cut ( TopoShape )

Descripción: Resta de esta y la TopoShape dada.

Devuelve: Una TopoShape


exportBrep ( string )

Descripción: Exporta el contenido de esta forma a un archivo BREP. BREP es un formato nativo de CasCade.

Devuelve:


exportIges ( string )

Descripción: Exporta el contenido de esta forma a un archivo IGES.

Devuelve:


exportStep ( string )

Descripción: Exporta el contenido de esta forma a un archivo STEP.

Devuelve:


exportStl ( string )

Descripción: Exporta el contenido de esta forma a un archivo STL.

Devuelve:


extrude ( Vector )

Descripción: Extrusiona la forma a lo largo de una dirección.

Devuelve: Una TopoShape


fuse ( TopoShape )

Descripción: Union de esta y una TopoShape dada.

Devuelve: Una TopoShape


hashCode ( )

Descripción: Este valor es calculado a partir de la referencia y localización de la forma subyacente. La orientación no se tiene en cuenta.

Devuelve: Una cadena de texto


isClosed ( )

Descripción: Comprueba si la forma está cerrada.

Devuelve: Un booleano


isEqual ( TopoShape )

Descripción: Comprueba si ambas formas son iguales.

Devuelve: Un booleano


isNull ( )

Descripción: Comprueba si la la forma es nula (null).

Devuelve: Un booleano


isSame ( TopoShape )

Descripción: Comprueba si ambas formas comparten la misma geometría.

Devuelve: Un booleano


isValid ( )

Descripción: Comprueba si la forma es válida, por ejemplo no nula, no vacía, no corrupta.

Devuelve: Un booleano


makeFillet ( )

Descripción: Crea redondeo.

Devuelve:


makePipe ( wire )

Descripción: Crea un tubo barriendo a lo largo de un contorno.

Devuelve: Una TopoShape


makePipeShell ( wire )

Descripción: Crea un recubrimiento definido por perfiles a lo largo de un contorno.

Devuelve: Una TopoShape


makeShapeFromMesh ( mesh )

Descripción: Crea una forma compuesta a partir de los datos de la malla. Nota: Esto debería utilizarse sólo para algunas pequeñas mallas.

Devuelve: Una TopoShape


makeThickness ( list,float,float )

Descripción: Un sólido hueco es construido a partir del sólido inicial mediante un vaciado. El espesor del sólido se define en el momento de la construcción. Los argumentos que son pasados son una lista de caras a ignorar por la operación de vaciado, el espesor de las paredes y un valor de tolerancia.

Devuelve: Una TopoShape


nullify ( )

Descripción: Destruye la referencia a la forma subyacente almacenada en esta forma. Como resultado, esta forma se convierte en vacía.

Devuelve: {{{4}}}


project ( TopoShape )

Descripción: Proyecta una forma en esta forma

Devuelve: Una TopoShape


read ( string )

Descripción: Lee en un archivo IGES, STEP o BREP.

Devuelve: Una TopoShape


reverse ( )

Descripción: Invierte la orientación de esta forma.

Devuelve:


revolve ( Vector, Vector, float )

Descripción: Revoluciona la forma alrededor de un eje unos grados dados. Ejemplo: Part.revolve(Vector(0,0,0),Vector(0,0,1),360) revoluciona la forma alrededor del eje Z 360 grados.

Devuelve: Una TopoShape


rotate ( Vector, Vector, float )

Descripción: Aplica la rotación (grados) a la ubicación actual de esta forma. Ejemplo: Shp.rotate(Vector(0,0,0),Vector(0,0,1),180) rota la forma alrededor del eje Z 180 grados.

Devuelve: Una TopoShape


scale ( )

Descripción: Aplica un escalado con un punto base y factor de escala a esta forma.

Devuelve: Una TopoShape


section ( TopoShape )

Descripción: Sección de esta con una TopoShape dada.

Devuelve: Una TopoShape


sewShape ( )

Descripción: Cose la forma si existe un hueco.

Devuelve:


tessellate ( float )

Descripción: Tesela la forma y devuelve una lista de índices de vértices y caras. El valor numérico indicado es la tolerancia.

Devuelve: Una lista


toNurbs ( )

Descripción: Conversión de la geometría completa de una forma en geometría NURBS. Por ejemplo, todas las curvas soportando aristas de formas básicas se convierten en curvas BSpline, y todas las superficies soportando sus caras se convierten en superficies BSpline.

Devuelve: Una curva NURBS


transformGeometry ( matrix )

Descripción: Aplica transformación geométrica a una copia de la forma. La transformación a ser aplicada se define como una matriz 4x4. La geometría subyacente de las siguientes formas puede cambiar a una curva que soporte una arista de la forma, o una superficie que soporte una cara de la forma. Por ejemplo, una circunferencia puede ser transformada en una elipse cuando se aplica una transformación de afinidad. También puede ocurrir que la circunferencia entonces se represente por una curva Bspline. La transformación es aplicada a todas las curvas que soportan aristas de la forma, y todas las superficies que soportan caras de la forma. Nota: Si quieres transformar una forma sin cambiar la geometría subyacente entonces utiliza el método o rotate.

Devuelve: Una TopoShape


transformShape ( matrix )

Descripción: Aplica transformación en una forma son cambiar la geometría subyacente.

Devuelve:


translate ( Vector )

Descripción: Aplica la traslación a la ubicación actual de esta forma.

Devuelve:


writeInventor ( )

Descripción: Escribe la malla en formato de OpenInventor en una cadena de texto.

Devuelve: Una cadena de texto


Some attributes and methods apply only to certain TopoShapes. These items apply to Edges (TopoShapeEdge).


FirstParameter

Returns: The parameter value at one end of the Edge. Not necessarily at Vertex[0]. See Parametric Equations

LastParameter

Returns: The parameter value at the other end of the Edge. Not necessarily at Vertex[1].

getParameterByLength(Float)

Description: Maps the interval [0,Length] to the interval [FirstParameter,LastParameter]

Returns: Float

valueAt(Float)

Description: Returns the 3D vector corresponding to a parameter value.

Returns: Vector

parameterAt(Vertex,[Face])

Description: Returns the parameter value corresponding to a Vertex (3D point).

Returns: Float

tangentAt(Float)

Description: Returns the direction vector of the tangent to the edge at a parameter value (if it exists).

Returns: Vector

normalAt(Float)

Description: Returns the direction vector of the normal to the edge at a parameter value (if it exists uniquely).

Returns: Vector

curvatureAt(Float)

Description: Returns the curvature of the edge at a parameter value.

Returns: Float

centerOfCurvatureAt(Float)

Description: Returns the center (3D point) of the osculating circle at a parameter value.

Returns: Vector