Class: Geom::PolygonMesh

Inherits:
Object show all
Defined in:
lib/polygonmesh.rb

Constant Summary collapse

NO_SMOOTH_OR_HIDE =
0
HIDE_BASED_ON_INDEX =

(Negative point index will hide the edge.)

1
SOFTEN_BASED_ON_INDEX =

(Negative point index will soften the edge.)

2
AUTO_SOFTEN =

(Interior edges are softened.)

4
SMOOTH_SOFT_EDGES =

(All soft edges will also be smooth.)

8

Instance Method Summary collapse

Instance Method Details

#add_pointObject



10
11
# File 'lib/polygonmesh.rb', line 10

def add_point
end

#add_polygonObject



12
13
# File 'lib/polygonmesh.rb', line 12

def add_polygon
end

#count_pointsObject



14
15
# File 'lib/polygonmesh.rb', line 14

def count_points
end

#count_polygonsObject



16
17
# File 'lib/polygonmesh.rb', line 16

def count_polygons
end

#newObject



18
19
# File 'lib/polygonmesh.rb', line 18

def new
end

#normal_atObject



20
21
# File 'lib/polygonmesh.rb', line 20

def normal_at
end

#point_atObject



22
23
# File 'lib/polygonmesh.rb', line 22

def point_at
end

#point_indexObject



24
25
# File 'lib/polygonmesh.rb', line 24

def point_index
end

#pointsObject



26
27
# File 'lib/polygonmesh.rb', line 26

def points
end

#polygon_atObject



28
29
# File 'lib/polygonmesh.rb', line 28

def polygon_at
end

#polygon_points_atObject



30
31
# File 'lib/polygonmesh.rb', line 30

def polygon_points_at
end

#polygonsObject



32
33
# File 'lib/polygonmesh.rb', line 32

def polygons
end

#set_pointObject



34
35
# File 'lib/polygonmesh.rb', line 34

def set_point
end

#set_uv(index, uv, front) ⇒ Object

Parameters:

Since:

  • SketchUp 2014



42
43
# File 'lib/polygonmesh.rb', line 42

def set_uv(index, uv, front)
end

#transform!Object



45
46
# File 'lib/polygonmesh.rb', line 45

def transform!
end

#uv_at(index, front) ⇒ Geom::Point3d

Parameters:

  • index (Integer)
  • front (Boolean)

Returns:



52
53
# File 'lib/polygonmesh.rb', line 52

def uv_at(index, front)
end

#uvsObject



55
56
# File 'lib/polygonmesh.rb', line 55

def uvs
end