Class: Sketchup::Face

Inherits:
Drawingelement show all
Defined in:
lib/face.rb

Constant Summary collapse

PointUnknown =
0
PointInside =
1
PointOnVertex =
2
PointOnEdge =
4
PointOnFace =
8
PointOutside =
16
PointNotOnPlane =
32

Instance Method Summary collapse

Methods inherited from Drawingelement

#bounds, #casts_shadows=, #casts_shadows?, #erase!, #hidden=, #hidden?, #layer, #layer=, #receives_shadows=, #receives_shadows?, #visible=, #visible?

Methods inherited from Entity

#add_observer, #attribute_dictionaries, #attribute_dictionary, #delete_attribute, #deleted?, #entityID, #get_attribute, #model, #parent, #remove_observer, #set_attribute, #to_s, #typename, #valid?

Instance Method Details

#all_connectedObject



27
28
# File 'lib/face.rb', line 27

def all_connected
end

#areaObject



29
30
# File 'lib/face.rb', line 29

def area
end

#back_materialObject



31
32
# File 'lib/face.rb', line 31

def back_material
end

#back_material=(material) ⇒ Object



33
34
# File 'lib/face.rb', line 33

def back_material=(material)
end

#classify_point(point) ⇒ Object



35
36
# File 'lib/face.rb', line 35

def classify_point(point)
end

#edgesObject



37
38
# File 'lib/face.rb', line 37

def edges
end

#followmeObject



39
40
# File 'lib/face.rb', line 39

def followme
end

#get_glued_instancesObject



43
44
# File 'lib/face.rb', line 43

def get_glued_instances
end

#get_texture_projection(use_front_side) ⇒ Vector3d

Parameters:

  • use_front_side (Boolean)

Returns:

  • (Vector3d)

Since:

  • SketchUp 2014



15
16
# File 'lib/face.rb', line 15

def get_texture_projection(use_front_side)
end

#get_UVHelperObject



41
42
# File 'lib/face.rb', line 41

def get_UVHelper
end

#loopsObject



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

def loops
end

#materialObject



47
48
# File 'lib/face.rb', line 47

def material
end

#material=Object



49
50
# File 'lib/face.rb', line 49

def material=
end

#mesh(flags = Geom::PolygonMesh::PolygonMeshPoints) ⇒ Geom::PolygonMesh

Returns:



53
54
# File 'lib/face.rb', line 53

def mesh(flags = Geom::PolygonMesh::PolygonMeshPoints)
end

#normalObject



56
57
# File 'lib/face.rb', line 56

def normal
end

#outer_loopObject



58
59
# File 'lib/face.rb', line 58

def outer_loop
end

#planeObject



60
61
# File 'lib/face.rb', line 60

def plane
end

#position_material(material, mapping, front) ⇒ Object

Parameters:



66
67
# File 'lib/face.rb', line 66

def position_material(material, mapping, front)
end

#pushpullObject



68
69
# File 'lib/face.rb', line 68

def pushpull
end

#reverse!Object



70
71
# File 'lib/face.rb', line 70

def reverse!
end

#set_texture_projection(vector, use_front_side) ⇒ Object

Returns true or false.

Parameters:

  • vector (Vector3d)
  • use_front_side (Boolean)

Returns:

  • true or false

Since:

  • SketchUp 2014



23
24
# File 'lib/face.rb', line 23

def set_texture_projection(vector, use_front_side)
end

#verticesObject



72
73
# File 'lib/face.rb', line 72

def vertices
end