Options
All
  • Public
  • Public/Protected
  • All
Menu
Logo of bit by bit developers

Class OCCTFace

Hierarchy

  • OCCTFace

Index

Constructors

constructor

  • new OCCTFace(occWorkerManager: OCCTWorkerManager): OCCTFace
  • Parameters

    • occWorkerManager: OCCTWorkerManager

    Returns OCCTFace

Methods

createCircleFace

  • Creates OpenCascade circle face

    group

    primitives

    shortname

    circle

    drawable

    true

    Parameters

    Returns Promise<TopoDSFacePointer>

    OpenCascade circle face

createEllipseFace

  • Creates OpenCascade ellipse face

    group

    primitives

    shortname

    ellipse

    drawable

    true

    Parameters

    Returns Promise<TopoDSFacePointer>

    OpenCascade ellipse face

createFaceFromWire

  • Creates a face from wire

    group

    from

    shortname

    face from wire

    drawable

    true

    Parameters

    Returns Promise<TopoDSFacePointer>

    OpenCascade face shape

createFaceFromWires

  • Creates a face from wires. This can produce hollow faces.

    group

    from

    shortname

    face from wires

    drawable

    true

    Parameters

    Returns Promise<TopoDSFacePointer>

    OpenCascade face shape

createFacesFromWires

  • Creates faces from wires

    group

    from

    shortname

    faces from wires

    drawable

    true

    Parameters

    Returns Promise<TopoDSFacePointer[]>

    OpenCascade face shape

createPolygonFace

  • Creates OpenCascade Polygon face

    group

    primitives

    shortname

    polygon

    drawable

    true

    Parameters

    Returns Promise<TopoDSFacePointer>

    OpenCascade polygon face

createRectangleFace

  • Creates OpenCascade rectangle face

    group

    primitives

    shortname

    rectangle

    drawable

    true

    Parameters

    Returns Promise<TopoDSFacePointer>

    OpenCascade rectangle

createSquareFace

  • Creates OpenCascade square face

    group

    primitives

    shortname

    square

    drawable

    true

    Parameters

    Returns Promise<TopoDSFacePointer>

    OpenCascade square face

faceFromSurface

  • Creates a face from the surface

    group

    from

    shortname

    surface

    drawable

    true

    Parameters

    Returns Promise<TopoDSFacePointer>

    OpenCascade surface

faceFromSurfaceAndWire

filterFacePoints

  • Filters points on face

    group

    filter

    shortname

    filter face points

    drawable

    true

    Parameters

    Returns Promise<Point3[]>

    filtered points

getFace

getFaceArea

  • Get the area of the face

    group

    get

    shortname

    face area

    drawable

    false

    Parameters

    Returns Promise<number>

    area

getFaceCenterOfMass

  • Get the face center of mass point

    group

    get

    shortname

    center of mass

    drawable

    true

    Parameters

    Returns Promise<Point3>

    point

getFaces

  • Gets the faces of the shape in a list

    group

    get

    shortname

    faces

    drawable

    true

    Parameters

    Returns Promise<TopoDSFacePointer[]>

    OpenCascade faces array

getFacesAreas

  • Get the areas of the faces

    group

    get

    shortname

    areas of faces

    drawable

    false

    Parameters

    Returns Promise<number[]>

    areas

getFacesCentersOfMass

  • Get the center of mass points for faces

    group

    get

    shortname

    centers of mass

    drawable

    true

    Parameters

    Returns Promise<Point3[]>

    points

getUMaxBound

  • Gets the U max bound of the face

    group

    get

    shortname

    u max

    drawable

    false

    Parameters

    Returns Promise<number>

    u max bound

getUMinBound

  • Gets the U min bound of the face

    group

    get

    shortname

    u min

    drawable

    false

    Parameters

    Returns Promise<number>

    u min bound

getVMaxBound

  • Gets the V max bound of the face

    group

    get

    shortname

    v max

    drawable

    false

    Parameters

    Returns Promise<number>

    v max bound

getVMinBound

  • Gets the V min bound of the face

    group

    get

    shortname

    v min

    drawable

    false

    Parameters

    Returns Promise<number>

    v min bound

normalOnUV

  • Get normal on UV where U and V are described between 0 and 1. These will be mapped to real bounds.

    group

    extract

    shortname

    normal on uv

    drawable

    true

    Parameters

    Returns Promise<Vector3>

    normal vector

normalsOnUVs

  • Get normals on UVs where U and V are described between 0 and 1 in two dimensional arrays. These will be mapped to real bounds.

    group

    extract

    shortname

    normals on uvs

    drawable

    true

    Parameters

    Returns Promise<Vector3[]>

    normals

pointOnUV

  • Get point on UV where U and V are described between 0 and 1. These will be mapped to real bounds.

    group

    extract

    shortname

    point on uv

    drawable

    true

    Parameters

    Returns Promise<Point3>

    point

pointsOnUVs

  • Get points on UVs where U and V are described between 0 and 1 in two dimensional arrays. These will be mapped to real bounds.

    group

    extract

    shortname

    points on uvs

    drawable

    true

    Parameters

    Returns Promise<Point3[]>

    points

reversedFace

  • Computes reversed face from input face

    group

    get

    shortname

    reversed

    drawable

    true

    Parameters

    Returns Promise<TopoDSFacePointer>

    OpenCascade face

subdivideToNormals

  • Subdivides a face to normals grid

    group

    extract

    shortname

    normals

    drawable

    true

    Parameters

    Returns Promise<Vector3[]>

    normal vectors

subdivideToPoints

  • Subdivides a face to point grid

    group

    extract

    shortname

    points

    drawable

    true

    Parameters

    Returns Promise<Point3[]>

    points

subdivideToPointsControlled

  • Subdivides a face to point grid with shifts and removals on nth uv rows or columns

    group

    extract

    shortname

    points nth

    drawable

    true

    Parameters

    Returns Promise<Point3[]>

    points

subdivideToPointsOnParam

  • Subdivides a face to points along a line on parameter

    group

    extract

    shortname

    points on param

    drawable

    true

    Parameters

    Returns Promise<Point3[]>

    points

subdivideToUV

  • Subdivides a face to uv grid

    group

    extract

    shortname

    uvs

    drawable

    true

    Parameters

    Returns Promise<Point2[]>

    uv params in array

Generated using TypeDoc