ReversedTrimmedSurface#

class ansys.geometry.core.shapes.surfaces.trimmed_surface.ReversedTrimmedSurface(geometry: ansys.geometry.core.shapes.surfaces.surface.Surface, box_uv: ansys.geometry.core.shapes.box_uv.BoxUV)#

Bases: TrimmedSurface

Represents a reversed trimmed surface.

When a surface is reversed, its normal vector is negated to provide the proper outward facing vector.

Parameters:
faceFace

Face that the trimmed surface belongs to.

geometrySurface

Underlying mathematical representation of the surface.

Overview#

normal

Provide the normal to the surface.

project_point

Project a point onto the surface and evaluate it at that location.

Import detail#

from ansys.geometry.core.shapes.surfaces.trimmed_surface import ReversedTrimmedSurface

Method detail#

ReversedTrimmedSurface.normal(u: ansys.geometry.core.typing.Real, v: ansys.geometry.core.typing.Real) ansys.geometry.core.math.vector.UnitVector3D#

Provide the normal to the surface.

Parameters:
uReal

First coordinate of the 2D representation of a surface in UV space.

vReal

Second coordinate of the 2D representation of a surface in UV space.

Returns:
UnitVector3D

Unit vector is normal to the surface at the given UV coordinates.

ReversedTrimmedSurface.project_point(point: ansys.geometry.core.math.point.Point3D) ansys.geometry.core.shapes.surfaces.surface_evaluation.SurfaceEvaluation#

Project a point onto the surface and evaluate it at that location.

Parameters:
pointPoint3D

Point to project onto the surface.

Returns:
SurfaceEvaluation

Resulting evaluation.