Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## toxi.geom.mesh.subdiv
Class MidpointSubdivision

    java.lang.Object
      toxi.geom.mesh.subdiv.SubdivisionStrategy
          toxi.geom.mesh.subdiv.MidpointSubdivision

    public class MidpointSubdivision

extends SubdivisionStrategy

This subdivision strategy simply splits an edge in two equal halves.

Field Summary

Fields inherited from class toxi.geom.mesh.subdiv.SubdivisionStrategy
`DEFAULT_ORDERING`

Constructor Summary
`MidpointSubdivision()`

Method Summary
`java.util.List<Vec3D>` | `computeSplitPoints(WingedEdge edge)` Computes a number of points on (or near) the given edge which are used for splitting the edge in smaller segments.

Methods inherited from class toxi.geom.mesh.subdiv.SubdivisionStrategy
`getEdgeOrdering, setEdgeOrdering`

Methods inherited from class java.lang.Object
`equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### MidpointSubdivision

    public MidpointSubdivision()

Method Detail

### computeSplitPoints

    public java.util.List<Vec3D> computeSplitPoints(WingedEdge edge)

  Description copied from class: `SubdivisionStrategy`
  Computes a number of points on (or near) the given edge which are used for splitting the edge in smaller segments.

  Specified by:
    `computeSplitPoints` in class `SubdivisionStrategy`
  Parameters:
    `edge` - edge to split
  Returns:
    list of split points

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD